-
Notifications
You must be signed in to change notification settings - Fork 80
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix hardcoded api endpoint and artifact name lookup #46
Conversation
@@ -94,7 +103,7 @@ | |||
{ | |||
headers: { | |||
Accept: 'application/vnd.github.v3+json', | |||
Authorization: 'Bearer ', | |||
Authorization: `Bearer gha-token`, |
Check failure
Code scanning / CodeQL
Hard-coded credentials
@@ -209,7 +219,7 @@ | |||
`https://api.github.com/repos/${repositoryNwo}/pages/deployment/status/${buildVersion}`, | |||
{ | |||
headers: { | |||
Authorization: 'token ' | |||
Authorization: 'token gha-token' |
Check failure
Code scanning / CodeQL
Hard-coded credentials
@@ -15,7 +15,7 @@ jobs: | |||
- name: Set Node.JS | |||
uses: actions/setup-node@v2 | |||
with: | |||
node-version: 12.x | |||
node-version: 16.x |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
bump up test node version to benefit from some syntax sugar...
Fix hardcode api endpoint and artifact name