Skip to content

Commit

Permalink
Add merged PR to milestone and remove specific labels (ankidroid#10673)
Browse files Browse the repository at this point in the history
  • Loading branch information
krmanik authored Apr 1, 2022
1 parent fe52973 commit 0b23430
Show file tree
Hide file tree
Showing 2 changed files with 40 additions and 0 deletions.
24 changes: 24 additions & 0 deletions .github/workflows/label.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
name: Remove Labels

on:
pull_request:
types: [ closed ]

jobs:
merge_job:
if: github.event.pull_request.merged == true
runs-on: ubuntu-latest
steps:
- uses: andymckay/labeler@master
with:
remove-labels: >
Pending Merge,
Waiting For Feedback,
Needs Review,
Review High Priority,
Needs Second Approval,
Blocked by dependency,
Needs a new dev,
squash-merge,
Keep Open,
Stable
16 changes: 16 additions & 0 deletions .github/workflows/milestone.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
name: PR Milestone

on:
pull_request:
types: [ closed ]

jobs:
milestone:
if: github.event.pull_request.merged == true
runs-on: ubuntu-latest
steps:
- uses: zoispag/action-assign-milestone@v1
with:
repo-token: "${{ secrets.GITHUB_TOKEN }}"
milestone: "2.16 release"

0 comments on commit 0b23430

Please sign in to comment.