Skip to content

Commit

Permalink
Update sync.yaml (#60)
Browse files Browse the repository at this point in the history
  • Loading branch information
grst authored Oct 19, 2022
1 parent 3f8096f commit 008f8ae
Showing 1 changed file with 10 additions and 9 deletions.
19 changes: 10 additions & 9 deletions .github/workflows/sync.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,20 +3,20 @@ name: Sync Template
on:
workflow_dispatch:
schedule:
- cron: "0 2 * * *" # every night at 2:00
- cron: "0 2 * * *" # every night at 2:00 UTC

jobs:
sync:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up Python 3.10
uses: actions/setup-python@v2
uses: actions/setup-python@v4
with:
python-version: "3.10"
- name: Install dependencies
# for now, pin cookiecutter version, due to https://github.com/cruft/cruft/issues/166
run: python -m pip install --upgrade cruft "cookiecutter<2" pre-commit
run: python -m pip install --upgrade cruft "cookiecutter<2" pre-commit toml
- name: Find Latest Tag
uses: oprypin/[email protected]
id: get-latest-tag
Expand All @@ -35,11 +35,12 @@ jobs:
branch: template-update
title: Automated template update from cookiecutter-scverse
body: |
A new version of the scverse cookiecutter template got released. This PR
adds all new changes to your repository and helps to to stay in sync with the latest
best-practice template maintained by the scverse team.
A new version of the [scverse cookiecutter template](https://github.com/scverse/cookiecutter-scverse/releases)
got released. This PR adds all new changes to your repository and helps to to stay in sync with
the latest best-practice template maintained by the scverse team.
If a merge conflict arised, a `.rej` file with the rejected patch is generated. You'll need to
manually merge these changes.
**If a merge conflict arised, a `.rej` file with the rejected patch is generated. You'll need to
manually merge these changes.**
For more information about the template sync, please refer to the [template documentation](TODO).
For more information about the template sync, please refer to the
[template documentation](https://cookiecutter-scverse-instance.readthedocs.io/en/latest/developer_docs.html#automated-template-sync).

0 comments on commit 008f8ae

Please sign in to comment.