Skip to content

Commit 2bac156

Browse files
committed
[tool] chore(ci): add automation to add new issues/PRs to project (#159)
1 parent b7eb623 commit 2bac156

File tree

1 file changed

+29
-0
lines changed

1 file changed

+29
-0
lines changed
Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
name: [Integrations] Add to Project
2+
# This GitHub Actions workflow automatically adds newly opened issues and pull requests to a specific GitHub project.
3+
4+
on:
5+
issues:
6+
types:
7+
- opened
8+
# Triggers the workflow when a new issue is opened in the repository.
9+
pull_request:
10+
types:
11+
- opened
12+
# Triggers the workflow when a new pull request is opened in the repository.
13+
14+
jobs:
15+
add-to-project:
16+
name: Add issue to project
17+
# Defines the job to add issues or pull requests to the specified GitHub project.
18+
19+
runs-on: ubuntu-latest
20+
# Specifies the environment where the job will run. In this case, it uses the latest Ubuntu runner.
21+
22+
steps:
23+
- uses: actions/add-to-project@v1.0.2
24+
# Uses the `actions/add-to-project` GitHub Action to add items to a GitHub project.
25+
# This action simplifies the process of adding issues or pull requests to a project board.
26+
27+
with:
28+
project-url: https://github.com/orgs/FiligranHQ/projects/36
29+
github-token: ${{ secrets.ADD_TO_PROJECT_PAT }}

0 commit comments

Comments
 (0)