Skip to content

Commit

Permalink
Use common add-to-project action
Browse files Browse the repository at this point in the history
Signed-off-by: Peixin Li <[email protected]>
  • Loading branch information
pxLi committed Jan 21, 2025
1 parent 0f57212 commit aa3538d
Showing 1 changed file with 6 additions and 8 deletions.
14 changes: 6 additions & 8 deletions .github/workflows/add-to-project.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright (c) 2022-2024, NVIDIA CORPORATION.
# Copyright (c) 2022-2025, NVIDIA CORPORATION.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
Expand All @@ -23,13 +23,11 @@ on:
- opened

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

token: ${{ secrets.PROJECT_TOKEN }}

0 comments on commit aa3538d

Please sign in to comment.