[Bug]: When migrating project between two organizations, prompt authentication does not work, use PAT tokens #341
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
name: 'Label Actions' | |
on: | |
issues: | |
types: [labeled] | |
discussion: | |
types: [labeled] | |
pull_request_target: | |
types: [labeled, unlabeled] | |
permissions: | |
contents: read | |
issues: write | |
discussions: write | |
jobs: | |
reaction: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/create-github-app-token@v1 | |
id: app-token | |
with: | |
app-id: ${{ secrets.NKDAGILITY_BOT_APP_ID }} | |
private-key: ${{ secrets.NKDAGILITY_BOT_CLIENTSECRET }} | |
- uses: dessant/label-actions@v4 | |
with: | |
github-token: ${{ steps.app-token.outputs.token }} |