Skip to content

Commit

Permalink
refactor(general): Update changesets workflows (#1712)
Browse files Browse the repository at this point in the history
Co-authored-by: Thibault Martinez <[email protected]>
  • Loading branch information
marc2332 and thibault-martinez authored Aug 12, 2024
1 parent 4311bd8 commit b90b83a
Showing 1 changed file with 2 additions and 10 deletions.
12 changes: 2 additions & 10 deletions .github/workflows/changesets.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,25 +5,17 @@ on:
workflow_dispatch:
push:
branches:
- main
- develop

concurrency: ${{ github.workflow }}-${{ github.ref }}

jobs:
version:
runs-on: self-hosted
steps:
- name: Generate token
id: generate_token
uses: tibdex/github-app-token@3beb63f4bd073e61482598c45c71c1019b59b73a # pin@v1
with:
app_id: ${{ secrets.APP_ID }}
private_key: ${{ secrets.APP_PRIVATE_KEY }}

- name: checkout code repository
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # Pin v4.1.1
with:
token: ${{ steps.generate_token.outputs.token }}
fetch-depth: 0
- uses: pnpm/action-setup@fe02b34f77f8bc703788d5817da081398fad5dd2 # [email protected]
- name: Install Nodejs
Expand All @@ -40,4 +32,4 @@ jobs:
# https://github.com/changesets/action#with-version-script
version: pnpm changeset-version
env:
GITHUB_TOKEN: ${{ steps.generate_token.outputs.token }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit b90b83a

Please sign in to comment.