-
Notifications
You must be signed in to change notification settings - Fork 141
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
Attach a patch for needed updates to the TA Tasks #1203
Conversation
d6511b8
to
0544c7d
Compare
@@ -11,3 +11,9 @@ jobs: | |||
uses: actions/checkout@v4 | |||
- name: Check Trusted Artifact variants | |||
run: hack/generate-ta-tasks.sh | |||
- name: Attach patch |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Where does this attachment happen? Can you trigger a test on this PR or will the PR only use the workflows from main?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The patch will be uploaded to GitHub and served from the "Summary" page, here is one from a previous run that I had intentionally made to fail.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I wouldn't know to go to the Summary page. I think I'd be confused about where to get the ta.patch
.
For users of the gh
CLI, the message could give executable instructions:
gh run download "$GITHUB_RUN_ID" -n 'Trusted artifacts patch'
git apply ta.patch
(GITHUB_RUN_ID should be injected automatically into the GH runner environment)
For others, telling them to go to the Summary page would help
When the workflow fails it should attach a patch that folk can apply to get the needed changes on their PR. Reference: https://issues.redhat.com/browse/EC-769
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm
When the workflow fails it should attach a patch that folk can apply to get the needed changes on their PR.
Reference: https://issues.redhat.com/browse/EC-769