File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2929 yarn test
3030 - name : Add node_modules files to release
3131 run : |
32+ git config --global user.email "GitHubActionsRunner@rhosys.ch"
3233 git config --global user.name "GitHub Actions"
3334 rm .gitignore
3435 git add node_modules/*
Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ const github = require('@actions/github');
44async function run ( ) {
55 // Attempt to load credentials from the GitHub OIDC provider.
66 const githubSecretAccessToken = core . getInput ( 'github_token' ) ;
7- if ( ! githubSecretAccessToken ) {
7+ if ( ! githubSecretAccessToken || githubSecretAccessToken === '{{ secrets.GITHUB_TOKEN }}' ) {
88 core . setFailed ( "Missing use with configuration in the github action, please add to the github workflow: 'github_token: {{ secrets.GITHUB_TOKEN }}'" ) ;
99 core . getInput ( 'github_token' , { required : true } ) ;
1010 throw Error ( 'InvalidInput' ) ;
You can’t perform that action at this time.
0 commit comments