-
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
Changes from 6 commits
e925f01
a901bb8
3b4c1f8
0a3017a
24a95d6
673b395
6cadaad
136647b
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change | ||||
---|---|---|---|---|---|---|
@@ -0,0 +1,34 @@ | ||||||
name: CI Standard Checks Workflow | ||||||
|
||||||
on: | ||||||
workflow_call: | ||||||
secrets: | ||||||
GH_TOKEN: | ||||||
required: true | ||||||
inputs: | ||||||
skipChecks: | ||||||
type: string | ||||||
required: false | ||||||
default: '' | ||||||
description: 'Checks to be skipped' | ||||||
enableChecks: | ||||||
type: string | ||||||
required: false | ||||||
default: '' | ||||||
description: 'Optional checks to enable' | ||||||
|
||||||
jobs: | ||||||
ci-standard-checks: | ||||||
runs-on: | ||||||
- ubuntu-latest | ||||||
steps: | ||||||
- name: Check Out Source Code | ||||||
uses: actions/checkout@v4 | ||||||
with: | ||||||
fetch-depth: 0 | ||||||
- 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 commentThe 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 (
Suggested change
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Fixed, thanks! |
||||||
skipChecks: ${{ inputs.skipChecks }} | ||||||
enableChecks: ${{ inputs.enableChecks }} |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
../../.github/workflows/ci-standard-checks-workflow.yaml |
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