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

chore: Use label to upload artifacts #457

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

Conversation

ifrost
Copy link
Contributor

@ifrost ifrost commented Mar 11, 2025

✨ Description

Fixes: #443

Important

Before merging to main update restriction rules for gcs-no-approval

📖 Summary of the changes

With this change we can trigger upload of artifacts from PRs by adding "upload" label to a PR. This will trigger a separate step for upload (skipping e2e tests to speed it up).

This way we will get a green "Squash and merge" button even if the Upload was not triggered and reduce number of notifications sent.

🧪 How to test?

Not really possible to test it easily without merging new workflow to the main branch. I tested it in ifrost/deployme#17. By adding additional label "upload" another flow is triggered and added to PR:

Screen.Recording.2025-03-11.at.17.22.47.mov

@github-actions github-actions bot added the chore label Mar 11, 2025
Copy link
Contributor

github-actions bot commented Mar 11, 2025

Unit test coverage

Lines Statements Branches Functions
Coverage: 12%
12.49% (552/4419) 8.97% (137/1527) 9.24% (122/1320)

@ifrost ifrost added the upload Upload PR artifacts to GCS label Mar 11, 2025
@ifrost ifrost removed the upload Upload PR artifacts to GCS label Mar 11, 2025
@ifrost ifrost marked this pull request as ready for review March 11, 2025 16:26
@ifrost ifrost requested a review from a team March 11, 2025 16:28
@ifrost ifrost self-assigned this Mar 12, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[ci] Upload pull request artifacts in a separate workflow
1 participant