Skip to content

chore: bump github/codeql-action from 3.25.2 to 3.26.4 #3345

chore: bump github/codeql-action from 3.25.2 to 3.26.4

chore: bump github/codeql-action from 3.25.2 to 3.26.4 #3345

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@23ff15729ef2fc348714a3bb66d2f655ca9066f2
with:
issue-number: ${{ github.event.pull_request.number }}
body: "${{ steps.parse-comment-template-into-gh-output.outputs.body }}"