File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -4,10 +4,77 @@ This is a test readme.
44
55This will update:
66``` python:.github/workflows/test_code_embedder.yml
7+ name: Test Code Embedder
8+
9+ on: pull_request
10+
11+ jobs:
12+ code_embedder:
13+ name: "Code embedder"
14+ runs-on: ubuntu-latest
15+ steps:
16+ - name: Checkout
17+ uses: actions/checkout@v3
18+ with:
19+ ref: ${{ github.event.pull_request.head.ref }}
20+
21+ - name: Run code embedder
22+ uses: ./
23+ with:
24+ readme_paths: .github/test_README.md .github/test_empty_README.md
25+ env:
26+ GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
27+
728```
829
930This will update:
1031``` yaml:.github/release-drafter-config.yml
32+ name-template: 'v$RESOLVED_VERSION 🌈'
33+ tag-template: 'v$RESOLVED_VERSION'
34+ change-template: '- $TITLE @$AUTHOR (#$NUMBER)'
35+
36+ version-resolver:
37+ major:
38+ labels:
39+ - 'major'
40+ - 'breaking'
41+ - 'breaking change'
42+ minor:
43+ labels:
44+ - 'minor'
45+ default: patch
46+
47+ categories:
48+ - title: 🏆 Highlights
49+ labels: highlight
50+ - title: ✨ Features
51+ labels:
52+ - feature
53+ - enhancement
54+ - title: 🚀 Performance improvements
55+ labels: performance
56+ - title: 🐛 Bug Fixes
57+ labels:
58+ - fix
59+ - bugfix
60+ - bug
61+ - title: 📖 Documentation
62+ labels: documentation
63+ - title: 🛠️ Other improvements
64+ labels: internal
65+
66+ exclude-labels:
67+ - skip changelog
68+ - release
69+
70+ replacers:
71+ # Remove conventional commits from titles
72+ - search: '/- (build|chore|ci|depr|docs|feat|fix|perf|refactor|release|test)(\(.*\))?(\!)?\: /g'
73+ replace: '- '
74+
75+ template: |
76+ $CHANGES
77+
1178```
1279
1380This won't update:
You can’t perform that action at this time.
0 commit comments