fix(deps): update dependency io.projectreactor:reactor-bom to v2023.0.6 #716
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
name: "Run benchmark" | |
on: | |
pull_request_target: | |
types: [assigned, opened, synchronize, reopened, edited] | |
push: | |
branches: | |
- main | |
permissions: | |
contents: write | |
pull-requests: write | |
issues: write | |
jobs: | |
build: | |
runs-on: benchmarking-runner | |
if: github.event.head_commit.message != 'Update performance results in README.md' | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
steps: | |
- name: Checkout (GitHub) | |
uses: actions/checkout@v4 | |
with: | |
token: ${{ secrets.GITHUB_TOKEN }} | |
ref: ${{ github.event_name == 'pull_request_target' && github.event.pull_request.head.sha || github.sha }} | |
# - name: Set up Git | |
# run: | | |
# git config --global user.email "github-actions[bot]@users.noreply.github.com" | |
# git config --global user.name "github-actions[bot]" | |
- name: Build devcontainer and run benchmarks | |
uses: devcontainers/[email protected] | |
with: | |
imageName: graphql-benchmarks | |
push: never | |
runCmd: | | |
bash ./setup.sh | |
bash ./run_benchmarks.sh | |
- name: Print benchmark results | |
run: cat ./results.md | |
- name: Comment benchmark results on PR | |
if: github.event_name == 'pull_request_target' | |
uses: peter-evans/commit-comment@v3 | |
with: | |
sha : ${{ github.event.pull_request.head.sha }} | |
body-path: 'results.md' | |
reactions: eyes | |
- name: Commit and push changes (on main branch) | |
if: github.event_name == 'push' && github.ref == 'refs/heads/main' | |
uses: stefanzweifel/git-auto-commit-action@v5 | |
with: | |
branch: main | |
commit_author: Author <[email protected]> | |
commit_message: "Update performance results in README.md" |