Skip to content

Commit

Permalink
Merge pull request #29 from Senzing/issue-28.macy.1
Browse files Browse the repository at this point in the history
Add project workflows
  • Loading branch information
SamMacy authored Aug 11, 2021
2 parents f642548 + 330a2b9 commit 0c97069
Show file tree
Hide file tree
Showing 2 changed files with 52 additions and 0 deletions.
26 changes: 26 additions & 0 deletions .github/workflows/add-to-project.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
# Based on
# - https://github.com/srggrs/assign-one-project-github-action

name: Auto Assign issue to Project

on:
issues:
types:
- reopened
- opened
env:
GITHUB_TOKEN: ${{ secrets.SENZING_GITHUB_ACCESS_TOKEN }}
REPO_URL: ${{ github.event.repository.url}}

jobs:
assign_one_project:
runs-on: ubuntu-latest
steps:
- name: Assign issues in repo with topics to repositories
uses: Senzing/[email protected]
with:
project1: 'https://github.com/orgs/Senzing/projects/2'
project2: 'https://github.com/orgs/Senzing/projects/6'
topic1: 't-comm'
topic2: 't-ast'
column_name: 'Backlog'
26 changes: 26 additions & 0 deletions .github/workflows/add-to-project2.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
# Based on
# - https://github.com/srggrs/assign-one-project-github-action

name: Auto Assign issue to Project

on:
issues:
types:
- reopened
- opened
env:
GITHUB_TOKEN: ${{ secrets.SENZING_GITHUB_ACCESS_TOKEN }}
REPO_URL: ${{ github.event.repository.url}}

jobs:
assign_one_project:
runs-on: ubuntu-latest
steps:
- name: Assign issues in repo with topics to repositories
uses: Senzing/[email protected]
with:
project1: 'https://github.com/orgs/Senzing/projects/8'
project2: 'https://github.com/orgs/Senzing/projects/9'
topic1: 't-g2-python'
topic2: 't-gdev'
column_name: 'Backlog'

0 comments on commit 0c97069

Please sign in to comment.