We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent af9fa9e commit 7f77d44Copy full SHA for 7f77d44
action.yml
@@ -2,7 +2,7 @@ name: 'Git Push'
2
description: 'Pushing to Git repository local changes'
3
author: 'ad-m'
4
inputs:
5
- repo-token:
+ github_token:
6
description: 'Token for the repo. Can be passed in using {{ secrets.GITHUB_TOKEN }}'
7
required: true
8
branch:
start.sh
@@ -2,5 +2,5 @@
set -eux
echo "Push to branch ${INPUT_BRANCH}";
-header=$(echo -n "ad-m:${INPUT_REPO-TOKEN}" | base64)
+header=$(echo -n "ad-m:${INPUT_GITHUB_TOKEN}" | base64)
git -c http.extraheader="AUTHORIZATION: basic $header" push origin refs/remotes/origin/master:master;
0 commit comments