Skip to content

Commit

Permalink
ci: add ref name check (#63)
Browse files Browse the repository at this point in the history
  • Loading branch information
marshacb authored Oct 2, 2023
1 parent 11d30d5 commit 8b54bcf
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/auto-approve.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
name: auto-approve

on:
pull_request:
branches:
- main
pull_request_target:
branches:
- bot-auto-update-registry
Expand All @@ -9,7 +12,7 @@ jobs:
commit-changes:
name: Commit Changes
runs-on: ubuntu-latest
if: github.actor == 'dependabot[bot]'
if: github.actor == 'dependabot[bot]' && github.ref_name == 'bot-auto-update-registry'
steps:
- name: add automerge label
uses: actions-ecosystem/action-add-labels@v1
Expand Down

0 comments on commit 8b54bcf

Please sign in to comment.