Skip to content
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

Merged
merged 12 commits into from
Aug 5, 2022
Merged

Conversation

YiMysty
Copy link
Collaborator

@YiMysty YiMysty commented Aug 4, 2022

Fix hardcode api endpoint and artifact name
image

@@ -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

The hard-coded value "Bearer gha-token" is used as [authorization header](1).
@@ -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

The hard-coded value "token gha-token" is used as [authorization header](1).
@YiMysty YiMysty marked this pull request as ready for review August 5, 2022 00:13
@YiMysty YiMysty requested a review from a team as a code owner August 5, 2022 00:13
@@ -15,7 +15,7 @@ jobs:
- name: Set Node.JS
uses: actions/setup-node@v2
with:
node-version: 12.x
node-version: 16.x
Copy link
Collaborator Author

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...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants