Skip to content

Commit 4408ae8

Browse files
christinewangcwtkucar
authored andcommitted
fix: wait for checks semantic release (#395)
1 parent 029fcfa commit 4408ae8

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

.github/workflows/auto-release.yml

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,19 +13,25 @@ jobs:
1313
name: Release
1414
runs-on: ubuntu-latest
1515
permissions:
16+
checks: read # to wait for required checks
1617
contents: write # to be able to publish a GitHub release
1718
issues: write # to be able to comment on released issues
1819
pull-requests: write # to be able to comment on released pull requests
19-
id-token: write # to enable use of OIDC for npm provenance
2020
steps:
2121
- uses: actions/checkout@v4
2222
with:
2323
fetch-depth: 0
2424

25-
# TODO: clean-up once we remove LFS
25+
# TODO(CG-10743): clean-up once we remove LFS
2626
- name: Remove pre-push hook
2727
run: rm -f .git/hooks/pre-push
2828

29+
- name: Wait for required checks
30+
uses: poseidon/[email protected]
31+
with:
32+
token: ${{ secrets.GITHUB_TOKEN }}
33+
match_pattern: "(unit-tests|integration-tests)"
34+
2935
- uses: codfish/semantic-release-action@v3
3036
id: semantic
3137
env:

0 commit comments

Comments
 (0)