Skip to content

Commit c52c19e

Browse files
authored
Add workflow for routing issues to project (#415)
2 parents c746028 + 87fa6cf commit c52c19e

File tree

1 file changed

+27
-0
lines changed

1 file changed

+27
-0
lines changed
Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
name: Add Issues to Project
2+
3+
# Requires a repository variable named `PUBLIC_UI_PROJECT_URL` that contains the
4+
# GitHub Project (beta) URL. The workflow uses the default `GITHUB_TOKEN`, so no
5+
# additional PAT secret is necessary.
6+
7+
on:
8+
issues:
9+
types:
10+
- opened
11+
- reopened
12+
- transferred
13+
14+
permissions:
15+
contents: read
16+
issues: write
17+
18+
jobs:
19+
add-to-project:
20+
name: Add issue to roadmap project
21+
runs-on: ubuntu-latest
22+
steps:
23+
- name: Add issue to organization project
24+
uses: actions/[email protected]
25+
with:
26+
project-url: ${{ vars.PUBLIC_UI_PROJECT_URL }} // see https://github.com/organizations/public-ui/settings/variables/actions
27+
github-token: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)