Skip to content

Commit

Permalink
Revert "Use ${{github.token}} as default" (mathieudutour#167)
Browse files Browse the repository at this point in the history
  • Loading branch information
mathieudutour authored Feb 6, 2023
1 parent 5bd9038 commit 86301c8
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@ jobs:
- name: Bump version and push tag
id: tag_version
uses: mathieudutour/[email protected]
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
- name: Create a GitHub release
uses: ncipollo/release-action@v1
with:
Expand All @@ -28,7 +30,7 @@ jobs:
### 📥 Inputs
- **github_token** _(optional)_ - GitHub token for permission to tag the repo (default: `${{github.token}}`).
- **github_token** _(required)_ - Required for permission to tag the repo. Usually `${{ secrets.GITHUB_TOKEN }}`.
- **commit_sha** _(optional)_ - The commit SHA value to add the tag. If specified, it uses this value instead GITHUB_SHA. It could be useful when a previous step merged a branch into github.ref.

#### Fetch all tags
Expand Down
5 changes: 2 additions & 3 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,8 @@ outputs:
description: "The conventional changelog since the previous tag"
inputs:
github_token:
description: "GitHub token for permission to tag the repo."
required: false
default: ${{ github.token }}
description: "Required for permission to tag the repo."
required: true
default_bump:
description: "Which type of bump to use when none explicitly provided when commiting to a release branch (default: `patch`)."
required: false
Expand Down

0 comments on commit 86301c8

Please sign in to comment.