-
Notifications
You must be signed in to change notification settings - Fork 0
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
feat(PR-41): add a shared CI standard checks workflow #66
Conversation
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.
OCD intensifies
jobs: | ||
ci-standard-checks: | ||
runs-on: | ||
- ubuntu-latest |
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.
:chefs-kiss: This is the most important part of the change, now using GH hosted runners for this workflow
Co-authored-by: Matheus Macabu <macabu@users.noreply.github.com>
The value used for |
- name: CI Standard Checks | ||
uses: Typeform/ci-standard-checks@v1 | ||
with: | ||
githubToken: ${{ secrets.GH_TOKEN }} |
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.
I think that for this use case we can use the token with minimum privileges that is generated per repository (GITHUB_TOKEN
) instead of this Organization wide secret GH_TOKEN
which corresponds to a PAT from a user with lots of privileges. See GitHub's security hardening guidelines.
githubToken: ${{ secrets.GH_TOKEN }} | |
githubToken: ${{ secrets.GITHUB_TOKEN }} |
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.
Fixed, thanks!
Add a new workflow for CI standard checks. We will use it to use the 50k free minutes we have with Github.
https://typeform.slack.com/archives/CCWDN8ASJ/p1704726455798989