Run #5581
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: Run | |
on: | |
schedule: | |
# At every 120th minute. | |
- cron: "*/120 * * * *" | |
push: | |
branches: | |
- main | |
jobs: | |
run: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: navi-language/setup-navi@v1 | |
with: | |
navi-version: v0.11.0 | |
- name: Perform | |
env: | |
CI: 1 | |
FEISHU_WEBHOOK_KEY: ${{ secrets.FEISHU_WEBHOOK_KEY }} | |
run: | | |
navi run | |
git config --global user.name "RSS Bot" | |
git config --global user.email "[email protected]" | |
timestamp=$(date -u) | |
git add -A && git commit -m "Update check state ${timestamp}." || exit 0 | |
git push |