Skip to content

Commit 00bdf54

Browse files
authored
GP-76 add automation action for project
1 parent c6a8d9c commit 00bdf54

File tree

1 file changed

+20
-0
lines changed

1 file changed

+20
-0
lines changed
Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
name: Auto Assign to Project(s)
2+
3+
on:
4+
issues:
5+
types: [opened, labeled]
6+
pull_request:
7+
types: [opened, labeled]
8+
env:
9+
GITHUB_TOKEN: ${{ secrets.MY_GITHUB_TOKEN }}
10+
11+
jobs:
12+
assign_one_project:
13+
runs-on: ubuntu-latest
14+
name: Assign to One Project
15+
steps:
16+
- name: Assign NEW issues project 4
17+
uses: srggrs/assign-one-project-github-action@1.2.1
18+
if: github.event.action == 'opened' || contains(github.event.issue.labels.*.name, 'java-web')
19+
with:
20+
project: 'github.com/bobocode-projects/java-web-course/projects/1'

0 commit comments

Comments
 (0)