File tree Expand file tree Collapse file tree 1 file changed +8
-2
lines changed Expand file tree Collapse file tree 1 file changed +8
-2
lines changed Original file line number Diff line number Diff line change 1414 # At 2:30 on Sundays
1515 - cron : ' 30 2 * * 0'
1616
17+ permissions :
18+ contents : read
19+
1720jobs :
1821 build :
1922 runs-on : ubuntu-latest
2730
2831 steps :
2932 - name : Checkout
33+ id : checkout
3034 uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
3135 with :
36+ persist-credentials : false
3237 ref : ${{ matrix.branches }}
38+ continue-on-error : true
3339
3440 - name : Read package.json node and npm engines version
3541 uses : skjnldsv/read-package-engines-version-actions@06d6baf7d8f41934ab630e97d9e6c0bc9c9ac5e4 # v3
@@ -51,15 +57,15 @@ jobs:
5157 uses : nextcloud-libraries/npm-audit-action@1b1728b2b4a7a78d69de65608efcf4db0e3e42d0 # v0.2.0
5258
5359 - name : Run npm ci and npm run build
54- if : always()
60+ if : steps.checkout.outcome == 'success'
5561 env :
5662 CYPRESS_INSTALL_BINARY : 0
5763 run : |
5864 npm ci
5965 npm run build --if-present
6066
6167 - name : Create Pull Request
62- if : always()
68+ if : steps.checkout.outcome == 'success'
6369 uses : peter-evans/create-pull-request@271a8d0340265f705b14b6d32b9829c1cb33d45e # v7.0.8
6470 with :
6571 token : ${{ secrets.COMMAND_BOT_PAT }}
You can’t perform that action at this time.
0 commit comments