Skip to content

Commit

Permalink
label-conflicts: Only on branch push, not PR
Browse files Browse the repository at this point in the history
  • Loading branch information
ferdnyc committed Dec 12, 2020
1 parent ed5b2e2 commit 26ec5b3
Showing 1 changed file with 4 additions and 8 deletions.
12 changes: 4 additions & 8 deletions .github/workflows/label-merge-conflicts.yml
Original file line number Diff line number Diff line change
@@ -1,14 +1,10 @@

name: Label merge conflicts

# Controls when the action will run. Triggers the workflow on push or pull request
# events but only for the develop branch
on:
push:
branches: [ develop ]
pull_request:
branches: [ develop ]
types: [opened, synchronize, reopened]
# Controls when the action will run. Triggers the workflow on push to repo branches
# (It shouldn't run on pull requests, as it won't have the right credentials to
# edit labels on other PRs.)
on: push

# A workflow run is made up of one or more jobs that can run sequentially or in parallel
jobs:
Expand Down

0 comments on commit 26ec5b3

Please sign in to comment.