diff --git a/.changeset/thick-bikes-taste.md b/.changeset/thick-bikes-taste.md new file mode 100644 index 0000000..e6a1033 --- /dev/null +++ b/.changeset/thick-bikes-taste.md @@ -0,0 +1,5 @@ +--- +"template-files": patch +--- + +Rename CI commits from [ci] to ci: diff --git a/template-files/.github/workflows/DotNet.deployment.yaml b/template-files/.github/workflows/DotNet.deployment.yaml index 7e02fbd..54e63f2 100644 --- a/template-files/.github/workflows/DotNet.deployment.yaml +++ b/template-files/.github/workflows/DotNet.deployment.yaml @@ -52,8 +52,8 @@ jobs: id: changesets with: version: pnpm run version - commit: "[ci] release" - title: "[ci] release" + commit: "ci: release" + title: "ci: release" env: GITHUB_TOKEN: ${{ steps.generate_token.outputs.token}} NPM_TOKEN: ${{ secrets.NPM_TOKEN }} @@ -64,7 +64,7 @@ jobs: git checkout changeset-release/main VERSION=$(node -p "require('./<%= projectFolder %>/package.json').version") NAME=$(node -p "require('./<%= projectFolder %>/package.json').name") - git commit --amend -m "[ci] release $NAME v$VERSION" --no-edit + git commit --amend -m "ci: release $NAME v$VERSION" --no-edit git push origin changeset-release/main:changeset-release/main --force image-tag: @@ -89,7 +89,7 @@ jobs: needs.changesets.outputs.hasChangesets == 'false' && ( contains(github.event.head_commit.message, 'deploy') || - contains(github.event.head_commit.message, '[ci] release') + contains(github.event.head_commit.message, 'ci: release') ) ) || github.event_name == 'workflow_dispatch' diff --git a/template-files/.github/workflows/deployment-with-lunaria.yaml b/template-files/.github/workflows/deployment-with-lunaria.yaml index 92f93c2..72e297c 100644 --- a/template-files/.github/workflows/deployment-with-lunaria.yaml +++ b/template-files/.github/workflows/deployment-with-lunaria.yaml @@ -69,8 +69,8 @@ jobs: id: changesets with: version: pnpm run version - commit: "[ci] release" - title: "[ci] release" + commit: "ci: release" + title: "ci: release" env: GITHUB_TOKEN: ${{ steps.generate_token.outputs.token}} NPM_TOKEN: ${{ secrets.NPM_TOKEN }} @@ -81,7 +81,7 @@ jobs: git checkout changeset-release/main VERSION=$(node -p "require('./<%= projectFolder %>/package.json').version") NAME=$(node -p "require('./<%= projectFolder %>/package.json').name") - git commit --amend -m "[ci] release $NAME v$VERSION" --no-edit + git commit --amend -m "ci: release $NAME v$VERSION" --no-edit git push origin changeset-release/main:changeset-release/main --force image-tag: @@ -106,7 +106,7 @@ jobs: needs.changesets.outputs.hasChangesets == 'false' && ( contains(github.event.head_commit.message, 'deploy') || - contains(github.event.head_commit.message, '[ci] release') + contains(github.event.head_commit.message, 'ci: release') ) ) || github.event_name == 'workflow_dispatch' @@ -198,7 +198,7 @@ jobs: - uses: stefanzweifel/git-auto-commit-action@e348103e9026cc0eee72ae06630dbe30c8bf7a79 # v5.1.0 with: - commit_message: "[ci] deployment" + commit_message: "ci: deployment" release: name: Release diff --git a/template-files/.github/workflows/deployment.yaml b/template-files/.github/workflows/deployment.yaml index 276c0b0..7d533c4 100644 --- a/template-files/.github/workflows/deployment.yaml +++ b/template-files/.github/workflows/deployment.yaml @@ -68,8 +68,8 @@ jobs: id: changesets with: version: pnpm run version - commit: "[ci] release" - title: "[ci] release" + commit: "ci: release" + title: "ci: release" env: GITHUB_TOKEN: ${{ steps.generate_token.outputs.token}} NPM_TOKEN: ${{ secrets.NPM_TOKEN }} @@ -80,7 +80,7 @@ jobs: git checkout changeset-release/main VERSION=$(node -p "require('./<%= projectFolder %>/package.json').version") NAME=$(node -p "require('./<%= projectFolder %>/package.json').name") - git commit --amend -m "[ci] release $NAME v$VERSION" --no-edit + git commit --amend -m "ci: release $NAME v$VERSION" --no-edit git push origin changeset-release/main:changeset-release/main --force image-tag: @@ -105,7 +105,7 @@ jobs: needs.changesets.outputs.hasChangesets == 'false' && ( contains(github.event.head_commit.message, 'deploy') || - contains(github.event.head_commit.message, '[ci] release') + contains(github.event.head_commit.message, 'ci: release') ) ) || github.event_name == 'workflow_dispatch' diff --git a/template-files/.github/workflows/generate-readme-tree.yaml b/template-files/.github/workflows/generate-readme-tree.yaml index 74f6ddc..6193094 100644 --- a/template-files/.github/workflows/generate-readme-tree.yaml +++ b/template-files/.github/workflows/generate-readme-tree.yaml @@ -23,13 +23,13 @@ jobs: uses: peter-evans/create-pull-request@271a8d0340265f705b14b6d32b9829c1cb33d45e # v7.0.8 with: token: ${{ steps.generate_token.outputs.token }} - commit-message: "[ci] update tree" + commit-message: "ci: update tree" committer: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> author: ${{ github.actor }} <${{ github.actor_id }}+${{ github.actor }}@users.noreply.github.com> signoff: false branch: ci-tree delete-branch: true - title: "[ci] update tree" + title: "ci: update tree" body: "This PR was automatically created to update the project structure tree in every `README.md`." labels: 🤖 bot assignees: trueberryless diff --git a/template-files/.github/workflows/publish.yaml b/template-files/.github/workflows/publish.yaml index 2048082..80e6540 100644 --- a/template-files/.github/workflows/publish.yaml +++ b/template-files/.github/workflows/publish.yaml @@ -68,8 +68,8 @@ jobs: id: changesets uses: changesets/action@06245a4e0a36c064a573d4150030f5ec548e4fcc # v1.4.10 with: - commit: "[ci] release" - title: "[ci] release" + commit: "ci: release" + title: "ci: release" env: GITHUB_TOKEN: ${{ steps.generate_token.outputs.token }} NPM_TOKEN: ${{ secrets.NPM_TOKEN }} @@ -80,7 +80,7 @@ jobs: git checkout changeset-release/main VERSION=$(node -p "require('./packages/<%= packageName %>/package.json').version") NAME=$(node -p "require('./packages/<%= packageName %>/package.json').name") - git commit --amend -m "[ci] release $NAME v$VERSION" --no-edit + git commit --amend -m "ci: release $NAME v$VERSION" --no-edit git push origin changeset-release/main:changeset-release/main --force image-tag: @@ -105,7 +105,7 @@ jobs: needs.changesets.outputs.hasChangesets == 'false' && ( contains(github.event.head_commit.message, 'deploy') || - contains(github.event.head_commit.message, '[ci] release') + contains(github.event.head_commit.message, 'ci: release') ) ) || github.event_name == 'workflow_dispatch' diff --git a/template-files/.github/workflows/release.yaml b/template-files/.github/workflows/release.yaml index 1a21e32..c70589b 100644 --- a/template-files/.github/workflows/release.yaml +++ b/template-files/.github/workflows/release.yaml @@ -42,8 +42,8 @@ jobs: id: changesets with: version: pnpm run version - commit: "[ci] release" - title: "[ci] release" + commit: "ci: release" + title: "ci: release" env: GITHUB_TOKEN: ${{ steps.generate_token.outputs.token}} @@ -53,5 +53,5 @@ jobs: git checkout changeset-release/main VERSION=$(node -p "require('./<%= projectFolder %>/package.json').version") NAME=$(node -p "require('./<%= projectFolder %>/package.json').name") - git commit --amend -m "[ci] release $NAME v$VERSION" --no-edit + git commit --amend -m "ci: release $NAME v$VERSION" --no-edit git push origin changeset-release/main:changeset-release/main --force