-
Notifications
You must be signed in to change notification settings - Fork 248
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore(ci): add workflow to automate bumping aztec-packages commit (#7465
- Loading branch information
1 parent
ceaa198
commit 752dc04
Showing
2 changed files
with
50 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,50 @@ | ||
name: Bump external repos pinned commits | ||
|
||
on: | ||
workflow_dispatch: | ||
schedule: | ||
# Trigger at 8am on Mondays | ||
- cron: '0 8 * * 1' | ||
|
||
|
||
jobs: | ||
bump-commit: | ||
name: Update external repo pinned commits | ||
runs-on: ubuntu-22.04 | ||
steps: | ||
- name: Checkout repo | ||
uses: actions/checkout@v4 | ||
with: | ||
ref: master | ||
|
||
- name: Check for existing PR | ||
id: pr-check | ||
run: | | ||
set -xue # print commands | ||
PR_URL=$(gh pr list --repo noir-lang/noir --head bump-aztec-packages --json url --jq ".[0].url") | ||
echo "pr_url=$PR_URL" >> $GITHUB_OUTPUT | ||
env: | ||
GH_TOKEN: ${{ github.token }} | ||
|
||
- name: Configure git | ||
run: | | ||
git config user.name noirwhal | ||
git config user.email [email protected] | ||
- name: Update commit | ||
run: | | ||
git checkout bump-aztec-packages || git checkout -b bump-aztec-packages | ||
./scripts/bump-aztec-packages-commit.sh | ||
git add . | ||
git commit -m 'chore: Update pinned commit of aztec-packages' | ||
git push --set-upstream origin bump-aztec-packages --force | ||
- name: Create PR | ||
if: ${{ steps.pr-check.outputs.pr_url == '' }} | ||
run: | | ||
PR_BODY=""" | ||
Automated update of the pinned commit of [aztec-packages](https://github.com/AztecProtocol/aztec-packages) repository against which we run benchmarks. | ||
""" | ||
gh pr create --repo noir-lang/noir --title "chore: bump external pinned commits" --body "$PR_BODY" --base master --head bump-aztec-packages | ||
env: | ||
GH_TOKEN: ${{ secrets.NOIR_REPO_TOKEN }} |
File renamed without changes.
752dc04
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.
Possible performance regression was detected for benchmark 'Compilation Time'.
Benchmark result of this commit is worse than the previous benchmark result exceeding threshold
1.20
.sha256_regression
1.26
s0.969
s1.30
regression_4709
0.934
s0.709
s1.32
ram_blowup_regression
25.1
s20.1
s1.25
global_var_regression_entry_points
0.685
s0.52
s1.32
This comment was automatically generated by workflow using github-action-benchmark.
CC: @TomAFrench