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'
|
2022-11-09 10:59:23 +00:00
|
|
|
milestoneWhenApproved:
|
|
|
|
name: Add Milestone
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
|
|
- uses: actions/checkout@v3
|
|
|
|
- name: Latest milestone
|
|
|
|
uses: woocommerce/automations@v1
|
|
|
|
with:
|
|
|
|
github_token: ${{ secrets.GITHUB_TOKEN }}
|
|
|
|
automations: assign-milestone
|
2023-09-15 06:20:16 +00:00
|
|
|
milestone_bump_strategy: none
|