feat: Add git action
All checks were successful
Build and Push Docker Image / Build (push) Successful in 22s

This commit is contained in:
Jan K9f 2025-09-11 15:32:17 +02:00
commit c45aa9e9ae
Signed by: jank
GPG key ID: 22BEAC760B3333D6
2 changed files with 11 additions and 16 deletions

View file

@ -29,19 +29,3 @@ jobs:
with: with:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GITEA_TOKEN: ${{ secrets.GITEA_TOKEN }} GITEA_TOKEN: ${{ secrets.GITEA_TOKEN }}
- name: Make changes
if: ${{ steps.semantic.outputs.new_release_published }}
run: |
git config --local user.email "forgejo@kjan.email"
git config --local user.name "forgejo[bot]"
git add docs/
git commit -m "chore(release): [skip ci]"
continue-on-error: true
- name: Push changes
uses: ad-m/github-push-action@master
continue-on-error: true
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
branch: main

View file

@ -15,5 +15,16 @@ module.exports = {
giteaUrl: "https://git.kjan.de", giteaUrl: "https://git.kjan.de",
}, },
], ],
[
"@semantic-release/git",
{
assets: ["docs"],
message:
"chore(release): ${nextRelease.version} [skip ci]\n\n${nextRelease.notes}",
branch: {
name: "main",
},
},
],
], ],
}; };