Commit Vazio Mensal #14
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Commit Vazio Mensal | |
on: | |
workflow_dispatch: | |
schedule: | |
- cron: 0 0 1 * * | |
env: | |
LANG: "pt_BR.UTF-8" | |
jobs: | |
empty_commit: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout Repository | |
uses: actions/checkout@v4 | |
with: | |
ref: repo/commits-vazios | |
- run: git config user.email ${{ secrets.BOT_EMAIL }} | |
- run: git config user.name "apyb-bot" | |
- name: Cria commit vazio | |
run: git commit --allow-empty -m "Commit mensal para manter o repositório ativo" | |
- name: Push commit | |
run: git push origin repo/commits-vazios | |
env: | |
GH_TOKEN: ${{ secrets.BOT_GITHUB_TOKEN }} |