diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 24e7a275..01ecfc93 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -17,11 +17,13 @@ env: jobs: release: - name: Release + name: ๐Ÿšš Release runs-on: ubuntu-latest steps: - name: ๐Ÿ•ถ๏ธ Checkout repository uses: actions/checkout@v4 + with: + fetch-depth: 0 - name: ๐Ÿ“ฆ Install uses: ./.github/common/install @@ -32,15 +34,18 @@ jobs: - name: ๐Ÿงช Tests run: npm run test:packages + - name: ๐Ÿฅธ Configure Identity + run: | + git config --global user.email "opensource@nordcom.io" + git config --global user.name "nordcombot" + - name: ๐Ÿค Create Release Pull Request or Publish to NPM id: changesets uses: changesets/action@v1 with: publish: npm release - title: 'Meta: Bump version.' - commit: '' setupGitUser: false env: NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} NPM_TOKEN: ${{ secrets.NPM_TOKEN }} - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + GITHUB_TOKEN: ${{ secrets.MACHINE_USER }}