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

Refactor github.actor to replace 'fixed' strings and add context checks of buildx for sequential compilation and partial failures scenario #1903

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

Quleaf
Copy link

@Quleaf Quleaf commented Jul 9, 2024

Description

  1. Refactor github.actor:
    Replace 'fixed' strings with the more flexible github.actor. This change ensures that workflows accommodate any general actor who forks the repository and utilizes GitHub Actions, rather than being limited to fixed string values.

  2. Context Checks for Buildx:
    Implement context checks in the buildx step, especially when using a single linux-xxx-cpu8 for parallel workflows. This ensures the build context is correctly validated, addressing potential issues in sequential compilation and scenarios where partial failures might occur.

…ns, the github.actor is required in workflows other than those involving fixed string.

    Additionally, when using a linux-amd64-cpu8 for parallel workflows, it is necessary to include a step to check the context for buildx.
Copy link

copy-pr-bot bot commented Jul 9, 2024

This pull request requires additional validation before any workflows can run on NVIDIA's runners.

Pull request vetters can view their responsibilities here.

Contributors can view more details about this message here.

Copy link

github-actions bot commented Jul 9, 2024

CLA Assistant Lite bot All Contributors have signed the CLA.

@Quleaf
Copy link
Author

Quleaf commented Jul 9, 2024

I have read the Contributor License Agreement and I hereby accept the Terms.

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.

1 participant