Skip to content

Commit

Permalink
fix MR creation
Browse files Browse the repository at this point in the history
  • Loading branch information
Mikel Broström committed Sep 20, 2024
1 parent 08150ed commit 83137cb
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/benchmark.yml
Original file line number Diff line number Diff line change
Expand Up @@ -208,14 +208,16 @@ jobs:
git add README.md
git commit -m "Overwrote tracker results in README.md"
git push origin "$BRANCH_NAME"
env:
BRANCH_NAME: ${{ steps.create_branch.outputs.BRANCH_NAME }}

# Create a pull request (PR)
- name: Create Pull Request
if: steps.check_changes.outputs.changed == 'true'
uses: peter-evans/create-pull-request@v5
with:
token: ${{ secrets.GITHUB_TOKEN }}
branch: ${{ github.ref }}
branch: ${{ env.BRANCH_NAME }} # Use the created branch
commit-message: Overwrote tracker results in README.md
title: Overwrite tracker results in README.md
body: "This PR updates the tracker results table in the README.md."

0 comments on commit 83137cb

Please sign in to comment.