Store submission methods in the sensitive repo, as a source of truth #1074
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 Offboarding 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: Offboarding | |
move-issue: | |
runs-on: ubuntu-latest | |
if: contains(github.event.issue.labels.*.name, 'Offboarding') # Skip job if the label doesn't exist | |
steps: | |
- name: Move Issue to Offboarding 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: Offboarding | |
target-column: Offboarding |