Skip to content

Commit bd99e21

Browse files
committed
Update release.yaml
1 parent 6e84e9d commit bd99e21

File tree

2 files changed

+13
-3
lines changed

2 files changed

+13
-3
lines changed

.github/workflows/check.yaml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@ on:
99
push:
1010
branches:
1111
- master
12-
- 'fix/ci' # TODO remove this branch after CI is fixed
1312
tags-ignore:
1413
- "**" # Ignore all tags to prevent duplicate builds when tags are pushed.
1514

.github/workflows/release.yaml

Lines changed: 13 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,8 +43,19 @@ jobs:
4343
custom_version: ${{ inputs.custom_version }}
4444
existing_changelog_path: CHANGELOG.md
4545

46+
wait_for_checks:
47+
name: Wait for code checks to pass
48+
runs-on: ubuntu-latest
49+
steps:
50+
- uses: lewagon/[email protected]
51+
with:
52+
ref: ${{ github.ref }}
53+
repo-token: ${{ secrets.GITHUB_TOKEN }}
54+
check-name: 'Lint'
55+
wait-interval: 5
56+
4657
update_changelog:
47-
needs: [ release_metadata ]
58+
needs: [ release_metadata, wait_for_checks ]
4859
name: Update changelog
4960
runs-on: ubuntu-latest
5061
outputs:
@@ -81,7 +92,7 @@ jobs:
8192

8293
create_github_release:
8394
name: Create github release
84-
needs: [release_metadata, update_changelog]
95+
needs: [ update_changelog ]
8596
runs-on: ubuntu-latest
8697
env:
8798
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)