ci: Unpin old actions in bloat.yaml workflow (#59941)

Update create-github-app-token in bloat.yaml to use the latest v2. The
comment there says not to go past 1.0.5 as that is the lastest that is
supported on Centos7, but the buildbox used as the container for the
jobs is not a Centos7 container.

Also change underscores to hyphens in the input parameters as the
underscore version was removed in v2.

Bump the version of actions/checkout to the latest too as that was
pinned to an old version for the same reason.
This commit is contained in:
Cam Hutchison
2025-10-06 21:21:48 +00:00
committed by GitHub
parent 24bfafe30c
commit 1ffd5ebdaf
+7 -7
View File
@@ -29,7 +29,7 @@ jobs:
steps:
- name: Checkout base
uses: actions/checkout@v3 # Cannot upgrade to v4 while this runs in centos:7 due to nodejs GLIBC incompatibility
uses: actions/checkout@v5
with:
ref: ${{ github.event.before }}
@@ -37,7 +37,7 @@ jobs:
uses: ./.github/actions/prepare-workspace
- name: Checkout shared-workflow
uses: actions/checkout@v3 # Cannot upgrade to v4 while this runs in centos:7 due to nodejs GLIBC incompatibility
uses: actions/checkout@v5
with:
repository: gravitational/shared-workflows
path: .github/shared-workflows
@@ -53,10 +53,10 @@ jobs:
- name: Generate GitHub Token
id: generate_token
uses: actions/create-github-app-token@v1.0.5 # Cannot upgrade past v1.1 while this runs in centos:7 due to nodejs GLIBC incompatibility
uses: actions/create-github-app-token@v2
with:
app_id: ${{ secrets.REVIEWERS_APP_ID }}
private_key: ${{ secrets.REVIEWERS_PRIVATE_KEY }}
app-id: ${{ secrets.REVIEWERS_APP_ID }}
private-key: ${{ secrets.REVIEWERS_PRIVATE_KEY }}
- if: ${{ steps.cache-build-restore.outputs.cache-hit != 'true' }}
name: Build base
@@ -83,13 +83,13 @@ jobs:
echo "base_stats=$(cat ~/teleport_base_build_stats)" >> $GITHUB_ENV
- name: Checkout branch
uses: actions/checkout@v3 # Cannot upgrade to v4 while this runs in centos:7 due to nodejs GLIBC incompatibility
uses: actions/checkout@v5
with:
clean: false
ref: ${{ github.event.after }}
- name: Checkout shared-workflow
uses: actions/checkout@v3 # Cannot upgrade to v4 while this runs in centos:7 due to nodejs GLIBC incompatibility
uses: actions/checkout@v5
with:
repository: gravitational/shared-workflows
path: .github/shared-workflows