diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 9505f66..da92433 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -5,7 +5,7 @@ on: types: [published] permissions: - contents: write + contents: read packages: write jobs: @@ -48,8 +48,6 @@ jobs: steps: - name: Checkout uses: actions/checkout@v6 - with: - token: ${{ secrets.GITHUB_TOKEN }} - name: Setup pnpm uses: pnpm/action-setup@v4 @@ -82,12 +80,3 @@ jobs: env: NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} - - name: Commit version bump - run: | - git config user.name "github-actions[bot]" - git config user.email "41898282+github-actions[bot]@users.noreply.github.com" - git add package.json - git commit -m "chore: bump version to ${RELEASE_TAG#v}" || echo "No changes to commit" - git push origin HEAD:main - env: - RELEASE_TAG: ${{ github.ref_name }} diff --git a/commitlint.config.mjs b/commitlint.config.mjs index c79c193..86d5e0c 100644 --- a/commitlint.config.mjs +++ b/commitlint.config.mjs @@ -21,6 +21,6 @@ export default { 'subject-case': [2, 'never', ['sentence-case', 'start-case', 'pascal-case', 'upper-case']], 'subject-empty': [2, 'never'], 'subject-full-stop': [2, 'never', '.'], - 'header-max-length': [2, 'always', 72], + 'header-max-length': [2, 'always', 100], }, };