Skip to content

Merge pull request #12 from GRIDAPPSD/develop #19

Merge pull request #12 from GRIDAPPSD/develop

Merge pull request #12 from GRIDAPPSD/develop #19

# name: Auto Assign to Project(s)
# on:
# issues:
# types: [opened, labeled]
# pull_request:
# types: [opened, labeled]
# issue_comment:
# types: [created]
# env:
# MY_GITHUB_TOKEN: ${{ secrets.GRIDAPPSD_PAT }}
# jobs:
# assign_one_project:
# runs-on: ubuntu-latest
# name: Assign to One Project
# steps:
# - name: Assign NEW issues and NEW pull requests to project 2
# uses: srggrs/[email protected]
# if: github.event.action == 'opened'
# with:
# project: 'https://github.com/orgs/GRIDAPPSD/projects/7'
# - name: Assign issues and pull requests with `bug` label to project 3
# uses: srggrs/[email protected]
# if: |
# contains(github.event.issue.labels.*.name, 'bug') ||
# contains(github.event.pull_request.labels.*.name, 'bug')
# with:
# project: 'https://github.com/orgs/GRIDAPPSD/projects/7'
# column_name: 'Labeled'