Test - Create System Owner user #7
This file contains 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: Account Request Open | |
on: | |
issues: | |
types: | |
- labeled | |
jobs: | |
# When an issue is created by account management request form | |
# Label of account management request form is ACCOUNT_REQUEST_RECORD | |
request-opened: | |
if: github.event.label.name == 'ACCOUNT_REQUEST_RECORD' | |
runs-on: ubuntu-20.04 | |
permissions: | |
issues: write | |
steps: | |
- name: Notify Blossom Management about Account Request | |
run: gh issue comment "$NUMBER" --body "$BODY" | |
env: | |
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
GH_REPO: ${{ github.repository }} | |
NUMBER: ${{ github.event.issue.number }} | |
BODY: > | |
Account management request CREATED. | |
@usnistgov/blossom-management please review and approve/reject this request | |
by adding ACCOUNT_APPROVED or ACCOUNT_REJECTED label to this issue. |