diff --git a/.github/workflows/changesets.yml b/.github/workflows/changesets.yml index 4c991f0bd91..19bec040cd8 100644 --- a/.github/workflows/changesets.yml +++ b/.github/workflows/changesets.yml @@ -5,7 +5,7 @@ on: workflow_dispatch: push: branches: - - main + - develop concurrency: ${{ github.workflow }}-${{ github.ref }} @@ -13,17 +13,9 @@ 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 # pin@v4.0.0 - name: Install Nodejs @@ -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 }}