Skip to content

.github/workflows/new_series.yml #5377

.github/workflows/new_series.yml

.github/workflows/new_series.yml #5377

Workflow file for this run

on:
schedule:
- cron: '*/10 * * * *'
workflow_dispatch:
permissions: write-all
jobs:
push_new_series:
runs-on: ubuntu-24.04
concurrency:
group: push_new_series
cancel-in-progress: true
steps:
- name: checkout
uses: actions/checkout@v3
with:
# a PAT must be generated with workflow permission, else it's not
# possible to push any change for those files
# https://docs.github.com/en/actions/writing-workflows/choosing-when-your-workflow-runs/triggering-a-workflow#triggering-a-workflow-from-a-workflow
token: ${{ secrets.WORKFLOW_COMMIT_TOKEN }}
- run: git fetch -a origin --unshallow || true
- run: git config user.name "GitHub Actions Bot"
- run: git config user.email "<[email protected]>"
- run: git config advice.detachedHead false
- run: sudo pip install b4
- run: ./push_new_series.sh