diff --git a/.github/workflows/increment-version.yml b/.github/workflows/increment-version.yml index 7cfbed1..20d5e14 100644 --- a/.github/workflows/increment-version.yml +++ b/.github/workflows/increment-version.yml @@ -19,7 +19,14 @@ jobs: timeout-minutes: 5 steps: + - id: generate_token + uses: tibdex/github-app-token@v1.7.0 + with: + app_id: ${{ secrets.APP_ID }} + private_key: ${{ secrets.APP_PRIVATE_KEY }} - uses: actions/checkout@v3 + with: + token: ${{ steps.generate_token.outputs.token }} - name: Version up id: version run: | @@ -31,11 +38,6 @@ jobs: env: INCREMENT_VERSION: ${{ github.event.inputs.increment-version }} - uses: snow-actions/git-config-user@v1.0.0 - - id: generate_token - uses: tibdex/github-app-token@v1.7.0 - with: - app_id: ${{ secrets.APP_ID }} - private_key: ${{ secrets.APP_PRIVATE_KEY }} - name: Commit & PR run: | set -x