From d16eaae74246081a12eba1c4f242af3d4d90573c Mon Sep 17 00:00:00 2001 From: Mats Bergmann Date: Fri, 24 Mar 2023 11:22:04 +0100 Subject: [PATCH] feat: add option to enable/disable linting To mitigate rate-limit error. default value is true, should not break older implementations of this workflow --- .github/workflows/workflow.yaml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/workflow.yaml b/.github/workflows/workflow.yaml index d1ff96f..1ed37c9 100644 --- a/.github/workflows/workflow.yaml +++ b/.github/workflows/workflow.yaml @@ -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 @@ -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