Skip to content

Commit 7ccd46a

Browse files
efiop0x2b3bfa0
andauthored
update template (#21)
* update template * Delete pyproject.toml.rej * Delete setup.cfg.rej --------- Co-authored-by: 0x2b3bfa0 <[email protected]> Co-authored-by: Helio Machado <[email protected]>
1 parent 122106e commit 7ccd46a

File tree

4 files changed

+16
-4
lines changed

4 files changed

+16
-4
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/release.yaml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,10 @@ permissions:
99

1010
jobs:
1111
pip:
12+
environment: pypi
13+
permissions:
14+
contents: read
15+
id-token: write
1216
runs-on: ubuntu-20.04
1317
steps:
1418
- uses: actions/checkout@v3
@@ -27,5 +31,3 @@ jobs:
2731
twine check dist/*
2832
- name: Publish packages to PyPI
2933
uses: pypa/gh-action-pypi-publish@release/v1
30-
with:
31-
password: ${{ secrets.PYPI_TOKEN }}

.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)