generated from hashicorp/terraform-provider-scaffolding-framework
-
Notifications
You must be signed in to change notification settings - Fork 0
35 lines (30 loc) · 855 Bytes
/
changie.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
name: Changelog
on:
pull_request:
branches:
- main
paths:
- .changes/unreleased/*.yaml
- .changie.yaml
- .github/workflows/changie.yml
- CHANGELOG.md
permissions:
contents: read
jobs:
check:
name: Ensure no diff
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- name: Batch changes
continue-on-error: true
uses: miniscruff/changie-action@6dcc2533cac0495148ed4046c438487e4dceaa23 # v2.0.0
with:
version: latest
args: batch auto
- name: Ensure no diff
# language=bash
run: |
git diff --compact-summary --exit-code || \
(echo "*** Unexpected diff after code generation. Run 'make generate-docs' and commit."; exit 1)