[GitHub] Add token output to workflow (#6318)

Add token output to workflow
This commit is contained in:
Sirz Benjie 2025-08-20 22:40:24 -05:00 committed by GitHub
parent 6311ba1f51
commit 2664700eb1
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -36,12 +36,18 @@ jobs:
exit 1
fi
shell: bash
- uses: actions/create-github-app-token@v2
id: app-token
with:
app-id: ${{ secrets.PAGEFAULT_APP_ID }}
private-key: ${{ secrets.PAGEFAULT_APP_PRIVATE_KEY }}
- name: Check out code
uses: actions/checkout@v4
with:
submodules: "recursive"
# Always base off of beta branch, regardless of the branch the workflow was triggered from.
ref: beta
token: ${{ steps.app-token.outputs.token }}
- name: Create release branch
run: git checkout -b release
# In order to be able to open a PR into beta, we need the branch to have at least one change.