Skip to content

Commit

Permalink
Merge pull request #11363 from opensourcerouting/feature/github_workf…
Browse files Browse the repository at this point in the history
…low_8.1

github: [8.1] Add base branch label to every PR to distinguish easily
  • Loading branch information
Jafaral committed Jun 9, 2022
2 parents 6b2f974 + 3352cc9 commit 8c40a7c
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions .github/workflows/base-branch-label.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
name: Add base branch label

on:
pull_request_target:
types:
- opened
- reopened

jobs:
label:
runs-on: ubuntu-latest
permissions:
contents: read
pull-requests: write
steps:
- uses: actions-ecosystem/action-add-labels@v1
with:
labels: |
${{ github.event.pull_request.base.ref }}

0 comments on commit 8c40a7c

Please sign in to comment.