updated workflows

This commit is contained in:
irongut
2021-11-25 20:44:07 +00:00
parent 6a542ff4b0
commit ee53bdd6c5
2 changed files with 8 additions and 6 deletions
+4 -4
View File
@@ -17,26 +17,26 @@ jobs:
uses: srggrs/assign-one-project-github-action@1.3.1
if: contains(github.event.issue.labels.*.name, 'bug')
with:
project: 'https://github.com/irongut/EDlib/projects/1'
project: 'https://github.com/irongut/CodeCoverageSummary/projects/1'
column_name: 'Needs triage'
- name: Assign Issues to Enhancements
uses: srggrs/assign-one-project-github-action@1.3.1
if: contains(github.event.issue.labels.*.name, 'enhancement')
with:
project: 'https://github.com/irongut/EDlib/projects/2'
project: 'https://github.com/irongut/CodeCoverageSummary/projects/2'
column_name: 'To do'
- name: Assign PRs to Bugs
uses: srggrs/assign-one-project-github-action@1.3.1
if: contains(github.event.pull_request.labels.*.name, 'bug')
with:
project: 'https://github.com/irongut/EDlib/projects/1'
project: 'https://github.com/irongut/CodeCoverageSummary/projects/1'
column_name: 'In Progress'
- name: Assign PRs to Enhancements
uses: srggrs/assign-one-project-github-action@1.3.1
if: contains(github.event.pull_request.labels.*.name, 'enhancement')
with:
project: 'https://github.com/irongut/EDlib/projects/2'
project: 'https://github.com/irongut/CodeCoverageSummary/projects/2'
column_name: 'In Progress'
+4 -2
View File
@@ -2,7 +2,10 @@
# https://github.com/samspills/assign-pr-to-author
name: Auto Assign PR
on: [pull_request]
on:
pull_request:
types: [opened]
jobs:
assignAuthor:
@@ -10,6 +13,5 @@ jobs:
steps:
- name: Auto Assign PR
uses: samspills/assign-pr-to-author@v1.0.1
if: github.event_name == 'pull_request' && github.event.action == 'opened'
with:
repo-token: '${{ secrets.GITHUB_TOKEN }}'