Skip to content
This repository was archived by the owner on Feb 19, 2024. It is now read-only.

Commit 825bba9

Browse files
committed
docs: add PR to Projects using actions/add-to-project
See NordicSemiconductor/asset-tracker-cloud-docs#522
1 parent b459781 commit 825bba9

File tree

1 file changed

+5
-8
lines changed

1 file changed

+5
-8
lines changed

.github/workflows/add-to-project.yaml

Lines changed: 5 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,15 @@
1-
name: Add PRs to nRF Asset Tracker PR dashboard
1+
name: Add PRs to the nRF Asset Tracker Development project
22

33
on:
44
pull_request:
55
types: opened
6-
env:
7-
MY_GITHUB_TOKEN: ${{ secrets.AUTO_ASSIGN_ISSUE_TOKEN }}
86

97
jobs:
108
assign_to_project:
119
runs-on: ubuntu-latest
1210
steps:
13-
- name: Assign new pull requests to the Doing column of the project
14-
uses: srggrs/[email protected]
15-
if: github.event_name == 'pull_request'
11+
- name: Add to project
12+
uses: actions/add-to-project@main
1613
with:
17-
project: "https://github.com/orgs/NordicSemiconductor/projects/2"
18-
column_name: "Doing"
14+
project-url: https://github.com/orgs/NordicSemiconductor/projects/3
15+
github-token: ${{ secrets.AUTO_ASSIGN_ISSUE_TOKEN }}

0 commit comments

Comments
 (0)