Excavator #1571
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: Excavator | |
on: | |
schedule: | |
# run every 4 hours | |
- cron: '20 */4 * * *' | |
workflow_dispatch: | |
jobs: | |
excavate: | |
name: Excavate | |
runs-on: windows-latest | |
steps: | |
- uses: actions/checkout@main | |
- name: Excavate | |
uses: ScoopInstaller/GithubActions@main | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
SKIP_UPDATED: 1 | |
- name: Update readme | |
shell: pwsh | |
run: ./bin/update_readme.ps1 | |
- name: commit and push | |
run: | | |
git config --local user.email "[email protected]" | |
git config --local user.name "Ali Mustakim" | |
git add . | |
git diff-index --quiet HEAD || git commit -a -m "github actions update" | |
git push origin |