@@ -99,13 +99,13 @@ jobs:
99
99
-Dsonar.python.version=3.7,3.8,3.9
100
100
- name : Run Snyk on Python
101
101
uses : snyk/actions/python-3.8@master
102
- continue-on-error : true # To make sure that SARIF upload gets called
103
102
env :
104
103
SNYK_TOKEN : ${{ secrets.SNYK_TOKEN }}
105
104
with :
105
+ command : monitor
106
106
args : >
107
- --severity-threshold=high
108
- --sarif-file-output=python.sarif
107
+ --org=${{ secrets.SNYK_ORG_ID }}
108
+ --project-name=${{ github.repository }}
109
109
- name : Commit Version Bump
110
110
# If building develop, a release branch, or main then we commit the version bump back to the repo
111
111
if : |
@@ -118,14 +118,15 @@ jobs:
118
118
git commit -am "/version ${{ env.software_version }}"
119
119
git push
120
120
- name : Push Tag
121
- uses : actions-ecosystem/action-push-tag@v1
122
121
if : |
123
122
github.ref == 'refs/heads/develop' ||
124
123
github.ref == 'refs/heads/main' ||
125
124
startsWith(github.ref, 'refs/heads/release')
126
- with :
127
- tag : ${{ env.software_version }}
128
- message : " Version ${{ env.software_version }}"
125
+ run : |
126
+ git config user.name "${GITHUB_ACTOR}"
127
+ git config user.email "${GITHUB_ACTOR}@users.noreply.github.com"
128
+ git tag -a "${{ env.software_version }}" -m "Version ${{ env.software_version }}"
129
+ git push origin "${{ env.software_version }}"
129
130
- name : Publish UMM-S with new version
130
131
131
132
if : |
0 commit comments