mirror of
https://github.com/pagefaultgames/pokerogue.git
synced 2025-08-23 15:59:26 +02:00
[GitHub] Add token output to workflow (#6318)
Add token output to workflow
This commit is contained in:
parent
6311ba1f51
commit
2664700eb1
6
.github/workflows/create-release.yml
vendored
6
.github/workflows/create-release.yml
vendored
@ -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.
|
||||
|
Loading…
Reference in New Issue
Block a user