Skip to content

Update workflows

Update workflows #15

Workflow file for this run

name: update tags.json
on:
workflow_dispatch:
schedule:
- cron: '0 0 1 * *' # First day of every month
jobs:
update:

Check failure on line 9 in .github/workflows/newtags.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/newtags.yml

Invalid workflow file

You have an error in your yaml syntax on line 9
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: '3.x'
- name: Install and update deps
run: |
python -m pip install -U pip
pip install -U -r requirements.txt
- name: Run newtags.py
run: python newtags.py
env:
DISCORD_WEBHOOK: ${{ secrets.DISCORD_WEBHOOK }}
- name: Auto commit
uses: stefanzweifel/git-auto-commit-action@v4
with:
commit_message: "Cron: Update tags.json"
file_pattern: '*.json'
skip_fetch: false