[WIP] Update to address feedback on Pixi update #107
Workflow file for this run
This file contains hidden or 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: 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' |