Skip to content

Commit

Permalink
UID2-2330 create workflow for python (#82)
Browse files Browse the repository at this point in the history
* Create .github/workflows/shared-publish-to-pypi-versioned.yaml

* Make changes for testing simple version

* Update changelog

* Revert testing changes

* Add publish_vulnerabilities to inputs
  • Loading branch information
cYKatherine authored Mar 11, 2024
1 parent df3e8d6 commit c05e9d0
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/shared-publish-to-maven-versioned.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,7 @@ jobs:
with:
scan_severity: HIGH,CRITICAL
failure_severity: CRITICAL
publish_vulnerabilities: ${{ inputs.publish_vulnerabilities }}

- name: Set version number
id: version
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/shared-publish-to-nuget-versioned.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,9 @@ on:
description: The path to the directory for which the version should be determined.
type: string
default: '.'
publish_vulnerabilities:
type: string
default: true

env:
REPO: ${{ github.event.repository.name }}
Expand Down Expand Up @@ -60,6 +63,7 @@ jobs:
with:
scan_severity: HIGH,CRITICAL
failure_severity: ${{ inputs.vulnerability_failure_severity }}
publish_vulnerabilities: ${{ inputs.publish_vulnerabilities }}

- name: Set version number
id: version
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/shared-publish-to-pypi-versioned.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,9 @@ on:
description: The path to the directory for which the version should be determined.
type: string
default: '.'
publish_vulnerabilities:
type: string
default: true

env:
REPO: ${{ github.event.repository.name }}
Expand Down Expand Up @@ -52,6 +55,7 @@ jobs:
with:
scan_severity: HIGH,CRITICAL
failure_severity: ${{ inputs.vulnerability_failure_severity }}
publish_vulnerabilities: ${{ inputs.publish_vulnerabilities }}

- name: Set version number
id: version
Expand Down

0 comments on commit c05e9d0

Please sign in to comment.