Skip to content
This repository was archived by the owner on Apr 16, 2025. It is now read-only.

Commit f22c7db

Browse files
committed
Use common add-to-project action
Signed-off-by: Peixin Li <[email protected]>
1 parent 8c9e35a commit f22c7db

File tree

1 file changed

+6
-7
lines changed

1 file changed

+6
-7
lines changed

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

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Copyright (c) 2022, NVIDIA CORPORATION.
1+
# Copyright (c) 2022-2025, NVIDIA CORPORATION.
22
#
33
# Licensed under the Apache License, Version 2.0 (the "License");
44
# you may not use this file except in compliance with the License.
@@ -23,12 +23,11 @@ on:
2323
- opened
2424

2525
jobs:
26-
add-to-project:
27-
if: github.repository == 'NVIDIA/spark-rapids-container'
28-
name: Add new issues and pull requests to project
26+
Add-to-project:
27+
if: github.repository_owner == 'NVIDIA' # avoid adding issues from forks
2928
runs-on: ubuntu-latest
3029
steps:
31-
- uses: actions/[email protected]
30+
- name: add-to-project
31+
uses: NVIDIA/spark-rapids-common/add-to-project@main
3232
with:
33-
project-url: https://github.com/orgs/NVIDIA/projects/4
34-
github-token: ${{ secrets.PROJECT_TOKEN }}
33+
token: ${{ secrets.PROJECT_TOKEN }}

0 commit comments

Comments
 (0)