diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 071ab14..5ded4a6 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -13,9 +13,18 @@ jobs: build-on-pr: runs-on: ubuntu-latest steps: + + - name: Generate GitHub app token + id: generate_app_token + uses: actions/create-github-app-token@v1 + with: + app-id: ${{ vars.HYPER_SDK_APP_ID }} + private-key: ${{ secrets.HYPER_SDK_APP_PRIVATE_KEY }} + - name: Checkout code uses: actions/checkout@v4 with: + token: ${{ steps.generate_app_token.outputs.token }} ref: ${{ github.event.pull_request.head.ref }} fetch-depth: ${{ github.event.pull_request.commits }} @@ -27,3 +36,17 @@ jobs: - name: Install dependencies run: npm ci + + - name: Conventional Changelog Action + id: changelog + uses: TriPSs/conventional-changelog-action@v5.1.0 + with: + github-token: ${{ steps.generate_app_token.outputs.token }} + release-count: 0 + skip-version-file: "true" + git-push: "false" + skip-tag: "true" + skip-bump: "true" + + - name: Git push + run: git push origin github-actions-2