Skip to content

Commit 55b4a10

Browse files
authored
Merge branch 'main' into ordered_enum_values
2 parents 8476fe3 + 48b9388 commit 55b4a10

File tree

2 files changed

+13
-2
lines changed

2 files changed

+13
-2
lines changed

.github/renovate.json

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,5 +3,13 @@
33
"config:base",
44
":semanticCommitTypeAll(chore)"
55
],
6-
"rangeStrategy": "widen"
6+
"rangeStrategy": "widen",
7+
"regexManagers": [
8+
{
9+
"fileMatch": ["release.*.yml"],
10+
"matchStrings": ["knope.*\\s*with:\\s*version:\\s*(?<currentValue>.*?)$"],
11+
"depNameTemplate": "knope",
12+
"datasourceTemplate": "crate"
13+
}
14+
]
715
}

.github/workflows/release.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,9 @@ name: Release
22

33
on: workflow_dispatch
44

5+
permissions:
6+
contents: write
7+
58
jobs:
69
release:
710
runs-on: ubuntu-latest
@@ -24,7 +27,7 @@ jobs:
2427
- name: Bump Version & Create GitHub Release
2528
run: knope release
2629
env:
27-
GITHUB_TOKEN: ${{ secrets.PAT }}
30+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
2831
- name: Install Poetry
2932
run: pip install --upgrade poetry
3033
- name: Push to PyPI

0 commit comments

Comments
 (0)