Migrate CSV writer to pylibcudf #7986
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# SPDX-FileCopyrightText: Copyright (c) 2024, NVIDIA CORPORATION & AFFILIATES. All rights reserved. | |
# SPDX-License-Identifier: Apache-2.0 | |
# | |
# Licensed under the Apache License, Version 2.0 (the "License"); | |
# you may not use this file except in compliance with the License. | |
# You may obtain a copy of the License at | |
# | |
# http://www.apache.org/licenses/LICENSE-2.0 | |
# | |
# Unless required by applicable law or agreed to in writing, software | |
# distributed under the License is distributed on an "AS IS" BASIS, | |
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | |
# See the License for the specific language governing permissions and | |
# limitations under the License. | |
name: Set PR and Issue Project Fields | |
on: | |
pull_request_target: | |
# This job runs when a PR is first opened, or it is updated | |
# Only runs if the PR is open (we don't want to update the status of a closed PR) | |
types: [opened, edited, synchronize] | |
jobs: | |
get-project-id: | |
uses: rapidsai/shared-workflows/.github/workflows/[email protected] | |
if: github.event.pull_request.state == 'open' | |
secrets: inherit | |
permissions: | |
contents: read | |
with: | |
PROJECT_ID: "PVT_kwDOAp2shc4AiNzl" | |
ITEM_NODE_ID: "${{ github.event.pull_request.node_id }}" | |
update-status: | |
# This job sets the PR and its linked issues to "In Progress" status | |
uses: rapidsai/shared-workflows/.github/workflows/[email protected] | |
if: ${{ github.event.pull_request.state == 'open' && needs.get-project-id.outputs.ITEM_PROJECT_ID != '' }} | |
needs: get-project-id | |
with: | |
PROJECT_ID: "PVT_kwDOAp2shc4AiNzl" | |
SINGLE_SELECT_FIELD_ID: "PVTSSF_lADOAp2shc4AiNzlzgaxNac" | |
SINGLE_SELECT_FIELD_NAME: "Status" | |
SINGLE_SELECT_OPTION_VALUE: "In Progress" | |
ITEM_PROJECT_ID: "${{ needs.get-project-id.outputs.ITEM_PROJECT_ID }}" | |
ITEM_NODE_ID: "${{ github.event.pull_request.node_id }}" | |
UPDATE_ITEM: true | |
UPDATE_LINKED_ISSUES: true | |
secrets: inherit | |
update-sprint: | |
# This job sets the PR and its linked issues to the current "Weekly Sprint" | |
uses: rapidsai/shared-workflows/.github/workflows/[email protected] | |
if: ${{ github.event.pull_request.state == 'open' && needs.get-project-id.outputs.ITEM_PROJECT_ID != '' }} | |
needs: get-project-id | |
with: | |
PROJECT_ID: "PVT_kwDOAp2shc4AiNzl" | |
ITERATION_FIELD_ID: "PVTIF_lADOAp2shc4AiNzlzgbU_po" | |
ITERATION_FIELD_NAME: "Weekly Sprint" | |
ITEM_PROJECT_ID: "${{ needs.get-project-id.outputs.ITEM_PROJECT_ID }}" | |
ITEM_NODE_ID: "${{ github.event.pull_request.node_id }}" | |
UPDATE_ITEM: true | |
UPDATE_LINKED_ISSUES: true | |
secrets: inherit | |
process-branch-name: | |
if: ${{ github.event.pull_request.state == 'open' && needs.get-project-id.outputs.ITEM_PROJECT_ID != '' }} | |
needs: get-project-id | |
runs-on: ubuntu-latest | |
outputs: | |
branch-name: ${{ steps.process-branch-name.outputs.branch-name }} | |
steps: | |
- name: Extract branch name | |
id: process-branch-name | |
run: | | |
branch=${{ github.event.pull_request.base.ref }} | |
release=${branch#branch-} | |
echo "branch-name=$release" >> "$GITHUB_OUTPUT" | |
update-release: | |
# This job sets the PR and its linked issues to the release they are targeting | |
uses: rapidsai/shared-workflows/.github/workflows/[email protected] | |
if: ${{ github.event.pull_request.state == 'open' && needs.get-project-id.outputs.ITEM_PROJECT_ID != '' }} | |
needs: [get-project-id, process-branch-name] | |
with: | |
PROJECT_ID: "PVT_kwDOAp2shc4AiNzl" | |
SINGLE_SELECT_FIELD_ID: "PVTSSF_lADOAp2shc4AiNzlzgg52UQ" | |
SINGLE_SELECT_FIELD_NAME: "Release" | |
SINGLE_SELECT_OPTION_VALUE: "${{ needs.process-branch-name.outputs.branch-name }}" | |
ITEM_PROJECT_ID: "${{ needs.get-project-id.outputs.ITEM_PROJECT_ID }}" | |
ITEM_NODE_ID: "${{ github.event.pull_request.node_id }}" | |
UPDATE_ITEM: true | |
UPDATE_LINKED_ISSUES: true | |
secrets: inherit |