Skip to content

Commit

Permalink
ci(github): restore stefanzweifel/git-auto-commit-action action in re…
Browse files Browse the repository at this point in the history
…lease workflow
  • Loading branch information
ivangabriele committed Aug 14, 2024
1 parent a2a8b5c commit f81778f
Showing 1 changed file with 5 additions and 8 deletions.
13 changes: 5 additions & 8 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,8 @@
name: Release

on:
schedule:
- cron: "0 0 * * *"
workflow_dispatch:

jobs:
update:
runs-on: ubuntu-latest
Expand All @@ -26,12 +24,11 @@ jobs:
gpg_private_key: ${{ secrets.GPG_PRIVATE_KEY }}
trust_level: ultimate
- name: Add, Commit & Push
run: |
git config --global user.email "[email protected]"
git config --global user.name "Ivan Gabriele (Github)"
git add .
git commit -m "feat: update knowledge base"
git push
uses: stefanzweifel/git-auto-commit-action@v5
with:
commit_message: "feat: update knowledge base index"
commit_user_email: [email protected]
commit_user_name: "Ivan Gabriele (Github)"
- name: Create Release Tag
id: tag
run: echo "RELEASE_TAG=v$(date +'%Y.%m.%d')" >> $GITHUB_OUTPUT
Expand Down

0 comments on commit f81778f

Please sign in to comment.