UX | Design - Custom step (Step from scratch) #5757
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 Support Tickets 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: Platform-Support-Ticket | |
move-issue: | |
runs-on: ubuntu-latest | |
if: contains(github.event.issue.labels.*.name, 'Platform-Support-Ticket') # Skip job if the label doesn't exist | |
steps: | |
- name: Move Issue to Support Tickets 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: Platform-Support-Ticket | |
target-column: Support Tickets |