Skip to content

Commit

Permalink
updated workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
irongut committed Nov 25, 2021
1 parent 6a542ff commit ee53bdd
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 6 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/assign-to-project.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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'
6 changes: 4 additions & 2 deletions .github/workflows/auto-assign-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,16 @@
# https://github.com/samspills/assign-pr-to-author

name: Auto Assign PR
on: [pull_request]

on:
pull_request:
types: [opened]

jobs:
assignAuthor:
runs-on: ubuntu-latest
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 }}'

0 comments on commit ee53bdd

Please sign in to comment.