Skip to content

Commit

Permalink
feat(PR-41): add a shared CI standard checks workflow (#66)
Browse files Browse the repository at this point in the history
* feat(PR-41): add a shared CI standard checks workflow

* fix(PR-41): include the GITHUB_TOKEN already on the workflow

* fix(PR-41): typo token

* fix(PR-41): add types on the inputs

* fix(PR-41): add not required to the inputs

* Update .github/workflows/ci-standard-checks-workflow.yaml

Co-authored-by: Matheus Macabu <macabu@users.noreply.github.com>

* fix(PR-41): change the secrets

* fix(PR-41): change the secrets

---------

Co-authored-by: Matheus Macabu <macabu@users.noreply.github.com>
  • Loading branch information
miquelarranz and macabu committed Jan 10, 2024
1 parent 72350f2 commit 6ea8ad7
Show file tree
Hide file tree
Showing 2 changed files with 32 additions and 0 deletions.
31 changes: 31 additions & 0 deletions .github/workflows/ci-standard-checks-workflow.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
name: CI Standard Checks Workflow

on:
workflow_call:
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.GITHUB_TOKEN }}
skipChecks: ${{ inputs.skipChecks }}
enableChecks: ${{ inputs.enableChecks }}
1 change: 1 addition & 0 deletions reusable-workflows/ci-standard-checks/workflow.yaml

0 comments on commit 6ea8ad7

Please sign in to comment.