Skip to content

Commit 6909720

Browse files
add token to fix #1
1 parent d1d3d7d commit 6909720

1 file changed

Lines changed: 9 additions & 0 deletions

File tree

action.yml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,14 @@ inputs:
2626
description: 'no push will be performed if this value is true'
2727
default: false
2828
required: false
29+
token:
30+
description: >
31+
Auth token used to fetch the repository. The token is stored in the local
32+
git config, which enables your scripts to run authenticated git commands.
33+
The post-job step removes the token from the git config. [Learn more about
34+
creating and using encrypted secrets](https://help.github.com/en/actions/automating-your-workflow-with-github-actions/creating-and-using-encrypted-secrets)
35+
default: ${{ github.token }}
36+
required: false
2937
runs:
3038
using: "composite"
3139
steps:
@@ -45,4 +53,5 @@ runs:
4553
author-name: ${{ inputs.committer-name }}
4654
commit-message: ${{ inputs.commit-message }}
4755
remote: origin
56+
token: ${{ inputs.token }}
4857

0 commit comments

Comments
 (0)