Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add changed-files workflow #239

Merged
merged 7 commits into from
Sep 17, 2024
Merged

Add changed-files workflow #239

merged 7 commits into from
Sep 17, 2024

Conversation

KyleFromNVIDIA
Copy link
Contributor

@KyleFromNVIDIA KyleFromNVIDIA commented Aug 30, 2024

The logic for the "figure out which files changed" workflow is rather complex. Establish a shared workflow to handle the complexity of it.

Contributes to rapidsai/build-planning#94

Tested in rapidsai/cugraph#4634 and rapidsai/cudf#16713

.github/workflows/changed-files.yaml Show resolved Hide resolved
run:
shell: bash

permissions:
Copy link
Contributor

Choose a reason for hiding this comment

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

Review this. Do we need “read” on packages?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Probably not. I'm also questioning whether we need id-token: write.

Requesting input from @ajschmidt8.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

We can revisit this later. I'll go ahead and merge.

Copy link
Member

Choose a reason for hiding this comment

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

Probably not. I'm also questioning whether we need id-token: write.

Requesting input from @ajschmidt8.

No, id-token: write is not necessary here. It's only needed in workflows that require AWS credentials via aws-actions/configure-aws-credentials.

Can this branch be deleted now that the PR is merged?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I went ahead and deleted it.

@KyleFromNVIDIA KyleFromNVIDIA merged commit 97eda37 into branch-24.10 Sep 17, 2024
@KyleFromNVIDIA KyleFromNVIDIA deleted the changed-files branch September 18, 2024 15:15
rapids-bot bot pushed a commit to rapidsai/cudf that referenced this pull request Sep 26, 2024
copy-pr-bot bot pushed a commit to rapidsai/cudf that referenced this pull request Sep 28, 2024
rapids-bot bot pushed a commit to rapidsai/cugraph that referenced this pull request Oct 1, 2024
Only run tests based on things that have actually changed. For example, if only Python files have changed, we don't need to run the C++ tests.

Contributes to rapidsai/build-planning#94

Depends on rapidsai/shared-workflows#239

Authors:
  - Kyle Edwards (https://github.com/KyleFromNVIDIA)

Approvers:
  - Robert Maynard (https://github.com/robertmaynard)
  - Jake Awe (https://github.com/AyodeAwe)

URL: #4634
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants