-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #12 from GRIDAPPSD/develop
Github Workflow Fixes
- Loading branch information
Showing
16 changed files
with
6,060 additions
and
44 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,31 +1,31 @@ | ||
name: Auto Assign to Project(s) | ||
# 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 }} | ||
# 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' | ||
# 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' | ||
# - 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' |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
name: Add bugs to bugs project | ||
|
||
on: | ||
issues: | ||
types: | ||
- opened | ||
|
||
jobs: | ||
add-to-project: | ||
name: Add issue to project | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/[email protected] | ||
with: | ||
# You can target a repository in a different organization | ||
# to the issue | ||
project-url: https://github.com/orgs/GRIDAPPSD/projects/7 | ||
# project-url: https://github.com/orgs/<orgName>/projects/<projectNumber> | ||
# github-token: ${{ secrets.ADD_TO_PROJECT_PAT }} | ||
github-token: ${{ secrets.AUTO_ASSIGN_PAT }} | ||
# labeled: bug, needs-triage | ||
# label-operator: OR |
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
Oops, something went wrong.