Skip to content

Commit

Permalink
chore: set persist-credentials to false during checkout
Browse files Browse the repository at this point in the history
  • Loading branch information
fernandonogueira committed Oct 29, 2024
1 parent 681ba9d commit 28da054
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/actions/tag-version/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ runs:
with:
fetch-depth: 0
token: ${{ inputs.github_token }}
persist-credentials: 'false'
- name: Bump version
id: bump_version
run: |
Expand All @@ -45,7 +46,7 @@ runs:
git push && git push origin --tags;
echo new_tag=$(git describe --tags) >> $GITHUB_OUTPUT
env:
GITHUB_TOKEN: ${{ inputs.github_token }}
GITHUB_PAT: ${{ inputs.github_token }}
GIT_NAME: ${{ inputs.git_name }}
GIT_EMAIL: ${{ inputs.git_email }}
REPO_NAME: ${{ inputs.repo_name }}
Expand Down

0 comments on commit 28da054

Please sign in to comment.