Skip to content

Design review: 10-7959c confirmation email template #79420

Design review: 10-7959c confirmation email template

Design review: 10-7959c confirmation email template #79420

name: Assign to One Project
# Assigns new issues to project based on label
# See https://github.com/department-of-veterans-affairs/va.gov-team/issues/15245
# For support see #github-management or #github_information on DSVA
on:
issues:
types: [opened]
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
jobs:
assign_one_project:
runs-on: ubuntu-latest
name: Add issues to Github projects based on labels
steps:
- name: Add issues to VSP Analytics & Insights project
uses: srggrs/[email protected]
if: |
github.event.action == 'opened' &&
(contains(github.event.issue.labels.*.name, 'analytics-insights') ||
contains(github.event.issue.labels.*.name, 'analytics-request'))
with:
project: 'https://github.com/department-of-veterans-affairs/va.gov-team/projects/20'
column_name: 'Backlog - New'
- name: Add issues with `documentation-support` label to VSP Documentation project
uses: srggrs/[email protected]
if: |
github.event.action == 'opened' &&
contains(github.event.issue.labels.*.name, 'documentation-support')
with:
project: 'https://github.com/department-of-veterans-affairs/va.gov-team/projects/16'
column_name: 'New - Incoming'
- name: Add issues with `platform-architecture-working-group` label to Platform Architecture Working Group project
uses: srggrs/[email protected]
if: |
github.event.action == 'opened' &&
contains(github.event.issue.labels.*.name, 'platform-architecture-working-group')
with:
project: 'https://github.com/department-of-veterans-affairs/va.gov-team/projects/41'
column_name: 'New'
- name: Add issues with `platform-feature-request` label to Platform Feature Requests project
uses: srggrs/[email protected]
if: |
github.event.action == 'opened' &&
contains(github.event.issue.labels.*.name, 'platform-feature-request')
with:
project: 'https://github.com/department-of-veterans-affairs/va.gov-team/projects/42'
column_name: 'Submitted'