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
ci: add auto-submit workflow for snapshot/timestamp #556
Conversation
Signed-off-by: Asra Ali <asraa@google.com>
Signed-off-by: Asra Ali <asraa@google.com>
Signed-off-by: Asra Ali <asraa@google.com>
/repos/"${GITHUB_REPOSITORY}"/pulls/"${PULL_NUMBER}"/merge \ | ||
-f commit_title='Update Snapshot and Timestamp' \ | ||
-f commit_message='update snapshot and timestamp' | ||
fi |
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.
nit: new line 😬
PULL_NUMBER=$(echo "${UPDATE_PR}" | jq -r '.number') | ||
|
||
# Approve PR | ||
curl \ |
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.
you can use the gh pr review PR_NUMBER --approve
i guess
i wll merge and see if it will work, if not we can follow up on that |
i will trigger that manually instead of wait for 6 hours :) |
|
Signed-off-by: Asra Ali asraa@google.com
This PR adds an auto-submit bot for the snapshot/timestamp updates. The workflow will still trigger, and then this will run every 6 hours to (1) Check for any outstanding snapshot/timestamp updates (2) Start a review and approve and (3) Attempt to merge.
Fixes #553
cc @haydentherapper
Summary
Release Note
Documentation