File tree Expand file tree Collapse file tree 1 file changed +2
-10
lines changed
Expand file tree Collapse file tree 1 file changed +2
-10
lines changed Original file line number Diff line number Diff line change 1616 outputs :
1717 ts_modified : ${{ steps.check-files.outputs.ts_modified }}
1818 steps :
19- - name : Checkout repository
19+ - name : Checkout PR branch
2020 uses : actions/checkout@v4
2121 with :
2222 ref : ${{ github.event.pull_request.head.ref }}
@@ -67,19 +67,11 @@ jobs:
6767 build :
6868 name : Build
6969 needs : update-indices
70- if : always() && (needs.update-indices.outputs.has_changes == 'false ' || needs.update-indices.result == 'skipped ')
70+ if : always() && (needs.update-indices.result == 'skipped ' || needs.update-indices.outputs.has_changes == 'false ')
7171 runs-on : ubuntu-latest
7272 steps :
7373 - name : Checkout repository
74- if : github.event_name != 'pull_request'
75- uses : actions/checkout@v4
76-
77- - name : Checkout PR branch
78- if : github.event_name == 'pull_request'
7974 uses : actions/checkout@v4
80- with :
81- ref : ${{ github.event.pull_request.head.ref }}
82- token : ${{ secrets.BOT_GH_TOKEN }}
8375
8476 - name : Setup Node.js
8577 uses : actions/setup-node@v4
You can’t perform that action at this time.
0 commit comments