Store submission methods in the sensitive repo, as a source of truth #5193
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: "Supp: move to Access Requests column" | |
on: | |
issues: | |
types: | |
- opened | |
- labeled | |
jobs: | |
add_to_project: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Add Platform Support Issues to Project | |
uses: actions/add-to-project@main | |
with: | |
project-url: https://github.com/orgs/department-of-veterans-affairs/projects/1408 | |
github-token: ${{ secrets.BOT_GITHUB_TOKEN }} | |
labeled: T1-access-request | |
move-issue: | |
runs-on: ubuntu-latest | |
if: contains(github.event.issue.labels.*.name, 'T1-access-request') # Skip job if the label doesn't exist | |
steps: | |
- name: Move Issue to Access Requests Column | |
uses: m7kvqbe1/[email protected] | |
with: | |
github-token: ${{ secrets.BOT_GITHUB_TOKEN }} | |
project-url: https://github.com/orgs/department-of-veterans-affairs/projects/1408 | |
target-labels: T1-access-request | |
target-column: Access Requests |