Skip to content

Commit

Permalink
Merge pull request #6 from prakash-amit/team-workflow
Browse files Browse the repository at this point in the history
A custom workflow
  • Loading branch information
prakash-amit authored Apr 21, 2021
2 parents e23965b + 3d20aeb commit caa96dd
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 0 deletions.
15 changes: 15 additions & 0 deletions .github/workflows/approval-workflow.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
name: Team awesome's approval workflow
on: pull_request_review
jobs:
labelWhenApproved:
name: Label when approved
runs-on: ubuntu-latest
steps:
- name: Label when approved
uses: pullreminders/label-when-approved-action@master
env:
APPROVALS: "2"
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
ADD_LABEL: "approved"
REMOVE_LABEL: "awaiting%20review"

7 changes: 7 additions & 0 deletions automation.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
The team would like:
- [ ] branch protections
- [ ] required review approvals
- [ ] easy way to see when enough approvals has been achieved
- [ ] matrix build
- [ ] save build artifacts
- [ ] dedicated test job

0 comments on commit caa96dd

Please sign in to comment.