Update Colours #129
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: Update Colours | |
on: | |
schedule: | |
- cron: '11 19 * * MON' | |
push: | |
paths-ignore: | |
- 'colors.json' | |
- 'README.md' | |
jobs: | |
update_colours: | |
name: Update Colours | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout Repository | |
uses: actions/checkout@v2 | |
- name: Update colours | |
run: 'python github-colors.py' | |
- name: Commit | |
run: | | |
git config --local user.name "GitHub Actions" | |
git config --local user.email "[email protected]" | |
git commit -am "update colours" | |
- name: Push changes | |
uses: ad-m/github-push-action@master | |
with: | |
github_token: ${{ secrets.GITHUB_TOKEN }} | |
branch: ${{ github.ref }} |