2020-11-02 18:46:50 +00:00
|
|
|
on: pull_request_review
|
2021-07-08 09:49:32 +00:00
|
|
|
name: Approved Pull Requests
|
2020-11-02 18:46:50 +00:00
|
|
|
jobs:
|
2021-07-08 09:49:32 +00:00
|
|
|
labelWhenApproved:
|
|
|
|
name: Add Labels
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
|
|
- name: Ready to merge label
|
|
|
|
uses: pullreminders/label-when-approved-action@master
|
|
|
|
env:
|
|
|
|
APPROVALS: '1'
|
|
|
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
|
|
|
ADD_LABEL: 'status: ready to merge'
|
|
|
|
REMOVE_LABEL: 'status:%20needs%20review'
|
|
|
|
milestoneWhenApproved:
|
|
|
|
name: Add Milestone
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
2022-03-23 07:41:43 +00:00
|
|
|
- uses: actions/checkout@v3
|
2021-07-08 09:49:32 +00:00
|
|
|
- name: Latest milestone
|
|
|
|
uses: woocommerce/automations@v1
|
|
|
|
with:
|
|
|
|
github_token: ${{ secrets.GITHUB_TOKEN }}
|
|
|
|
automations: assign-milestone
|
|
|
|
milestone_bump_strategy: none
|