Skip to content

Commit 23f31ec

Browse files
efiop0x2b3bfa0
andauthored
update template (#30)
* update template * Delete .github/workflows/release.yaml.rej * Delete pyproject.toml.rej * Delete setup.cfg.rej --------- Co-authored-by: 0x2b3bfa0 <[email protected]> Co-authored-by: Helio Machado <[email protected]>
1 parent 369617e commit 23f31ec

File tree

3 files changed

+12
-2
lines changed

3 files changed

+12
-2
lines changed

.cruft.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"template": "https://github.com/iterative/cookiecutter-dvc-plugin",
3-
"commit": "b5468040d24fba172720eaa61fb37dab48bda808",
3+
"commit": "91159828cdce86290b97bf4985732651805523c4",
44
"checkout": null,
55
"context": {
66
"cookiecutter": {

.github/workflows/update-template.yaml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,9 @@ on:
77

88
jobs:
99
update:
10+
permissions:
11+
contents: write
12+
pull-requests: write
1013
runs-on: ubuntu-latest
1114
steps:
1215
- uses: actions/checkout@v3
@@ -23,4 +26,4 @@ jobs:
2326
with:
2427
commit-message: update template
2528
title: update template
26-
token: ${{ secrets.WORKFLOW_TOKEN }}
29+
token: ${{ github.token }}

.pre-commit-config.yaml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,13 @@ ci:
22
skip: [mypy, pylint]
33

44
repos:
5+
- hooks:
6+
- id: no rej
7+
name: Check for .rej files
8+
entry: .rej files found, fix conflicts from these rejected files.
9+
language: fail
10+
files: \.rej$
11+
repo: local
512
- hooks:
613
- id: black
714
language_version: python3

0 commit comments

Comments
 (0)