Skip to content

Commit

Permalink
References to token were mixed up between jobs and steps outside orig…
Browse files Browse the repository at this point in the history
…inating job
  • Loading branch information
F-WRunTime committed Dec 3, 2024
1 parent 2764b42 commit eddef9d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ jobs:
runs-on: [ubuntu-latest]
outputs:
matrix: ${{ steps.list.outputs.value }}
token: ${{ steps.automerge_token.outputs.token }}
steps:
- name: 'Generate GitHub App Token'
id: automerge_token
Expand All @@ -21,7 +22,7 @@ jobs:
private_key: ${{ secrets.AUTOMERGE_APP_PRIVATE_KEY }}
- name: 'Check out devops repo'
env:
token: ${{ needs.list.outputs.token }}
token: ${{ steps.automerge_token.outputs.token }}
uses: actions/[email protected]
- id: list
name: 'List automerge repos'
Expand Down

0 comments on commit eddef9d

Please sign in to comment.