Skip to content

Commit

Permalink
generate token for labeler
Browse files Browse the repository at this point in the history
  • Loading branch information
harryob committed Sep 9, 2024
1 parent f9b1803 commit 3ffd6a2
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .github/workflows/labeler.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,14 @@ jobs:
unset SECRET_EXISTS
if [ -n "$ENABLER_SECRET" ]; then SECRET_EXISTS=true ; fi
echo "ACTIONS_ENABLED=$SECRET_EXISTS" >> $GITHUB_OUTPUT
- name: Generate App Token
id: app-token-generation
uses: actions/create-github-app-token@v1
with:
app-id: ${{ secrets.APP_ID }}
private-key: ${{ secrets.APP_PRIVATE_KEY }}

- name: Get The Script
if: steps.value_holder.outputs.ACTIONS_ENABLED
run: |
Expand Down

0 comments on commit 3ffd6a2

Please sign in to comment.