Skip to content

Commit 818b927

Browse files
authored
ci: release please config sync check job (googleapis#8526)
1 parent c2e4179 commit 818b927

1 file changed

Lines changed: 13 additions & 6 deletions

File tree

.github/workflows/generated_files_sync.yaml

Lines changed: 13 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -21,18 +21,27 @@ on:
2121
name: Generated Files Sync
2222
jobs:
2323
root-pom:
24-
name: Ensure root pom.xml does not have diff from generated one
24+
name: root pom.xml does not have diff from generated one
2525
runs-on: ubuntu-latest
2626
steps:
2727
- uses: actions/checkout@v3
2828
- name: Generate root pom.xml file
2929
run: |
30-
sh generation/print_root_pom.sh > pom.xml
30+
bash generation/print_root_pom.sh > pom.xml
31+
- name: Fail if there's any difference
32+
run: git --no-pager diff --exit-code
33+
release-please-config:
34+
name: Release Please config files do not have diff from generated ones
35+
runs-on: ubuntu-latest
36+
steps:
37+
- uses: actions/checkout@v3
38+
- name: Generate .release-please-manifest.json and release-please-config.json
39+
run: |
40+
bash generation/generate_release_please_config.sh
3141
- name: Fail if there's any difference
3242
run: git --no-pager diff --exit-code
33-
3443
gapic-bom:
35-
name: gapic-bom does not have diff from generated one
44+
name: google-cloud-gapic-bom does not have diff from generated one
3645
runs-on: ubuntu-latest
3746
steps:
3847
- uses: actions/checkout@v3
@@ -41,5 +50,3 @@ jobs:
4150
bash generation/generate_gapic_bom.sh
4251
- name: Fail if there's any difference
4352
run: git --no-pager diff --exit-code
44-
45-

0 commit comments

Comments
 (0)