Skip to content

Commit f0fec61

Browse files
committed
Update workflow: add PR to project, remove labelled_prs
1 parent 03d1b43 commit f0fec61

File tree

2 files changed

+7
-27
lines changed

2 files changed

+7
-27
lines changed

.github/workflows/labelled_prs.yml

Lines changed: 0 additions & 16 deletions
This file was deleted.

.github/workflows/new.yml

Lines changed: 7 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,15 @@
1-
name: Add to main project
1+
# Calls the org-level reusable workflow to add PRs to the TODO Board
2+
3+
name: Add PR to Project
24

35
on:
4-
issues:
5-
types:
6-
- opened
76
pull_request:
87
types:
98
- opened
9+
- reopened
1010

1111
jobs:
1212
add-to-project:
13-
name: Add to main project
14-
runs-on: ubuntu-latest
15-
steps:
16-
- uses: actions/add-to-project@v0.1.0
17-
with:
18-
project-url: https://github.com/orgs/adapt-security/projects/5
19-
github-token: ${{ secrets.PROJECTS_SECRET }}
13+
uses: adapt-security/.github/.github/workflows/new.yml@main
14+
secrets:
15+
PROJECTS_SECRET: ${{ secrets.PROJECTS_SECRET }}

0 commit comments

Comments
 (0)