Skip to content

Commit

Permalink
feat: add option to enable/disable linting
Browse files Browse the repository at this point in the history
To mitigate rate-limit error. default value is true, should not break
older implementations of this workflow
  • Loading branch information
bateau84 committed May 11, 2023
1 parent 5030db9 commit d16eaae
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/workflow.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@ on:
release-enabled:
type: boolean
default: true
lint-enabled:
type: boolean
default: true
runs-on:
type: string
default: nrk-azure-intern
Expand Down Expand Up @@ -35,6 +38,7 @@ jobs:
needs: setup
name: Commit lint
runs-on: ${{ inputs.runs-on }}
if: inputs.lint-enabled
steps:
- name: Checkout
uses: actions/checkout@v3
Expand Down

0 comments on commit d16eaae

Please sign in to comment.