Skip to content

Commit bbcf8f3

Browse files
authored
use iterative/py-template to update (#132)
* use iterative/py-template to update * update template * Update .github/workflows/update-template.yaml Co-authored-by: skshetry <skshetry@users.noreply.github.com>
1 parent 61d8fb7 commit bbcf8f3

File tree

3 files changed

+5
-20
lines changed

3 files changed

+5
-20
lines changed

.cruft.json

+3-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"template": "https://github.com/iterative/py-template",
3-
"commit": "84a385c99003c39632dfe985bf0ca4ed08235f36",
3+
"commit": "fdce0adb4bb61a3580ea0430a24ad3ec85749a8b",
44
"context": {
55
"cookiecutter": {
66
"project_name": "scmrepo",
@@ -18,5 +18,6 @@
1818
"_template": "https://github.com/iterative/py-template"
1919
}
2020
},
21-
"directory": null
21+
"directory": null,
22+
"checkout": null
2223
}

.github/workflows/update-template.yaml

+1-17
Original file line numberDiff line numberDiff line change
@@ -12,21 +12,5 @@ jobs:
1212
- name: Check out the repository
1313
uses: actions/checkout@v3
1414

15-
- name: Set up Python
16-
uses: actions/setup-python@v4
17-
with:
18-
python-version: '3.10'
19-
2015
- name: Update template via cruft
21-
id: update
22-
run: |
23-
pip install cruft
24-
cruft update -y
25-
echo "::set-output name=changes::$(git diff)"
26-
27-
- name: Create PR
28-
if: ${{ steps.update.outputs.changes != '' }}
29-
uses: peter-evans/create-pull-request@v4
30-
with:
31-
commit-message: update template
32-
title: update template
16+
uses: iterative/py-template@main

setup.cfg

+1-1
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ tests =
3939
pytest-sugar==0.9.5
4040
pytest-cov==3.0.0
4141
pytest-mock==3.8.2
42-
pylint==2.14.5
42+
pylint==2.15.0
4343
mypy==0.971
4444
pytest-test-utils==0.0.8
4545
pytest-asyncio==0.18.3

0 commit comments

Comments
 (0)