Auto-label PRs ready for beta #11
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Auto-label PRs ready for beta | |
on: | |
pull_request_review: | |
types: [submitted] | |
jobs: | |
approved: | |
if: github.event.review.state == 'approved' && github.event.pull_request.base.ref == 'beta' | |
runs-on: ubuntu-latest | |
steps: | |
- run: echo "This PR was approved. Adding label for beta" | |
- name: add labels | |
uses: actions-ecosystem/action-add-labels@v1 | |
with: | |
labels: "ready for beta" | |