Skip to content
Closed
Show file tree
Hide file tree
Changes from 6 commits
Commits
Show all changes
113 commits
Select commit Hold shift + click to select a range
635221d
Add GitHub workflow for RAPIDS high-level project tracking
jarmak-nv Feb 27, 2025
6b33ff7
Add project automation documentation and GraphQL helper script
jarmak-nv Feb 28, 2025
89ce393
Update project automation documentation with improved diagram
jarmak-nv Feb 28, 2025
48c4c3f
Update mermaid to LR from TD
jarmak-nv Feb 28, 2025
87817a6
Update GitHub Note Syntax
jarmak-nv Feb 28, 2025
1d7d605
Use stage names instead of IDs, multi-issue-pr readme update
jarmak-nv Mar 3, 2025
4846340
Add Python 3.13
bdice Mar 5, 2025
9de8f9e
DOC v25.06 Updates [skip ci]
raydouglass Mar 13, 2025
2321fa5
Merge pull request #298 from rapidsai/branch-25.04
GPUtester Mar 14, 2025
c27417b
Merge pull request #300 from rapidsai/branch-25.04
GPUtester Mar 15, 2025
3a11eaa
Merge pull request #305 from rapidsai/branch-25.04
GPUtester Mar 17, 2025
0b3d104
Merge pull request #307 from rapidsai/branch-25.04
GPUtester Mar 17, 2025
d74a031
Merge pull request #310 from rapidsai/branch-25.04
GPUtester Mar 18, 2025
955cfa5
Merge pull request #313 from rapidsai/branch-25.04
GPUtester Mar 18, 2025
b47e7a8
Merge pull request #316 from rapidsai/branch-25.04
GPUtester Mar 18, 2025
1b1d509
Merge pull request #317 from rapidsai/branch-25.04
GPUtester Mar 19, 2025
1e16c46
Merge pull request #319 from rapidsai/branch-25.04
GPUtester Mar 19, 2025
cd262fc
Merge pull request #322 from rapidsai/branch-25.04
GPUtester Mar 19, 2025
db60c52
Optional Input for CUDA suffix in wheel name (#323)
jayavenkatesh19 Mar 24, 2025
a5e578b
Enable proxy cache on NVKS V100 nodes. (#325)
bdice Apr 2, 2025
a315db2
make `RAPIDS_AUX_SECRET_1` be an input variable secret name, not the …
trxcllnt Apr 8, 2025
2718e88
Add pipefail to devcontainer builds.
bdice Apr 14, 2025
c924c79
Merge pull request #326 from bdice/pipefail-in-devcontainer-builds
bdice Apr 14, 2025
b0d5386
added descriptions to new variables in wheel build (#327)
jayavenkatesh19 Apr 16, 2025
92cc267
add mkdir -p to devcontainer setup (#328)
msarahan Apr 16, 2025
824abcc
add env and timeout-minutes inputs
trxcllnt Apr 17, 2025
1fdd8cf
Use the variable `package-name` for Distribution name in wheel builds…
jayavenkatesh19 Apr 18, 2025
18279ec
Merge pull request #329 from rapidsai/fea/devcontainers-job-timeout
bdice Apr 30, 2025
b29e79c
DOC v25.08 Updates [skip ci]
raydouglass Apr 30, 2025
005b4b0
Drop CUDA 11 builds/tests
bdice May 1, 2025
d1e2676
Merge pull request #333 from rapidsai/drop-cuda-11
bdice May 1, 2025
bcedb56
Merge branch 'branch-25.06' into python-3.13
gforsyth May 1, 2025
16b9c81
Update to CUDA 12.9.
bdice May 7, 2025
070a5c3
make artifact uploads optional (#340)
jameslamb May 7, 2025
647eefa
Merge pull request #341 from rapidsai/branch-25.06
GPUtester May 7, 2025
73b3dcb
Fix type mismatch for graphQL on single selects (#343)
jarmak-nv May 8, 2025
abe1d37
Merge pull request #344 from rapidsai/branch-25.06
GPUtester May 8, 2025
6237c4c
Update step-security/changed-files action to v46 (#342)
renovate[bot] May 12, 2025
f8f95f8
Merge pull request #345 from rapidsai/branch-25.06
GPUtester May 12, 2025
83fd623
Add Python 3.13 (#268)
bdice May 12, 2025
6c9d5a6
Merge branch 'branch-25.06' into cuda-12.9.0
jakirkham May 12, 2025
1ddf097
use GitHub Actions artifacts in conda-cpp-post-build-checks (#347)
jameslamb May 13, 2025
35e0ffc
make input validation, upload logic in build workflows stricter (#348)
jameslamb May 14, 2025
8a31d8e
Merge branch 'branch-25.06' into cuda-12.9.0
jameslamb May 14, 2025
67ed206
Enable pre-commit rules.
bdice May 14, 2025
22ed31a
Sort vars
bdice May 14, 2025
a3a4206
Merge pull request #349 from rapidsai/enable-pre-commit
bdice May 14, 2025
ae58caa
Merge remote-tracking branch 'upstream/branch-25.06' into cuda-12.9.0
bdice May 14, 2025
258ca04
Build with 12.8, test with 12.9.
bdice May 14, 2025
14724d8
Merge pull request #339 from rapidsai/cuda-12.9.0
bdice May 15, 2025
0e76dc4
Replace all `-F` usage with `-f` (#350)
jarmak-nv May 15, 2025
fd30b9c
Merge branch-25.06 into branch-25.08
bdice May 16, 2025
f6c596c
Forward-merge branch-25.06 into branch-25.08 (#352)
AyodeAwe May 18, 2025
2521df5
Add back CUDA 11 jobs
vyasr May 19, 2025
082830c
Add back Python 3.13
vyasr May 19, 2025
8a1d3b1
Switch to 25.06 matrices
vyasr May 19, 2025
86a2846
Merge pull request #354 from rapidsai/fix/revert_cuda11_drop
bdice May 20, 2025
2f858a6
[pre-commit.ci] pre-commit autoupdate (#353)
pre-commit-ci[bot] May 20, 2025
8ab71d5
Merge pull request #355 from rapidsai/branch-25.06
GPUtester May 20, 2025
be881c8
custom-job: deprecate 'run_script' input, in favor of 'script' (#357)
jameslamb May 20, 2025
e6c9fa4
Merge pull request #358 from rapidsai/branch-25.06
GPUtester May 20, 2025
0760c7d
fix: update jq command to remove `exit 4` errors when there is no lin…
jarmak-nv May 21, 2025
e27829e
Merge pull request #360 from rapidsai/branch-25.06
GPUtester May 21, 2025
efdb3a9
make 'script' input required (#362)
jameslamb May 23, 2025
2b9a63d
Merge pull request #365 from rapidsai/branch-25.06
GPUtester May 23, 2025
50eec39
print GitHub API rate limit information to logs (#366)
jameslamb May 23, 2025
a7de8b8
Merge pull request #367 from rapidsai/branch-25.06
GPUtester May 23, 2025
4bf9444
remove 'run_script' input from custom-job (#363)
jameslamb May 27, 2025
566a949
Merge pull request #369 from rapidsai/branch-25.06
GPUtester May 27, 2025
e62a069
Use GitHub Actions artifacts in Anaconda uploads (#364)
jameslamb May 27, 2025
449b517
[pre-commit.ci] pre-commit autoupdate (#368)
pre-commit-ci[bot] May 28, 2025
cff1b66
Add 'build_workflow_name' input, to allow overriding where scripts lo…
jayavenkatesh19 May 28, 2025
2534057
Drop CUDA 11 (#371)
vyasr May 29, 2025
03ca803
Allow use of a different GitHub token from repo secrets (#370)
jameslamb May 30, 2025
c802825
[pre-commit.ci] pre-commit autoupdate (#373)
pre-commit-ci[bot] Jun 2, 2025
361a295
Drop Ubuntu 20.04
bdice Jun 4, 2025
adaf71e
Merge pull request #375 from rapidsai/drop-ubuntu-20.04
bdice Jun 5, 2025
2ab9090
obviate telemetry download (#372)
msarahan Jun 6, 2025
4938edb
[pre-commit.ci] pre-commit autoupdate
pre-commit-ci[bot] Jun 9, 2025
7f9d364
Merge pull request #381 from rapidsai/pre-commit-ci-update-config
bdice Jun 10, 2025
b776780
add input descriptions: branch, date, sha, repo (#380)
jameslamb Jun 10, 2025
732dd1f
Version CI images.
bdice Jun 17, 2025
1e3b13e
Missed citestwheel
bdice Jun 17, 2025
2aec271
Update update-version.sh
bdice Jun 17, 2025
6815442
Merge pull request #384 from rapidsai/version-ci-imgs
bdice Jun 18, 2025
52812af
Update to CUDA 12.9.1. (#385)
bdice Jun 24, 2025
d329cd0
[pre-commit.ci] pre-commit autoupdate (#383)
pre-commit-ci[bot] Jun 24, 2025
d8f8b86
remove ruff (#386)
jameslamb Jun 24, 2025
86c81b1
conda-cpp-post-build-checks: switch to always running by default, add…
jameslamb Jun 25, 2025
69caa94
Upload sccache client logs (#389)
trxcllnt Jul 2, 2025
eb193cf
conda-cpp-post-build-checks: remove input 'enable_check_symbols' (#391)
jameslamb Jul 2, 2025
a8fe84c
Add descriptions on all inputs (#387)
jameslamb Jul 3, 2025
7a5f711
feat: add zizmor static action checks (#390)
gforsyth Jul 16, 2025
5973ed6
custom-job: make artifact name customizable (#393)
jameslamb Jul 16, 2025
2905048
DOC v25.10 Updates [skip ci]
AyodeAwe Jul 17, 2025
5492c01
ci: prevent renovate from incorrectly bumping rapidsai docker images …
gforsyth Jul 21, 2025
cea6b2b
Merge pull request #397 from rapidsai/branch-25.08
GPUtester Jul 21, 2025
c08ddac
[pre-commit.ci] pre-commit autoupdate (#398)
pre-commit-ci[bot] Jul 21, 2025
a8bad1e
Merge pull request #399 from rapidsai/branch-25.08
GPUtester Jul 21, 2025
93f2835
Always upload sccache logs in `build-in-devcontainer.yaml`
trxcllnt Jul 21, 2025
4ea1416
fix zizmor comment
trxcllnt Jul 22, 2025
175bfcc
Merge pull request #400 from rapidsai/fea/always-upload-sccache-logs
bdice Jul 22, 2025
85c680a
Merge pull request #402 from rapidsai/branch-25.08
GPUtester Jul 22, 2025
e2d45d7
disable zizmor for build-in-devcontainer.yaml
trxcllnt Jul 22, 2025
0df0037
Merge pull request #403 from rapidsai/fix/disable-zizmor-on-devcontai…
bdice Jul 22, 2025
d87850d
Merge pull request #404 from rapidsai/branch-25.08
GPUtester Jul 22, 2025
01f7a15
allow customizing build workflow name in conda-upload-packages and wh…
jameslamb Aug 1, 2025
a2832ab
Cache sccache preprocessor and toolchain dirs across runs (#408)
trxcllnt Aug 11, 2025
1fb221d
[pre-commit.ci] pre-commit autoupdate (#410)
pre-commit-ci[bot] Aug 12, 2025
c3a888b
Update preprocessor cache dir in `build-in-devcontainer.yaml` (#411)
trxcllnt Aug 15, 2025
e6b2ffd
[pre-commit.ci] pre-commit autoupdate (#414)
pre-commit-ci[bot] Aug 18, 2025
2e117c4
chore(deps): update aws-actions/configure-aws-credentials action to v…
renovate[bot] Aug 18, 2025
ef0784d
Merge branch 'rapidsai:branch-25.10' into high-level-tracker
jarmak-nv Aug 26, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
268 changes: 268 additions & 0 deletions .github/workflows/project-high-level-tracker.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,268 @@
name: RAPIDS High Level Tracking

on:
workflow_call:
inputs:
PROJECT_ID:
description: "Project ID"
default: "PVT_kwDOAp2shc4ArK9w"
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

General comment for all of these default: values with what look like identifiers from a service.... what are they? Where did the values come from? Are they intended to be overridden?

If every user of this is expected to provide these values at the site where this is called, then I think that:

If these values are intended to be used literally and never overridden, then I think that:

If these values could be used literally but might be overridden, then I think that:

  • the inputs should all have required: true
  • docs should be added here explaining how to set values for them
  • code comments should be added explaining where these defaults came from

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

On the identifiers
They are graphQL nodeIDs; they are static values associated with GitHub projects. Unfortunately, there's no clean way of dealing with these; either we hard-code them to store them, or we re-query their values using logic shown in the helper python script in docs every time we run them. While they look like private keys etc, they're totally public and anyone can query those values.

On defaults:

  1. To make it so caller workflows can be as simple as possible
  2. To allow for flexibility should others want to maintain their own projects using the same structure

If this setup isn't something we're happy with, then I'd go with the hard-code in env. Goal 1 is more important than goal 2.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

anyone can query those values.

Ok but how? Let's imagine you're not available and this breaks complaining about a project with this ID not existing... how would I go find the appropriate values?

The other thing I'm confused about... if it's ok to hard-code a single project's ID, then why is this workflow getting checked into shared-workflows (which contains workflows that are intended to be re-used in many places), instead of in whatever repo the project board is associated with?

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Using logic shown in the helper python script

Ok, I see now that you have docs on how to get these values. Great!

https://github.com/jarmak-nv/shared-workflows/blob/high-level-tracker/docs/project-automation-readme.md#getting-project-and-field-ids

It'd still be helpful to have comments in these files indicated where these specific defaults came from. That's information I'd need to know to update these, or to choose whether or not to override those defaults in calls to these workflows from other repos.

type: string

# ------------- Field IDs -------------
WEEK_FIELD_ID:
description: "Week Field ID"
default: "PVTIF_lADOAp2shc4ArK9wzgiTHg8"
type: string
RELEASE_FIELD_ID:
description: "Release Field ID"
default: "PVTF_lADOAp2shc4ArK9wzgpEYKw"
type: string
STAGE_FIELD_ID:
description: "Stage Field ID"
default: "PVTSSF_lADOAp2shc4ArK9wzgiTH8g"
type: string
START_DATE_FIELD_ID:
description: "Start Date Field ID"
default: "PVTF_lADOAp2shc4ArK9wzgiTHmQ"
type: string
END_DATE_FIELD_ID:
description: "End Date Field ID"
default: "PVTF_lADOAp2shc4ArK9wzgiTHmU"
type: string

# ------------- Option IDs -------------
# Stage options
STAGE_PLANNED_NAME:
description: "📓 Planned option ID"
default: "📓 Planned"
type: string
STAGE_DEVELOPMENT_NAME:
description: "💻 Development option ID"
default: "💻 Development"
type: string
STAGE_BURNDOWN_NAME:
description: "🔥 Burndown option ID"
default: "🔥 Burndown"
type: string
STAGE_CODE_FREEZE_NAME:
description: "❄ Code Freeze option ID"
default: "❄ Code Freeze"
type: string
STAGE_HOTFIX_NAME:
description: "🩹 Hotfix option ID"
default: "🩹 Hotfix"
type: string

secrets:
ADD_TO_PROJECT_GITHUB_TOKEN:
description: "Project Access Token"
required: true

jobs:
process-branch-name:
runs-on: ubuntu-latest
outputs:
release: ${{ 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 "release=$release" >> "$GITHUB_OUTPUT"

get-stage-field:
runs-on: ubuntu-latest
outputs:
stage-id: ${{ steps.get-stage-field.outputs.stage-id }}
needs:
- process-branch-name
steps:
# Add cache step for releases.json
# Pinned to the 4.2 commit SHA
- name: Cache releases.json
id: cache-releases
uses: actions/cache@1bd1e32a3bdc45362d1e726936510720a7c30a57
with:
path: /tmp/releases.json
# Cache key based on date - refresh daily to ensure we get updates
key: ${{ runner.os }}-releases-json-${{ github.run_id }}-${{ github.run_number }}
restore-keys: |
${{ runner.os }}-releases-json-

- name: Get stage field ID
id: get-stage-field
run: |
# Use the "nightly" info from this JSON:
# https://raw.githubusercontent.com/rapidsai/docs/refs/heads/main/_data/releases.json
# to determine the stage for the new release

# Check if cache exists, download only if needed
if [ ! -f "/tmp/releases.json" ] || [ "$(find /tmp/releases.json -mtime +1 -print)" ]; then
echo "Cache miss or expired. Downloading releases.json..."
curl -s https://raw.githubusercontent.com/rapidsai/docs/main/_data/releases.json -o /tmp/releases.json

# Validate the downloaded JSON
if ! jq empty /tmp/releases.json 2>/dev/null; then
echo "Error: Downloaded file is not valid JSON"
rm -f /tmp/releases.json
exit 1
fi
else
echo "Using cached releases.json"
fi

# Use the cached file
RELEASES_JSON=$(cat /tmp/releases.json)

# Extract current repo name from GitHub context
REPO_NAME=$(echo "$GITHUB_REPOSITORY" | cut -d '/' -f 2)
echo "Repository: \"$REPO_NAME\""

# Check if repo is in cudf_dev group
CUDF_DEV_REPOS=("cuDF" "RMM" "rapids-cmake" "raft" "dask-cuda" "ucx-py")
IS_CUDF_DEV="false"
for repo in "${CUDF_DEV_REPOS[@]}"; do
if [[ "$REPO_NAME" == "$repo" ]]; then
IS_CUDF_DEV="true"
break
fi
done
echo "Is cudf_dev group: \"$IS_CUDF_DEV\""

# Get the release from branch name
RELEASE="${{ needs.process-branch-name.outputs.release }}"
echo "Release: $RELEASE"

# Get current date in YYYY-MM-DD format
CURRENT_DATE=$(date +%Y-%m-%d)
echo "Current date: $CURRENT_DATE"

# Extract dates from the releases.json for the current release
if [[ "$IS_CUDF_DEV" == "true" ]]; then
PLANNING_START=$(echo "$RELEASES_JSON" | jq -r --arg rel "$RELEASE" '.[$rel].cudf_dev.planning.start')
DEV_START=$(echo "$RELEASES_JSON" | jq -r --arg rel "$RELEASE" '.[$rel].cudf_dev.development.start')
BURNDOWN_START=$(echo "$RELEASES_JSON" | jq -r --arg rel "$RELEASE" '.[$rel].cudf_dev.burndown.start')
FREEZE_START=$(echo "$RELEASES_JSON" | jq -r --arg rel "$RELEASE" '.[$rel].cudf_dev.freeze.start')
RELEASE_DATE=$(echo "$RELEASES_JSON" | jq -r --arg rel "$RELEASE" '.[$rel].date')
else
PLANNING_START=$(echo "$RELEASES_JSON" | jq -r --arg rel "$RELEASE" '.[$rel].planning.start')
DEV_START=$(echo "$RELEASES_JSON" | jq -r --arg rel "$RELEASE" '.[$rel].development.start')
BURNDOWN_START=$(echo "$RELEASES_JSON" | jq -r --arg rel "$RELEASE" '.[$rel].burndown.start')
FREEZE_START=$(echo "$RELEASES_JSON" | jq -r --arg rel "$RELEASE" '.[$rel].freeze.start')
RELEASE_DATE=$(echo "$RELEASES_JSON" | jq -r --arg rel "$RELEASE" '.[$rel].date')
fi

echo "Planning start: $PLANNING_START"
echo "Development start: $DEV_START"
echo "Burndown start: $BURNDOWN_START"
echo "Freeze start: $FREEZE_START"
echo "Release date: $RELEASE_DATE"

# Determine stage based on current date
STAGE_ID="${{ inputs.STAGE_PLANNED_NAME }}"

if [[ "$CURRENT_DATE" < "$DEV_START" ]]; then
STAGE_ID="${{ inputs.STAGE_PLANNED_NAME }}"
echo "Stage: Planned"
elif [[ "$CURRENT_DATE" < "$BURNDOWN_START" ]]; then
STAGE_ID="${{ inputs.STAGE_DEVELOPMENT_NAME }}"
echo "Stage: Development"
elif [[ "$CURRENT_DATE" < "$FREEZE_START" ]]; then
STAGE_ID="${{ inputs.STAGE_BURNDOWN_NAME }}"
echo "Stage: Burndown"
elif [[ "$CURRENT_DATE" < "$RELEASE_DATE" ]]; then
STAGE_ID="${{ inputs.STAGE_CODE_FREEZE_NAME }}"
echo "Stage: Code Freeze"
else
STAGE_ID="${{ inputs.STAGE_HOTFIX_NAME }}"
echo "Stage: Hotfix"
Comment on lines +165 to +179
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We should move as many of the ${{ }} pre-processor lines as possible to environment variables to prevent script injection attacks.

That goes for this block and any other lines in this workflow.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah fair, if these stay as variables vs going hard-coded per James' comment above I'll update.

I don't think this is a vector for script injection though because the only way these variables get set is inside the action (they aren't affected by a user defined field in a workflow-triggering PR). If a bad actor attempted to set the values in their own branch, it wouldn't have an effect unless we merged it.

One of the frustrating parts of these workflows is that testing is challenging because they need to be merged into the default branch to be functional, but it does provide protection against script injection as a benefit in many cases!

fi

# Set output
echo "stage-id=$STAGE_ID" >> "$GITHUB_OUTPUT"

get-project-id:
uses: ./.github/workflows/project-get-item-id.yaml
secrets: inherit
permissions:
contents: read
with:
PROJECT_ID: ${{ inputs.PROJECT_ID }}
ITEM_NODE_ID: "${{ github.event.pull_request.node_id }}"

update-release-field:
uses: ./.github/workflows/project-set-text-date-numeric-field.yaml
needs:
- get-project-id
- process-branch-name
with:
PROJECT_ID: ${{ inputs.PROJECT_ID }}
FIELD_ID: ${{ inputs.RELEASE_FIELD_ID }}
FIELD_TYPE: text
SET_VALUE: ${{ needs.process-branch-name.outputs.release }}
ITEM_PROJECT_ID: "${{ needs.get-project-id.outputs.ITEM_PROJECT_ID }}"
ITEM_NODE_ID: "${{ github.event.pull_request.node_id }}"
UPDATE_LINKED_ISSUES: true
secrets: inherit

update-stage-field:
uses: ./.github/workflows/project-get-set-single-select-field.yaml
needs:
- get-project-id
- process-branch-name
- get-stage-field
with:
PROJECT_ID: ${{ inputs.PROJECT_ID }}
SINGLE_SELECT_FIELD_ID: ${{ inputs.STAGE_FIELD_ID }}
SINGLE_SELECT_FIELD_NAME: "Stage"
SINGLE_SELECT_OPTION_VALUE: ${{ needs.get-stage-field.outputs.stage-id }}
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

set-opened-date-field:
uses: ./.github/workflows/project-set-text-date-numeric-field.yaml
if: github.event.action == 'opened' || github.event.action == 'workflow_dispatch'
needs:
- get-project-id
with:
PROJECT_ID: ${{ inputs.PROJECT_ID }}
FIELD_ID: ${{ inputs.START_DATE_FIELD_ID }}
FIELD_TYPE: date
SET_VALUE: ${{ github.event.pull_request.created_at }}
ITEM_PROJECT_ID: "${{ needs.get-project-id.outputs.ITEM_PROJECT_ID }}"
ITEM_NODE_ID: "${{ github.event.pull_request.node_id }}"
UPDATE_LINKED_ISSUES: true
secrets: inherit

set-closed-date-field:
uses: ./.github/workflows/project-set-text-date-numeric-field.yaml
if: github.event.action == 'closed' || github.event.action == 'workflow_dispatch'
needs:
- get-project-id
with:
PROJECT_ID: ${{ inputs.PROJECT_ID }}
FIELD_ID: ${{ inputs.END_DATE_FIELD_ID }}
FIELD_TYPE: date
SET_VALUE: ${{ github.event.pull_request.closed_at }}
ITEM_PROJECT_ID: "${{ needs.get-project-id.outputs.ITEM_PROJECT_ID }}"
ITEM_NODE_ID: "${{ github.event.pull_request.node_id }}"
UPDATE_LINKED_ISSUES: true
secrets: inherit

update-week-field:
uses: ./.github/workflows/project-get-set-iteration-field.yaml
needs:
- get-project-id
with:
PROJECT_ID: ${{ inputs.PROJECT_ID }}
ITERATION_FIELD_ID: ${{ inputs.WEEK_FIELD_ID }}
ITERATION_FIELD_NAME: "Week"
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
Loading