diff --git a/.github/workflows/check-models.yml b/.github/workflows/check-models.yml index cc9f0a21..d7148283 100644 --- a/.github/workflows/check-models.yml +++ b/.github/workflows/check-models.yml @@ -18,7 +18,7 @@ permissions: jobs: sync-models: runs-on: ubuntu-latest - if: github.actor != 'dependabot[bot]' + if: github.actor != 'dependabot[bot]' && !startsWith(github.ref_name, 'dependabot/') permissions: contents: write # Need write permission to create branches and push changes pull-requests: write # Need write permission to create PRs diff --git a/.github/workflows/sync-toolnames.yml b/.github/workflows/sync-toolnames.yml index f2152a11..d3fa78ef 100644 --- a/.github/workflows/sync-toolnames.yml +++ b/.github/workflows/sync-toolnames.yml @@ -15,7 +15,7 @@ permissions: jobs: sync-toolnames: runs-on: ubuntu-latest - if: github.actor != 'dependabot[bot]' + if: github.actor != 'dependabot[bot]' && !startsWith(github.ref_name, 'dependabot/') permissions: contents: write # Need write permission to create branches and push changes pull-requests: write # Need write permission to create PRs