-
Notifications
You must be signed in to change notification settings - Fork 111
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
Reusable actions to restest GitHub actions #2330
base: main
Are you sure you want to change the base?
Conversation
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.
Overall this looks good, just a few minor comments below.
Would it be worth also adding workflow templates for these in tektoncd/.github to make them easier to adopt in the other projects?
.github/actions/_slash.yml
Outdated
# - /land: invokes the land-command workflow, to land (merge) PRs | ||
# stacked through ghstack |
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.
This should be replaced with our retest
command, or just reference the other action file instead since that already includes documentation.
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.
Updated
.github/actions/_chatops_retest.yml
Outdated
|
||
- name: Create comment | ||
if: ${{ failure() && steps.landStack.outcome == 'failure' }} | ||
uses: peter-evans/create-or-update-comment@v4 |
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.
we should probably pin actions by sha and let dependabot take care of updating them as needed
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.
Updated
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: AlanGreene, vdemeester The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
ed3d217
to
6a2d693
Compare
Signed-off-by: Andrea Frittoli <[email protected]>
6a2d693
to
312972e
Compare
GITHUB_PULL_URL: ${{ github.event.client_payload.github.payload.issue.pull_request.url }} | ||
|
||
- name: Create comment | ||
if: ${{ failure() && steps.landStack.outcome == 'failure' }} |
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.
Should this reference the Rerun Failed Actions
step instead?
Changes
/kind feature
Submitter Checklist
These are the criteria that every PR should meet, please check them off as you
review them:
See the contribution guide
for more details.