Skip to content

Commit

Permalink
only on PR
Browse files Browse the repository at this point in the history
  • Loading branch information
raulvelaz-rdx committed Jul 4, 2023
1 parent 7730a6c commit 20a9ab9
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/automerge.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# https://github.com/marketplace/actions/merge-pull-requests-automerge-action
# Github allows automerge https://docs.github.com/en/pull-requests/collaborating-with-pull-requests/incorporating-changes-from-a-pull-request/automatically-merging-a-pull-request
# But we want to restrict it to only PR created by radixbot
name: automerge
name: Validate and automerge
on:
push:
branches:
Expand Down Expand Up @@ -33,6 +33,7 @@ jobs:
with:
pattern: "\\.json$"
automerge:
if: ${{ github.event_name == 'pull_request' }}
runs-on: ubuntu-latest
steps:
- id: automerge
Expand Down

0 comments on commit 20a9ab9

Please sign in to comment.