diff --git a/.github/workflows/pendulum.yml b/.github/workflows/pendulum.yml index ce3bf33..1d690a3 100644 --- a/.github/workflows/pendulum.yml +++ b/.github/workflows/pendulum.yml @@ -85,7 +85,7 @@ jobs: wake_at: "${{ steps.f.outputs.wake_at }}" wake_kind: "${{ steps.f.outputs.wake_kind }}" steps: - - uses: clockgrove/pendulum@ee70825a00b708cba31ef4926620a35fad1b5c04 + - uses: clockgrove/pendulum@756e7955eda48e4485ad0e14aaee3229008d1b8e id: f with: { mode: dispatch, issue: "${{ inputs.issue }}", app_id: "${{ secrets.PENDULUM_APP_ID }}", app_private_key: "${{ secrets.PENDULUM_APP_PRIVATE_KEY }}", vars: "${{ toJSON(vars) }}" } queue-watch: @@ -105,7 +105,7 @@ jobs: permissions: { contents: read, actions: write } # actions: write only for the dispatcher tick concurrency: { group: pendulum-queue-watch, cancel-in-progress: false } steps: - - uses: clockgrove/pendulum@ee70825a00b708cba31ef4926620a35fad1b5c04 + - uses: clockgrove/pendulum@756e7955eda48e4485ad0e14aaee3229008d1b8e id: w with: { mode: watch, pr: "${{ needs.dispatch.outputs.queue_watch }}", app_id: "${{ secrets.PENDULUM_APP_ID }}", app_private_key: "${{ secrets.PENDULUM_APP_PRIVATE_KEY }}", vars: "${{ toJSON(vars) }}" } - name: Dispatch tick (a watched PR left the queue or stalled there, or the watch's time is up) @@ -152,13 +152,13 @@ jobs: permissions: { contents: read, issues: write, actions: write } # actions: write for the tick at the end, triage's rerun of failed CI jobs and cross-OS CI's dispatch concurrency: { group: "pendulum-${{ matrix.issue }}", cancel-in-progress: false } # one job per issue; a repeat waits, siblings keep running steps: - - uses: clockgrove/pendulum@ee70825a00b708cba31ef4926620a35fad1b5c04 + - uses: clockgrove/pendulum@756e7955eda48e4485ad0e14aaee3229008d1b8e id: account # several accounts (PENDULUM_ACCOUNTS): the one this stage runs on, so the step below gets only its secrets if: env.PENDULUM_ACCOUNTS != '' with: { mode: account, rendered_accounts: "", issue: "${{ matrix.issue }}", harness: "${{ inputs.harness }}", app_id: "${{ secrets.PENDULUM_APP_ID }}", app_private_key: "${{ secrets.PENDULUM_APP_PRIVATE_KEY }}", vars: "${{ toJSON(vars) }}" } - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 with: { fetch-depth: 0, persist-credentials: false } - - uses: clockgrove/pendulum@ee70825a00b708cba31ef4926620a35fad1b5c04 + - uses: clockgrove/pendulum@756e7955eda48e4485ad0e14aaee3229008d1b8e id: f with: vars: ${{ toJSON(vars) }} # the repository's variables: each PENDULUM_ one sets that setting over the env block (docs/INSTALL.md, Settings in layers) @@ -193,13 +193,13 @@ jobs: permissions: { contents: read, issues: write, actions: write } # actions: write here, for the tick below and triage's rerun of failed CI jobs concurrency: { group: "pendulum-review-${{ github.event.pull_request.number }}", cancel-in-progress: false } steps: - - uses: clockgrove/pendulum@ee70825a00b708cba31ef4926620a35fad1b5c04 + - uses: clockgrove/pendulum@756e7955eda48e4485ad0e14aaee3229008d1b8e id: account # several accounts (PENDULUM_ACCOUNTS): the one this stage runs on, so the step below gets only its secrets if: env.PENDULUM_ACCOUNTS != '' with: { mode: account, rendered_accounts: "", harness: "${{ inputs.harness }}", app_id: "${{ secrets.PENDULUM_APP_ID }}", app_private_key: "${{ secrets.PENDULUM_APP_PRIVATE_KEY }}", vars: "${{ toJSON(vars) }}" } - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 with: { fetch-depth: 0, persist-credentials: false } - - uses: clockgrove/pendulum@ee70825a00b708cba31ef4926620a35fad1b5c04 + - uses: clockgrove/pendulum@756e7955eda48e4485ad0e14aaee3229008d1b8e id: f with: vars: ${{ toJSON(vars) }}