Add access to Data Central Data Aggregation Service #1821
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: Assign NEW Issues & PRs to General Project, bug and prod labelled to Prod Project | |
on: | |
issues: | |
types: [opened, labeled] | |
pull_request: | |
types: [opened, labeled] | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
jobs: | |
assign_one_project: | |
runs-on: ubuntu-latest | |
name: Assign to One Project | |
steps: | |
- name: Assign NEW Issues and NEW PRs to Pipeline General Dashboard | |
uses: srggrs/[email protected] | |
if: github.event.action == 'opened' | |
with: | |
project: 'https://github.com/askap-vast/vast-pipeline/projects/1' | |
- name: Assign Issues and PRs with "bug" or "prod" labels to Nimbus Production Dashboard | |
uses: srggrs/[email protected] | |
if: | | |
contains(github.event.issue.labels.*.name, 'bug') || | |
contains(github.event.pull_request.labels.*.name, 'bug') || | |
contains(github.event.issue.labels.*.name, 'prod') || | |
contains(github.event.pull_request.labels.*.name, 'prod') | |
with: | |
project: 'https://github.com/askap-vast/vast-pipeline/projects/2' |