Skip to content

Commit

Permalink
chore(deps): replace tibdex/github-app-token action with actions/crea…
Browse files Browse the repository at this point in the history
…te-github-app-token v1 (#128)

* 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 <[email protected]>
  • Loading branch information
renovate[bot] and stipsan authored Apr 5, 2024
1 parent 5e5d65f commit 1b943f0
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/format-if-needed.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/release-please.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 1b943f0

Please sign in to comment.