Skip to content

Commit

Permalink
fix(ci): use adfinis bot for release commits
Browse files Browse the repository at this point in the history
  • Loading branch information
c0rydoras committed Feb 20, 2024
1 parent 508eea1 commit 44c63ae
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@ jobs:
steps:
- name: Checkout Repository
uses: actions/checkout@v4
with:
token: ${{ secrets.ADFINISBOT_PAT }}

- name: Semantic Release
uses: go-semantic-release/action@v1
Expand All @@ -37,15 +39,13 @@ jobs:
cmd: yq eval '(.appVersion = "${{ steps.semrel.outputs.version }}") | (.version = "{{ steps.semrel.outputs.version }}" )' --inplace ./charts/outdated/Chart.yaml

- name: Release Commit
uses: EndBug/add-and-commit@v9
if: steps.semrel.outputs.version != ''
with:
message: "chore(release): ${{ steps.semrel.outputs.version }} [skip ci]"
default_author: github_actions
add: |
api/pyproject.toml
ember/package.json
charts/outdated/Chart.yaml
run: |
git config user.name "Adfinisbot"
git config user.email "info@adfinis.com"
git add api/pyproject.toml ember/package.json charts/outdated/Chart.yaml
git commit -m "chore(release): ${{ steps.semrel.outputs.version }} [skip ci]"
git push
- name: Login to GitHub Container Registry
uses: docker/login-action@v3
Expand Down

0 comments on commit 44c63ae

Please sign in to comment.