Skip to content

Commit 2fdf392

Browse files
efiop0x2b3bfa0
andauthored
update template (#53)
Co-authored-by: 0x2b3bfa0 <[email protected]> Co-authored-by: Helio Machado <[email protected]>
1 parent 223a353 commit 2fdf392

File tree

4 files changed

+30
-2
lines changed

4 files changed

+30
-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": "5e94b9534e6e169da559d3621884051c1575e7e1",
3+
"commit": "91159828cdce86290b97bf4985732651805523c4",
44
"checkout": null,
55
"context": {
66
"cookiecutter": {

.github/workflows/release.yaml.rej

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
diff a/.github/workflows/release.yaml b/.github/workflows/release.yaml (rejected hunks)
2+
@@ -9,6 +9,10 @@ permissions:
3+
4+
jobs:
5+
pip:
6+
+ environment: pypi
7+
+ permissions:
8+
+ contents: read
9+
+ id-token: write
10+
runs-on: ubuntu-20.04
11+
steps:
12+
- uses: actions/checkout@v3
13+
@@ -27,5 +31,3 @@ jobs:
14+
twine check dist/*
15+
- name: Publish packages to PyPI
16+
uses: pypa/gh-action-pypi-publish@release/v1
17+
- with:
18+
- 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)