Skip to content

Commit b98046a

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

5 files changed

Lines changed: 16 additions & 9 deletions

.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 }}

0 commit comments

Comments
 (0)