From 8769f52d7941b6c044f5168b803b4bf7656da696 Mon Sep 17 00:00:00 2001 From: David Anson Date: Sat, 5 Jul 2025 04:05:43 +0000 Subject: [PATCH] wip --- .github/workflows/update-test-repos.yml | 28 +++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 .github/workflows/update-test-repos.yml diff --git a/.github/workflows/update-test-repos.yml b/.github/workflows/update-test-repos.yml new file mode 100644 index 00000000..7bb9135f --- /dev/null +++ b/.github/workflows/update-test-repos.yml @@ -0,0 +1,28 @@ +name: UpdateTestRepos + +on: + push: + branches-ignore: + - 'dependabot/**' + schedule: + - cron: '30 12 * * *' + workflow_dispatch: + +jobs: + build: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + with: + ref: next + - uses: actions/setup-node@v4 + - run: BRANCHNAME=$(date +update-test-repos-%Y%m%d%H%M%S) + - run: git checkout -b $BRANCHNAME + - run: npm install + - run: npm run update-test-repos + continue-on-error: true + - run: exit 0 + if: ${{ success() }} + - run: git add . + - run: git commit -m "Update test repo snapshots." + - run: git push --set-upstream origin $BRANCHNAME