auto-update-workflow #1193
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
# This is a basic workflow to help you get started with Actions | |
name: auto-update-workflow | |
# Controls when the action will run. | |
on: | |
schedule: | |
- cron: "0 3 * * *" | |
# Allows you to run this workflow manually from the Actions tab | |
workflow_dispatch: | |
jobs: | |
auto-update-job: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@main | |
with: | |
token: ${{ secrets.MYGITHUB_TOKEN }} | |
- name: configure git | |
run: | | |
git config --global user.email "[email protected]" | |
git config --global user.name "Nicolas DI GREGORIO" | |
- name: run update.sh | |
run: | | |
echo "Run update.sh" | |
bash .github/scripts/update.sh |