Skip to content

Commit

Permalink
fix(cicd): add gh token to PR labeler
Browse files Browse the repository at this point in the history
  • Loading branch information
fty4 committed Aug 14, 2022
1 parent 6282841 commit 96f46af
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/commits.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,4 +18,6 @@ jobs:

- name: label PR with version type
if: github.event_name == 'pull_request' && github.event.action == 'opened'
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: gh pr edit ${{ github.event.number }} --add-label "${{ steps.cc.outputs.version_type }}"

0 comments on commit 96f46af

Please sign in to comment.