chore: bump github/codeql-action from 3.27.3 to 3.27.4 #3441
Workflow file for this run
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 Performance Comparison | |
on: | |
pull_request: | |
types: [ labeled ] | |
permissions: | |
pull-requests: write | |
issues: write | |
concurrency: | |
group: build-${{ github.event.pull_request.number || github.ref }}-${{github.workflow}} | |
cancel-in-progress: ${{ github.ref != 'refs/heads/main' }} | |
jobs: | |
build: | |
if: ${{ github.event.label.name == 'help:run-comparisonstats' }} | |
runs-on: ubuntu-latest | |
steps: | |
- name: Remove run-performance-comparison label | |
uses: actions-ecosystem/action-remove-labels@v1 | |
with: | |
github_token: ${{ secrets.GITHUB_TOKEN }} | |
labels: help:run-comparisonstats | |
- name: Check out code into the Go module directory | |
uses: actions/checkout@v4 | |
- name: Parse comment template into gh output | |
id: parse-comment-template-into-gh-output | |
working-directory: ./hack/comparisonstats/comment-text | |
run: | | |
body=$(cat comment.txt) | |
body="${body//'%'/'%25'}" | |
body="${body//$'\n'/'%0A'}" | |
body="${body//$'\r'/'%0D'}" | |
echo "body=$body" >> $GITHUB_OUTPUT | |
- name: Create comment | |
uses: peter-evans/create-or-update-comment@71345be0265236311c031f5c7866368bd1eff043 | |
with: | |
issue-number: ${{ github.event.pull_request.number }} | |
body: "${{ steps.parse-comment-template-into-gh-output.outputs.body }}" |