diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 3181770..ce2b63d 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -47,7 +47,7 @@ jobs: - run: make lint deploy: - if: ${{ github.ref != 'ref/head/dependabot' }} + if: success() && !contains( github.ref, 'dependabot' ) runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 diff --git a/.github/workflows/pr.yml b/.github/workflows/pr.yml index 7066da9..8320052 100644 --- a/.github/workflows/pr.yml +++ b/.github/workflows/pr.yml @@ -15,7 +15,7 @@ jobs: checks: write uses: ./.github/workflows/main.yml plan: - if: ${{ github.ref != 'ref/head/dependabot' }} + if: success() && !contains( github.ref, 'dependabot' ) runs-on: ubuntu-latest steps: - uses: actions/checkout@v4