Skip to content

Commit 11f3c54

Browse files
committed
fix(ci): use adfinis bot for release commits
1 parent 508eea1 commit 11f3c54

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

.github/workflows/release.yaml

+9-9
Original file line numberDiff line numberDiff line change
@@ -13,12 +13,14 @@ jobs:
1313
steps:
1414
- name: Checkout Repository
1515
uses: actions/checkout@v4
16+
with:
17+
token: ${{ secrets.ADFINISBOT_PAT }}
1618

1719
- name: Semantic Release
1820
uses: go-semantic-release/action@v1
1921
id: semrel
2022
with:
21-
github-token: ${{ secrets.GITHUB_TOKEN }}
23+
github-token: ${{ secrets.ADFINISBOT_PAT }}
2224
allow-initial-development-versions: true
2325

2426
- run: pipx install poetry
@@ -37,15 +39,13 @@ jobs:
3739
cmd: yq eval '(.appVersion = "${{ steps.semrel.outputs.version }}") | (.version = "{{ steps.semrel.outputs.version }}" )' --inplace ./charts/outdated/Chart.yaml
3840

3941
- name: Release Commit
40-
uses: EndBug/add-and-commit@v9
4142
if: steps.semrel.outputs.version != ''
42-
with:
43-
message: "chore(release): ${{ steps.semrel.outputs.version }} [skip ci]"
44-
default_author: github_actions
45-
add: |
46-
api/pyproject.toml
47-
ember/package.json
48-
charts/outdated/Chart.yaml
43+
run: |
44+
git config user.name "Semantic Release"
45+
git config user.email "[email protected]"
46+
git add api/pyproject.toml ember/package.json charts/outdated/Chart.yaml
47+
git commit -m "chore(release): ${{ steps.semrel.outputs.version }} [skip ci]"
48+
git push
4949
5050
- name: Login to GitHub Container Registry
5151
uses: docker/login-action@v3

0 commit comments

Comments
 (0)