-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Rearrange Github app token step and use app token for check steps
- Loading branch information
1 parent
58979d7
commit e7ed705
Showing
1 changed file
with
8 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -13,18 +13,18 @@ jobs: | |
outputs: | ||
matrix: ${{ steps.list.outputs.value }} | ||
steps: | ||
- name: 'Check out devops repo' | ||
uses: actions/[email protected] | ||
- id: list | ||
name: 'List automerge repos' | ||
run: echo "value=$(cat test/automerge.json | tr -d '\n')" >> $GITHUB_OUTPUT | ||
- name: 'Generate GitHub App Token' | ||
id: automerge_token | ||
uses: actions/[email protected] | ||
with: | ||
app_id: ${{ secrets.AUTOMERGE_APP_ID }} | ||
private_key: ${{ secrets.AUTOMERGE_APP_PRIVATE_KEY }} | ||
|
||
- name: 'Check out devops repo' | ||
uses: actions/[email protected] | ||
- id: list | ||
name: 'List automerge repos' | ||
run: echo "value=$(cat test/automerge.json | tr -d '\n')" >> $GITHUB_OUTPUT | ||
|
||
automerge-test: | ||
name: 'Automerge' | ||
runs-on: [ubuntu-latest] | ||
|
@@ -35,6 +35,8 @@ jobs: | |
value: ${{fromJson(needs.list.outputs.matrix)}} | ||
steps: | ||
- name: 'Check Automerge Repo to Test' | ||
env: | ||
GITHUB_TOKEN: ${{ needs.list.outputs.token }} | ||
uses: actions/checkout@v4 | ||
|
||
- name: 'Automerge runtimeverification/${{ matrix.value }}' | ||
|