Skip to content

Daily test sync

Daily test sync #1376

Workflow file for this run

name: Daily test sync
on:
schedule:
- cron: '20 20 * * *'
workflow_dispatch: {}
jobs:
update:
runs-on: ubuntu-latest
if: github.repository_owner == 'tabatkins'
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: 3.8
- name: install dependencies
run: |
pip install -r .github/workflows/update-tests/requirements.txt
pip install --editable .
bikeshed update
- name: update tests
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
rm -rf tests/github
python .github/workflows/update-tests/update.py
# paths need to be relative to tests/
(cd tests; find github -type f) | xargs bikeshed test --rebase
- name: Create/Update PR
uses: peter-evans/create-pull-request@v7
with:
branch: daily-test-sync
commit-message: 'chore: Sync Bikeshed files from specs.data list'
title: 'Daily sync of Bikeshed files from specs.data'