Skip to content

Commit

Permalink
ci(release): switch back to personal token (#1047)
Browse files Browse the repository at this point in the history
  • Loading branch information
zeshuaro authored Jan 18, 2024
1 parent 2e2068a commit 6351d3a
Showing 1 changed file with 2 additions and 16 deletions.
18 changes: 2 additions & 16 deletions .github/workflows/github-actions.yml
Original file line number Diff line number Diff line change
Expand Up @@ -202,13 +202,6 @@ jobs:
build-output: bundle

steps:
- name: Create GitHub App token 🔑
id: create-app-token
uses: tibdex/github-app-token@v2.1.0
with:
app_id: ${{ secrets.GH_APP_ID }}
private_key: ${{ secrets.GH_APP_PRIVATE_KEY }}

- name: Checkout 🛎️
uses: actions/checkout@v4
with:
Expand Down Expand Up @@ -259,7 +252,7 @@ jobs:
shell: bash
run: npx semantic-release --extends ./build.release.config.js
env:
GITHUB_TOKEN: ${{ steps.create-app-token.outputs.token }}
GITHUB_TOKEN: ${{ secrets.PAT }}
APP_TYPE: ${{ matrix.type }}
BUILD_PATH: ${{ matrix.build-path }}
BUILD_OUTPUT: ${{ matrix.build-output }}
Expand All @@ -280,13 +273,6 @@ jobs:
needs: [build]

steps:
- name: Create GitHub App token 🔑
id: create-app-token
uses: tibdex/github-app-token@v2.1.0
with:
app_id: ${{ secrets.GH_APP_ID }}
private_key: ${{ secrets.GH_APP_PRIVATE_KEY }}

- name: Checkout 🛎️
uses: actions/checkout@v4
with:
Expand Down Expand Up @@ -316,4 +302,4 @@ jobs:
- name: Release 🚀
run: npx semantic-release --extends ./publish.release.config.js
env:
GITHUB_TOKEN: ${{ steps.create-app-token.outputs.token }}
GITHUB_TOKEN: ${{ secrets.PAT }}

0 comments on commit 6351d3a

Please sign in to comment.