Skip to content

Commit 4e055c4

Browse files
Tomas Sedmikapupier
authored andcommitted
Add new workflow - Add issue to Git Hub Project
Signed-off-by: Tomas Sedmik <[email protected]>
1 parent 6e33c73 commit 4e055c4

File tree

1 file changed

+24
-0
lines changed

1 file changed

+24
-0
lines changed
Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
name: Add New Issue to GitHub Project
2+
3+
on:
4+
issues:
5+
types: [opened] # Only trigger when an issue is newly opened.
6+
7+
jobs:
8+
add-issue-to-project:
9+
runs-on: ubuntu-latest
10+
11+
permissions:
12+
contents: read
13+
issues: write
14+
repository-projects: write
15+
16+
steps:
17+
- name: Checkout repository code
18+
uses: actions/checkout@v4
19+
20+
- name: Add newly opened issue to GitHub Project
21+
uses: actions/[email protected]
22+
with:
23+
project-url: ${{ secrets.PROJECT_URL }}
24+
github-token: ${{ secrets.PROJECTS_TOKEN }}

0 commit comments

Comments
 (0)