Skip to content

Update Colours

Update Colours #129

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 }}