Skip to content

Commit

Permalink
only run merge conflict action on pushes to master
Browse files Browse the repository at this point in the history
Running against all pushes is pointless because only pushes to master will create merge conflicts.
  • Loading branch information
andrewmcodes committed May 7, 2020
1 parent 554e8c4 commit 626057b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 3 additions & 1 deletion .github/workflows/label_approved_pull_requests.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
on: pull_request_review
name: Label approved pull requests

on: pull_request_review

jobs:
labelWhenApproved:
name: Label when approved
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/label_merge_conflicts.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: Check for merge conflicts
on:
push:
branches:
- '*'
- master

jobs:
triage:
Expand Down

0 comments on commit 626057b

Please sign in to comment.