Skip to content

Commit a669240

Browse files
authored
Create projectActions.yml
1 parent 964a1e5 commit a669240

File tree

1 file changed

+21
-0
lines changed

1 file changed

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

0 commit comments

Comments
 (0)