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

Avoid rate limiting by using GitHub token #86

Merged
merged 2 commits into from
Feb 1, 2022

Conversation

Devils-Knight
Copy link
Contributor

Fixes #65

@varunsh-coder
Copy link
Member

@Devils-Knight you also need to update action.yml to add token and set default to github token.

@@ -19,6 +19,8 @@ import {verifyChecksum} from "./checksum"
var api_url = `https://${env}.api.stepsecurity.io/v1`;
var web_url = "https://app.stepsecurity.io";

let token = core.getInput('token');
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@Devils-Knight please add a comment that this is to avoid rate limit

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@varunsh-coder added comment and updated the inputs for action.yml.

@varunsh-coder varunsh-coder merged commit 386beb0 into step-security:rcbranch Feb 1, 2022
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