Skip to content

Commit

Permalink
fix: generate changelog
Browse files Browse the repository at this point in the history
  • Loading branch information
yaswanth6240 committed Mar 21, 2024
1 parent b55b97b commit 73c5f03
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}

Expand All @@ -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

0 comments on commit 73c5f03

Please sign in to comment.