Skip to content

Commit 6ee2b68

Browse files
committed
Added control for auto tagging in Complete pipeline.
1 parent 465d2a9 commit 6ee2b68

8 files changed

Lines changed: 19 additions & 12 deletions

File tree

.github/workflows/CompletePipeline.yml

Lines changed: 11 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -118,11 +118,6 @@ on:
118118
required: false
119119
default: 'false'
120120
type: string
121-
cleanup:
122-
description: 'Cleanup artifacts afterwards.'
123-
required: false
124-
default: 'true'
125-
type: string
126121
documentation_steps:
127122
description: 'Create documentation.'
128123
required: false
@@ -133,6 +128,16 @@ on:
133128
required: false
134129
default: 'pytooling/miktex:sphinx'
135130
type: string
131+
auto_tag:
132+
description: 'Auto tag if a branch was merged to the release branch and an associated pull-request with matching version name was found.'
133+
required: false
134+
default: 'true'
135+
type: string
136+
cleanup:
137+
description: 'Cleanup artifacts afterwards.'
138+
required: false
139+
default: 'true'
140+
type: string
136141
secrets:
137142
PYPI_TOKEN:
138143
description: "Token for pushing releases to PyPI."
@@ -437,7 +442,7 @@ jobs:
437442
actions: write # required for trigger workflow
438443
with:
439444
version: ${{ needs.Prepare.outputs.version }}
440-
auto_tag: ${{ needs.Prepare.outputs.is_release_commit }}
445+
auto_tag: ${{ needs.Prepare.outputs.is_release_commit == 'true' && inputs.auto_tag == 'true' }}
441446
secrets: inherit
442447

443448
ReleasePage:

.github/workflows/_Checking_CleanupArtifacts.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
name: Verification Pipeline for ArtifactCleanup
22

33
on:
4-
push:
4+
# push:
55
workflow_dispatch:
66

77
jobs:

.github/workflows/_Checking_NamespacePackage_Pipeline.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ jobs:
1717
codacy: 'true'
1818
dorny: 'true'
1919
documentation_steps: 'html latex'
20+
auto_tag: 'false'
2021
secrets:
2122
PYPI_TOKEN: ${{ secrets.PYPI_TOKEN }}
2223
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}

.github/workflows/_Checking_Nightly.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
name: Verification of Nightly Releases
22

33
on:
4-
push:
4+
# push:
55
workflow_dispatch:
66

77
jobs:

.github/workflows/_Checking_SimplePackage_Pipeline.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,9 @@ jobs:
1515
codecov: 'true'
1616
codacy: 'true'
1717
dorny: 'true'
18-
cleanup: 'false'
1918
documentation_steps: 'html latex'
19+
auto_tag: 'false'
20+
cleanup: 'false'
2021
secrets:
2122
PYPI_TOKEN: ${{ secrets.PYPI_TOKEN }}
2223
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}

myFramework/Extension/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@
3636
__email__ = "Paebbels@gmail.com"
3737
__copyright__ = "2017-2026, Patrick Lehmann"
3838
__license__ = "Apache License, Version 2.0"
39-
__version__ = "7.6.0"
39+
__version__ = "7.7.0"
4040
__keywords__ = ["GitHub Actions"]
4141
__issue_tracker__ = "https://GitHub.com/pyTooling/Actions/issues"
4242

myPackage/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@
3636
__email__ = "Paebbels@gmail.com"
3737
__copyright__ = "2017-2026, Patrick Lehmann"
3838
__license__ = "Apache License, Version 2.0"
39-
__version__ = "7.6.0"
39+
__version__ = "7.7.0"
4040
__keywords__ = ["GitHub Actions"]
4141
__issue_tracker__ = "https://GitHub.com/pyTooling/Actions/issues"
4242

run.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ Param(
3939

4040
$ProjectName = "Actions"
4141
$PackageName = "myPackage"
42-
$PackageVersion = "7.6.0"
42+
$PackageVersion = "7.7.0"
4343
$PythonVersion = "3.14"
4444
$LaTeXDocument = "${ProjectName}.tex"
4545

0 commit comments

Comments
 (0)