Thanks to visit codestin.com
Credit goes to github.com

Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .github/workflows/commit_performance_result.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ jobs:
echo "Performance results already present"
exit 0
fi
git pull
git commit -m "Add performance results for commit ${{ github.event.inputs.sha }}"
git push

6 changes: 5 additions & 1 deletion .github/workflows/publish_commit.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,12 @@
name: Publish Commit SHA for performance testing
on:
push:
pull_request:
types:
- closed
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Closed, but not merged? Or does close mean merged here?

Copy link
Member Author

@dondonz dondonz Apr 3, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There is no specific "merged" event. See the documentation, I thought "closed" would be the closest to what we want https://docs.github.com/en/actions/writing-workflows/choosing-when-your-workflow-runs/events-that-trigger-workflows#pull_request

branches:
- master
paths-ignore:
- 'performance-results/**'
permissions:
id-token: write # This is required for requesting the JWT
contents: read # This is required for actions/checkout
Expand Down
Loading