From 9c42b3ba077ce467a3a9c8c7bd09e942c387b555 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Fri, 5 Apr 2024 17:39:51 +0200 Subject: [PATCH] chore(deps): replace tibdex/github-app-token action with actions/create-github-app-token v1 (#71) * chore(deps): replace tibdex/github-app-token action with actions/create-github-app-token v1 * Update format-if-needed.yml * Update release-please.yml --------- Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Cody Olsen <81981+stipsan@users.noreply.github.com> --- .github/workflows/format-if-needed.yml | 6 +++--- .github/workflows/release-please.yml | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/format-if-needed.yml b/.github/workflows/format-if-needed.yml index e73fa31..02c31ac 100644 --- a/.github/workflows/format-if-needed.yml +++ b/.github/workflows/format-if-needed.yml @@ -25,11 +25,11 @@ jobs: - run: pnpm install --ignore-scripts - run: pnpm format - run: git restore .github/workflows CHANGELOG.md - - uses: tibdex/github-app-token@3beb63f4bd073e61482598c45c71c1019b59b73a # v2 + - uses: actions/create-github-app-token@v1 id: generate-token with: - app_id: ${{ secrets.ECOSCRIPT_APP_ID }} - private_key: ${{ secrets.ECOSCRIPT_APP_PRIVATE_KEY }} + app-id: ${{ secrets.ECOSCRIPT_APP_ID }} + private-key: ${{ secrets.ECOSCRIPT_APP_PRIVATE_KEY }} - uses: peter-evans/create-pull-request@70a41aba780001da0a30141984ae2a0c95d8704e # v6 with: author: github-actions <41898282+github-actions[bot]@users.noreply.github.com> diff --git a/.github/workflows/release-please.yml b/.github/workflows/release-please.yml index 02ec404..54f36d0 100644 --- a/.github/workflows/release-please.yml +++ b/.github/workflows/release-please.yml @@ -16,11 +16,11 @@ jobs: # permissions for pushing commits and opening PRs are handled by the `generate-token` step runs-on: ubuntu-latest steps: - - uses: tibdex/github-app-token@3beb63f4bd073e61482598c45c71c1019b59b73a # v2 + - uses: actions/create-github-app-token@v1 id: generate-token with: - app_id: ${{ secrets.ECOSCRIPT_APP_ID }} - private_key: ${{ secrets.ECOSCRIPT_APP_PRIVATE_KEY }} + app-id: ${{ secrets.ECOSCRIPT_APP_ID }} + private-key: ${{ secrets.ECOSCRIPT_APP_PRIVATE_KEY }} # This action will create a release PR when regular conventional commits are pushed to main, it'll also detect if a release PR is merged and npm publish should happen - uses: google-github-actions/release-please-action@v3 id: release