Skip to content

Commit

Permalink
Rename GITHUB_TOKEN as it's a reserved name (#54)
Browse files Browse the repository at this point in the history
  • Loading branch information
goncalo-rodrigues authored Jan 27, 2025
1 parent fc56d2d commit c96ffbb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/tag.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ on:
required: false
type: string
secrets:
GITHUB_TOKEN:
GH_TOKEN:
description: "github token to use for tag creation"
required: false

Expand All @@ -32,7 +32,7 @@ jobs:
- name: Create tags
uses: actions/github-script@v7
with:
github-token: ${{ secrets.GITHUB_TOKEN || github.token }}
github-token: ${{ secrets.GH_TOKEN || github.token }}
script: |
github.rest.git.createRef({
owner: context.repo.owner,
Expand Down

0 comments on commit c96ffbb

Please # to comment.