Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use common add-to-project action
Browse files Browse the repository at this point in the history
Signed-off-by: Peixin Li <pxLi@nyu.edu>
pxLi committed Jan 21, 2025
1 parent 4e83fe4 commit 1964f05
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.
@@ -23,13 +23,11 @@ on:
- opened

jobs:
add-to-project:
if: github.repository == 'NVIDIA/spark-rapids-tools'
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/add-to-project@v0.6.1
- 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 1964f05

Please sign in to comment.