Skip to content

Commit

Permalink
Merge pull request #530 from AllenCell/automate-tickets
Browse files Browse the repository at this point in the history
Automate tickets created
  • Loading branch information
yrkim98 authored Oct 17, 2024
2 parents 62dbcf9 + 55113f4 commit 5676077
Show file tree
Hide file tree
Showing 2 changed files with 38 additions and 0 deletions.
19 changes: 19 additions & 0 deletions .github/workflows/auto_add_dev_tickets_to_project.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
name: Auto add dev tickets to project board

on:
issues:
types: [opened]

jobs:
add_to_project:
runs-on: ubuntu-latest
steps:
- name: Check labels and add to project
if: |
!contains(github.event.issue.labels.*.name, 'Requests') &&
!contains(github.event.issue.labels.*.name, 'Bug Reports')
uses: actions/add-to-project@v1
with:
project-url: https://github.com/orgs/AllenCell/projects/7
content-id: ${{ github.event.issue.node_id }}
column-name: Backlog
19 changes: 19 additions & 0 deletions .github/workflows/auto_add_feature_request_to_project.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
name: Auto-add feature requests and bug reports to project board

on:
issues:
types: [opened]

jobs:
add_to_project:
runs-on: ubuntu-latest
if: |
contains(github.event.issue.labels.*.name, 'Requests') ||
contains(github.event.issue.labels.*.name, 'Bug Reports')
steps:
- name: Add issue to project
uses: actions/add-to-project@v1
with:
project-url: https://github.com/orgs/AllenCell/projects/9
content-id: ${{ github.event.issue.node_id }}
column-name: Scoping

0 comments on commit 5676077

Please sign in to comment.