diff --git a/.github/workflows/on-docs-change.yml b/.github/workflows/on-docs-change.yml index d25650c9b4..984a0cf2fa 100644 --- a/.github/workflows/on-docs-change.yml +++ b/.github/workflows/on-docs-change.yml @@ -26,6 +26,9 @@ jobs: uses: actions/setup-node@v2 with: node-version: '17.2' + - name: "Setup npm" + run: | + npm set "//registry.npmjs.org/:_authToken=${{ secrets.NPM_TOKEN }}" - name: Install dependencies run: | pip install --upgrade pip diff --git a/.github/workflows/on-release.yml b/.github/workflows/on-release.yml index 78765832b2..cae8d94197 100644 --- a/.github/workflows/on-release.yml +++ b/.github/workflows/on-release.yml @@ -12,6 +12,7 @@ jobs: - name: "Checkout" uses: actions/checkout@v2 with: + token: ${{ secrets.GH_PUBLISH_TOKEN }} fetch-depth: 0 - name: "Use NodeJS 14" @@ -33,10 +34,11 @@ jobs: run: npm run lerna-test - name: "Version and publish" env: - GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} + GH_TOKEN: ${{ secrets.GH_PUBLISH_TOKEN }} run: | - git config user.name "${{ github.actor }}" - git config user.email "${{ github.actor}}@users.noreply.github.com" + git config --global user.name 'github-actions[bot]' + git config --global user.email 'github-actions[bot]@users.noreply.github.com' + git remote set-url origin https://x-access-token:${GH_TOKEN}@github.com/$GITHUB_REPOSITORY if [ ${{ github.base_ref }} = main ]; then npx lerna version --conventional-commits --create-release github --yes diff --git a/packages/commons/CHANGELOG.md b/packages/commons/CHANGELOG.md new file mode 100644 index 0000000000..e831fe09d3 --- /dev/null +++ b/packages/commons/CHANGELOG.md @@ -0,0 +1,8 @@ +# Change Log + +All notable changes to this project will be documented in this file. +See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. + +# [0.1.0-beta.10](https://github.com/awslabs/aws-lambda-powertools-typescript/compare/v0.1.0-beta.9...v0.1.0-beta.10) (2021-12-17) + +**Note:** Version bump only for package @aws-lambda-powertools/commons