Skip to content

Commit 66767e6

Browse files
dlabajcursoragent
andauthored
fix(CI): unblock Release workflow documentation job on main pushes (#12511)
* fix(CI): unblock Release workflow documentation job on main pushes Skip the PR-only team membership check for workflow_call runs and allow the deploy job to proceed when that dependency is skipped, so Release can deploy to NPM again. Co-authored-by: Cursor <cursoragent@cursor.com> * fix: updated with review comments. * Update .github/workflows/documentation.yml --------- Co-authored-by: Cursor <cursoragent@cursor.com>
1 parent 4b4fbf7 commit 66767e6

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

.github/workflows/documentation.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,10 @@ jobs:
2020
name: Build, test & deploy
2121
runs-on: ubuntu-latest
2222
needs: check-permissions
23-
if: github.event_name == 'workflow_call' || needs.check-permissions.outputs.allowed == 'true'
23+
if: >-
24+
always() &&
25+
!cancelled() &&
26+
(github.event_name == 'workflow_call' || needs.check-permissions.outputs.allowed == 'true')
2427
env:
2528
SURGE_LOGIN: ${{ secrets.SURGE_LOGIN }}
2629
SURGE_TOKEN: ${{ secrets.SURGE_TOKEN }}
@@ -38,7 +41,6 @@ jobs:
3841
- name: Check out project
3942
if: github.event_name == 'workflow_call'
4043
uses: actions/checkout@v4
41-
4244
- name: Set up and build project
4345
uses: ./.github/actions/setup-project
4446

0 commit comments

Comments
 (0)