File tree Expand file tree Collapse file tree 4 files changed +51
-1
lines changed Expand file tree Collapse file tree 4 files changed +51
-1
lines changed Original file line number Diff line number Diff line change 31
31
runs-on : ubuntu-latest
32
32
name : " Bump version and create changelog with commitizen"
33
33
steps :
34
+ - name : Debug token (bump-version job)
35
+ run : |
36
+ echo "Token from setup job is set: ${{ needs.setup.outputs.PERSONAL_ACCESS_TOKEN != '' }}"
37
+
34
38
- name : Check out
35
39
uses : actions/checkout@v4
36
40
with :
Original file line number Diff line number Diff line change 17
17
python-version :
18
18
description : " The Python version that was set up"
19
19
value : ${{ jobs.setup.outputs.python-version }}
20
+ PERSONAL_ACCESS_TOKEN :
21
+ description : " The personal access token"
22
+ value : ${{ jobs.setup.outputs.PERSONAL_ACCESS_TOKEN }}
20
23
21
24
jobs :
22
25
setup :
23
26
runs-on : ubuntu-latest
24
27
outputs :
25
28
python-version : ${{ steps.setup-python.outputs.python-version }}
29
+ PERSONAL_ACCESS_TOKEN : ${{ steps.set-token.outputs.PERSONAL_ACCESS_TOKEN }}
26
30
steps :
27
31
- name : Load secret
28
32
uses : 1password/load-secrets-action@v2
32
36
OP_SERVICE_ACCOUNT_TOKEN : ${{ secrets.OP_SERVICE_ACCOUNT_TOKEN }}
33
37
PERSONAL_ACCESS_TOKEN : op://shawndengdev/github_access_token/credential
34
38
39
+ - name : Set token output
40
+ id : set-token
41
+ run : |
42
+ if [ -z "${PERSONAL_ACCESS_TOKEN}" ]; then
43
+ echo "Error: PERSONAL_ACCESS_TOKEN is not set"
44
+ exit 1
45
+ fi
46
+ echo "PERSONAL_ACCESS_TOKEN=${PERSONAL_ACCESS_TOKEN}" >> $GITHUB_OUTPUT
47
+
48
+ - name : Debug token (setup job)
49
+ run : |
50
+ echo "Token is set: ${{ steps.set-token.outputs.PERSONAL_ACCESS_TOKEN != '' }}"
51
+ echo "Token first char: ${PERSONAL_ACCESS_TOKEN:0:1}"
52
+
35
53
- name : Check out
36
54
uses : actions/checkout@v4
37
55
with :
Original file line number Diff line number Diff line change
1
+ ## 0.5.0 (2025-02-18)
2
+
3
+ ### Feat
4
+
5
+ - update github action and project template
6
+ - update project template and cli
7
+ - update template and cli tools
8
+ - update template and update cli tools
9
+
10
+ ### Fix
11
+
12
+ - fix github action
13
+ - use uvx prefix for all third-party commands in nox sessions
14
+ - explicitly install pytest packages in nox sessions
15
+ - use cookiecutter max_python_version in GitHub Actions workflows
16
+ - add code checkout and Python setup steps to lint workflow
17
+ - update template files to explicitly install ruff and update dev dependencies
18
+ - explicitly install ruff in nox sessions and update dev dependencies
19
+ - standardize token usage in GitHub Actions workflows
20
+ - use token from setup workflow in bump_version workflow
21
+ - optimize GitHub Actions workflow to avoid pip cache warning in root project
22
+ - optimize GitHub Actions workflow to avoid pip cache warning
23
+
24
+ ### Refactor
25
+
26
+ - replace uvx with uv run in noxfile.py
27
+ - remove explicit pytest package installation as uvx handles it
28
+
1
29
## 0.4.1 (2025-02-16)
2
30
3
31
### Fix
Original file line number Diff line number Diff line change 1
1
[project ]
2
2
name = " repo-scaffold"
3
- version = " 0.4.1 "
3
+ version = " 0.5.0 "
4
4
description = " shawn deng repo temple project"
5
5
authors = [
6
6
{
name =
" shawndeng" ,
email =
" [email protected] " }
You can’t perform that action at this time.
0 commit comments