Skip to content

Commit 4b4fce1

Browse files
authored
Create add-issues-to-project.yml
1 parent 5b955e8 commit 4b4fce1

1 file changed

Lines changed: 28 additions & 0 deletions

File tree

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
name: Add Issues to Project Board
2+
3+
on:
4+
workflow_call:
5+
inputs:
6+
project-url:
7+
description: "GitHub Project URL (org-level or repo-level)"
8+
required: true
9+
type: string
10+
secrets:
11+
ADD_TO_PROJECT_PAT:
12+
required: true
13+
14+
jobs:
15+
add-to-project:
16+
name: Add issue to project
17+
runs-on: ubuntu-latest
18+
19+
permissions:
20+
issues: write
21+
contents: read
22+
23+
steps:
24+
- name: Add issue to project
25+
uses: actions/add-to-project@v1.0.1
26+
with:
27+
project-url: ${{ inputs.project-url }}
28+
github-token: ${{ secrets.ADD_TO_PROJECT_PAT }}

0 commit comments

Comments
 (0)