|
7 | 7 | description: 'Who triggered this build?' |
8 | 8 | required: true |
9 | 9 | default: 'Maintainer (via GitHub)' |
10 | | - skip-restore: |
11 | | - description: 'Force lockfile update?' |
| 10 | + force-renv-init: |
| 11 | + description: 'Force full lockfile update?' |
12 | 12 | required: false |
13 | 13 | default: false |
14 | 14 | type: boolean |
|
27 | 27 | - cron: '0 0 * * 2' |
28 | 28 |
|
29 | 29 | env: |
30 | | - LOCKFILE_CACHE_GEN: ${{ github.event.inputs.generate-cache || 'false' }} |
31 | | - SKIP_RENV_RESTORE: ${{ github.event.inputs.skip-restore || 'false' }} |
32 | | - UPDATE_PACKAGES: ${{ github.event.inputs.update-packages || 'true' }} |
| 30 | + LOCKFILE_CACHE_GEN: ${{ vars.LOCKFILE_CACHE_GEN || github.event.inputs.generate-cache || 'false' }} |
| 31 | + FORCE_RENV_INIT: ${{ vars.FORCE_RENV_INIT || github.event.inputs.force-renv-init || 'false' }} |
| 32 | + UPDATE_PACKAGES: ${{ vars.UPDATE_PACKAGES || github.event.inputs.update-packages || 'true' }} |
33 | 33 |
|
34 | 34 | jobs: |
35 | 35 | preflight: |
@@ -100,10 +100,10 @@ jobs: |
100 | 100 |
|
101 | 101 | - name: "Update {renv} deps and determine if a PR is needed" |
102 | 102 | id: update |
103 | | - uses: carpentries/actions/update-lockfile@main |
| 103 | + uses: carpentries/actions/update-lockfile@frog-s3-test-1 |
104 | 104 | with: |
105 | 105 | update: ${{ env.UPDATE_PACKAGES }} |
106 | | - skip-restore: ${{ env.SKIP_RENV_RESTORE }} |
| 106 | + force-renv-init: ${{ env.FORCE_RENV_INIT }} |
107 | 107 | generate-cache: ${{ env.LOCKFILE_CACHE_GEN }} |
108 | 108 | cache-version: ${{ secrets.CACHE_VERSION }} |
109 | 109 |
|
@@ -207,7 +207,7 @@ jobs: |
207 | 207 | - name: "Trigger checks" |
208 | 208 | if: | |
209 | 209 | steps.cpr.outputs.pull-request-number != '' && |
210 | | - steps.validate-token.outputs.wf != 'true' |
| 210 | + steps.validate-org-workflow.outputs.is_valid != 'true' |
211 | 211 | run: | |
212 | 212 | gh workflow run docker_pr_receive.yaml --field pr_number=${{ steps.cpr.outputs.pull-request-number }} |
213 | 213 | shell: bash |
0 commit comments