Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 14 additions & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,21 @@ jobs:
# Only run if a PR was successfully merged into the main branch
if: github.event_name == 'push' || (github.event_name == 'pull_request' && github.event.action == 'closed' && github.event.pull_request.merged == true)
needs: [ build-and-test ] # Ensures build-and-test passed on the merge commit

steps:
# 1. Generate a temporary token from your new GitHub App
- name: Generate GitHub App Token
id: generate_token
uses: actions/create-github-app-token@v1
with:
app-id: ${{ secrets.APP_ID }}
private-key: ${{ secrets.APP_PRIVATE_KEY }}
# 2. Check out the code using the App's token
- name: Full Checkout for Release Process
uses: actions/checkout@v6
with:
fetch-depth: 0
ref: 'main'
token: ${{ steps.generate_token.outputs.token }}
- name: Full Checkout for Release Process
uses: actions/checkout@v4
with:
Expand Down
Loading