File tree Expand file tree Collapse file tree 9 files changed +39
-29
lines changed
trigger-other-job/.github/workflows Expand file tree Collapse file tree 9 files changed +39
-29
lines changed Original file line number Diff line number Diff line change 1+ version : 2
2+ updates :
3+ # Maintain GitHub Actions (e.g., actions/checkout)
4+ - package-ecosystem : " github-actions"
5+ directory : " /"
6+ schedule :
7+ interval : " monthly"
8+ day : " monday"
9+ time : " 06:00"
10+ cooldown :
11+ default-days : 7
12+ # Group all Action updates into one PR
13+ groups :
14+ all-actions-dependencies :
15+ patterns :
16+ - " *"
Original file line number Diff line number Diff line change @@ -10,14 +10,10 @@ jobs:
1010 contents : write
1111 actions : write
1212 steps :
13- - uses : actions/checkout@v5
13+ - uses : actions/checkout@v6
1414 with :
1515 fetch-depth : 0
1616 fetch-tags : true
17- - name : Set up git config
18- run : |
19- git config --global user.name "github-actions[bot]"
20- git config --global user.email "41898282+github-actions[bot]@users.noreply.github.com"
2117 - uses : commitizen-tools/setup-cz@main
2218 - uses : pndurette/gh-actions-auto-docs@v1
2319 with :
Original file line number Diff line number Diff line change 99 test-installs :
1010 runs-on : ubuntu-latest
1111 steps :
12- - uses : actions/checkout@v5
12+ - uses : actions/checkout@v6
1313 - uses : ./
1414 - name : Test it was installed
1515 run : |
1616 cz version
1717 test-version :
1818 runs-on : ubuntu-latest
1919 steps :
20- - uses : actions/checkout@v5
20+ - uses : actions/checkout@v6
2121 - uses : ./
2222 with :
2323 version : 4.0.0
4141 cz_name : cz_kpn
4242 runs-on : ubuntu-latest
4343 steps :
44- - uses : actions/checkout@v5
44+ - uses : actions/checkout@v6
4545 - uses : ./
4646 with :
4747 extra_requirements : ${{ matrix.extra_requirements.pip_name }}
6060 test-get-changelog :
6161 runs-on : ubuntu-latest
6262 steps :
63- - uses : actions/checkout@v5
63+ - uses : actions/checkout@v6
6464 with :
6565 fetch-depth : 0
6666 - uses : ./
8282 test-trigger-other-job :
8383 runs-on : ubuntu-latest
8484 steps :
85- - uses : actions/checkout@v5
85+ - uses : actions/checkout@v6
8686 with :
8787 fetch-depth : 0
8888 - uses : ./
@@ -101,7 +101,7 @@ jobs:
101101 test-python-version :
102102 runs-on : ubuntu-latest
103103 steps :
104- - uses : actions/checkout@v5
104+ - uses : actions/checkout@v6
105105 with :
106106 fetch-depth : 0
107107 - uses : ./
Original file line number Diff line number Diff line change @@ -16,17 +16,13 @@ jobs:
1616 contents : write
1717 actions : write
1818 steps :
19- - uses : actions/checkout@v5
19+ - uses : actions/checkout@v6
2020 with :
2121 fetch-depth : 0
2222 fetch-tags : true
2323 - uses : commitizen-tools/setup-cz@main
2424 with :
2525 python-version : " 3.x"
26- - name : Set up git config
27- run : |
28- git config --global user.name "github-actions[bot]"
29- git config --global user.email "41898282+github-actions[bot]@users.noreply.github.com"
3026 - run : |
3127 cz version -p
3228 cz bump --yes --annotated-tag
Original file line number Diff line number Diff line change @@ -11,6 +11,11 @@ inputs:
1111 required : false
1212 python-version :
1313 description : " Version range or exact version of Python or PyPy to use, using SemVer's version range syntax. Reads from .python-version if unset. Passed directly to setup-python"
14+ required : false
15+ set-git-config :
16+ description : " Set git config"
17+ required : false
18+ default : " true"
1419
1520branding :
1621 icon : " anchor"
@@ -19,6 +24,11 @@ branding:
1924runs :
2025 using : " composite"
2126 steps :
27+ - if : ${{ inputs.set-git-config == 'true' }}
28+ shell : bash
29+ run : |
30+ git config --global user.name "github-actions[bot]"
31+ git config --global user.email "41898282+github-actions[bot]@users.noreply.github.com"
2232 - id : set-vars
2333 uses : actions/github-script@v8
2434 env :
Original file line number Diff line number Diff line change 2121 changelog : ${{ steps.build-changelog.outputs.changelog }}
2222 steps :
2323 - name : Checkout code
24- uses : actions/checkout@v5
24+ uses : actions/checkout@v6
2525 with :
2626 fetch-depth : 0
2727 - uses : commitizen-tools/setup-cz@main
Original file line number Diff line number Diff line change @@ -13,14 +13,10 @@ jobs:
1313 contents : write
1414 actions : write
1515 steps :
16- - uses : actions/checkout@v5
16+ - uses : actions/checkout@v6
1717 with :
1818 fetch-depth : 0
1919 fetch-tags : true
20- - name : Set up git config
21- run : |
22- git config --global user.name "github-actions[bot]"
23- git config --global user.email "41898282+github-actions[bot]@users.noreply.github.com"
2420 - uses : commitizen-tools/setup-cz@main
2521 with :
2622 python-version : " 3.x"
Original file line number Diff line number Diff line change 1818 current_minor_version : ${{ steps.version-info.outputs.current_minor_version }}
1919 steps :
2020 - name : Checkout code
21- uses : actions/checkout@v5
21+ uses : actions/checkout@v6
2222 with :
2323 fetch-tags : true # in case your version provider is cvs
2424 - uses : commitizen-tools/setup-cz@main
3838 needs : collect-version-info
3939 steps :
4040 - name : Checkout code
41- uses : actions/checkout@v5
41+ uses : actions/checkout@v6
4242 - run : |
4343 # Read version information
4444 current_version="${{ needs.collect-version-info.outputs.current_version }}"
Original file line number Diff line number Diff line change @@ -13,14 +13,10 @@ jobs:
1313 contents : write
1414 actions : write
1515 steps :
16- - uses : actions/checkout@v5
16+ - uses : actions/checkout@v6
1717 with :
1818 fetch-depth : 0
1919 fetch-tags : true
20- - name : Set up git config
21- run : |
22- git config --global user.name "github-actions[bot]"
23- git config --global user.email "41898282+github-actions[bot]@users.noreply.github.com"
2420 - uses : commitizen-tools/setup-cz@main
2521 with :
2622 python-version : " 3.x"
You can’t perform that action at this time.
0 commit comments