aboutsummaryrefslogtreecommitdiff
path: root/.github/workflows/update.yml
blob: 37876bdfd34604a8264987f69690cc5c5cfae17a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
name: Update the repository with the latest base16 colorschemes
on:
  schedule:
    - cron: "0 0 * * 0" # https://crontab.guru/every-week
jobs:
  run:
    runs-on: ubuntu-latest
    steps:
      - name: Set up Poetry
        uses: abatilo/actions-poetry@v1.5.0
        with:
          python-version: 3.8.0
          poetry_version: 1.0
          args: install
      - name: Fetch the repository code
        uses: actions/checkout@v2
      - name: Run make
        run: poetry run make
      - name: Commit the changes, if any
        uses: stefanzweifel/git-auto-commit-action@v4.1.1
        with:
          commit_message: Update repository with the latest base16 colorschemes
          branch: ${{ github.head_ref }}