From 5e022838e6061c67e6c84d4a134f70addbbb07ec Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebastian=20D=C3=B6ll?= Date: Tue, 15 Oct 2024 20:16:01 +0000 Subject: [PATCH] chore: disable on dependabot branch --- .github/workflows/main.yml | 6 +----- .github/workflows/pr.yml | 4 +--- 2 files changed, 2 insertions(+), 8 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index f6f307c..3181770 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -4,10 +4,6 @@ name: Test & Build on: workflow_call: - inputs: - disable_deploy: - type: boolean - default: false push: branches: - main @@ -51,7 +47,7 @@ jobs: - run: make lint deploy: - if: ${{ github.actor != 'dependabot[bot]' }} && ${{ inputs.disable_deploy == false }} + if: ${{ github.ref != 'ref/head/dependabot' }} runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 diff --git a/.github/workflows/pr.yml b/.github/workflows/pr.yml index 7c9f2d9..7066da9 100644 --- a/.github/workflows/pr.yml +++ b/.github/workflows/pr.yml @@ -14,10 +14,8 @@ jobs: permissions: checks: write uses: ./.github/workflows/main.yml - with: - disable_deploy: ${{ github.actor == 'dependabot[bot]' }} plan: - if: ${{ github.actor != 'dependabot[bot]' }} + if: ${{ github.ref != 'ref/head/dependabot' }} runs-on: ubuntu-latest steps: - uses: actions/checkout@v4