Skip to content

Commit

Permalink
ci: migrate to official create app token action (#907)
Browse files Browse the repository at this point in the history
  • Loading branch information
zeshuaro committed Jun 20, 2024
1 parent d24e2ee commit f8ec937
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions .github/workflows/github-actions.yml
Original file line number Diff line number Diff line change
Expand Up @@ -76,16 +76,17 @@ jobs:

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

- name: Checkout 🛎️
uses: actions/checkout@v4
with:
fetch-depth: 0
token: ${{ steps.app-token.outputs.token }}
persist-credentials: false

- name: Setup Node 💻
Expand All @@ -100,5 +101,5 @@ jobs:
- name: Release 🚀
run: npx semantic-release
env:
GITHUB_TOKEN: ${{ steps.create-app-token.outputs.token }}
GITHUB_TOKEN: ${{ steps.app-token.outputs.token }}
VSCE_PAT: ${{ secrets.VSCE_PAT }}

0 comments on commit f8ec937

Please sign in to comment.