A13-3-1
: Query reports about function overloads at the same location.
#2012
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 Release Performance Check | |
on: | |
issue_comment: | |
types: [created] | |
jobs: | |
dispatch-matrix-check: | |
runs-on: ubuntu-22.04 | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v4 | |
- name: Check permission | |
id: check-write-permission | |
uses: ./.github/actions/check-permissions | |
with: | |
minimum-permission: "write" | |
- name: Generate token | |
id: generate-token | |
uses: actions/create-github-app-token@v1 | |
with: | |
app-id: ${{ vars.AUTOMATION_APP_ID }} | |
private-key: ${{ secrets.AUTOMATION_PRIVATE_KEY }} | |
owner: ${{ github.repository_owner }} | |
repositories: "codeql-coding-standards-release-engineering" | |
- name: Invoke performance test | |
if: ${{ github.event.issue.pull_request && contains(github.event.comment.body, '/test-performance') && steps.check-write-permission.outputs.has-permission }} | |
env: | |
ISSUE_NR: ${{ github.event.issue.number }} | |
GH_TOKEN: ${{ steps.generate-token.outputs.token }} | |
run: | | |
jq -n \ | |
--arg issue_nr "$ISSUE_NR" \ | |
'{"issue-nr": $issue_nr}' \ | |
| \ | |
gh workflow run pr-performance-testing.yml \ | |
--json \ | |
-R github/codeql-coding-standards-release-engineering | |
- uses: actions/github-script@v7 | |
if: ${{ github.event.issue.pull_request && contains(github.event.comment.body, '/test-performance') && steps.check-write-permission.outputs.has-permission }} | |
with: | |
script: | | |
github.rest.issues.createComment({ | |
issue_number: context.issue.number, | |
owner: context.repo.owner, | |
repo: context.repo.repo, | |
body: '🏁 Beep Boop! Performance testing for this PR has been initiated. Please check back later for results. Note that the query package generation step must complete before testing will start so it might be a minute. <br><br> :bulb: If you do not hear back from me please check my status! **I will report even if I fail!**' | |
}) |