From ee4d3540d9aedfd733a6ebd17c4d3c3a67f77bd4 Mon Sep 17 00:00:00 2001 From: "michal.gubricky" Date: Wed, 10 Apr 2024 09:30:29 +0200 Subject: [PATCH] Make token generation uniform across all pipelines Signed-off-by: michal.gubricky --- .github/workflows/pr-verify.yml | 6 +++--- .github/workflows/schedule-link-checker.yml | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/pr-verify.yml b/.github/workflows/pr-verify.yml index a5322561..21e650a5 100644 --- a/.github/workflows/pr-verify.yml +++ b/.github/workflows/pr-verify.yml @@ -39,11 +39,11 @@ jobs: done - name: Generate Token - uses: tibdex/github-app-token@3beb63f4bd073e61482598c45c71c1019b59b73a # v2 + uses: actions/create-github-app-token@f2acddfb5195534d487896a656232b016a682f3c # v1 id: generate-token with: - app_id: ${{ secrets.SCS_APP_ID }} - private_key: ${{ secrets.SCS_APP_PRIVATE_KEY }} + app-id: ${{ secrets.SCS_APP_ID }} + private-key: ${{ secrets.SCS_APP_PRIVATE_KEY }} - name: Generate Size uses: pascalgn/size-label-action@37a5ad4ae20ea8032abf169d953bcd661fd82cd3 # v0.5.0 env: diff --git a/.github/workflows/schedule-link-checker.yml b/.github/workflows/schedule-link-checker.yml index d2098a36..b91eb1aa 100644 --- a/.github/workflows/schedule-link-checker.yml +++ b/.github/workflows/schedule-link-checker.yml @@ -14,11 +14,11 @@ jobs: uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1 - name: Generate Token - uses: tibdex/github-app-token@3beb63f4bd073e61482598c45c71c1019b59b73a # v2 + uses: actions/create-github-app-token@f2acddfb5195534d487896a656232b016a682f3c # v1 id: generate-token with: - app_id: ${{ secrets.SCS_APP_ID }} - private_key: ${{ secrets.SCS_APP_PRIVATE_KEY }} + app-id: ${{ secrets.SCS_APP_ID }} + private-key: ${{ secrets.SCS_APP_PRIVATE_KEY }} - name: Link Checker uses: lycheeverse/lychee-action@c053181aa0c3d17606addfe97a9075a32723548a # v1.9.3