Skip to content

Commit 0f59b55

Browse files
chore: disable snyk vuln ticket generation (#1154)
Co-authored-by: Copilot <[email protected]>
1 parent 371ca76 commit 0f59b55

File tree

1 file changed

+27
-26
lines changed

1 file changed

+27
-26
lines changed

.github/workflows/actions/test-and-build/action.yaml

Lines changed: 27 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -118,30 +118,31 @@ runs:
118118
run: |
119119
npm run snyk-test > /dev/null 2>&1
120120
121-
- name: Create Jira Tickets
122-
if: >
123-
runner.os == 'Linux' &&
124-
(
125-
github.event_name == 'push' && github.ref == 'refs/heads/main' ||
126-
github.event_name == 'workflow_dispatch' ||
127-
github.event_name == 'schedule'
128-
)
129-
shell: bash
130-
env:
131-
JIRA_API_TOKEN: ${{ inputs.JIRA_API_TOKEN }}
132-
JIRA_BASE_URL: "https://jira.mongodb.org"
133-
JIRA_PROJECT: "VSCODE"
134-
JIRA_VULNERABILITY_BUILD_INFO: "- [GitHub Run|https://github.com/mongodb-js/vscode/actions/runs/${{github.run_id}}/jobs/${{github.job}}]"
135-
run: |
136-
npm run create-vulnerability-tickets > /dev/null
121+
# TODO(VSCODE-706): Fix Snyk vuln ticket generation
122+
# - name: Create Jira Tickets
123+
# if: >
124+
# runner.os == 'Linux' &&
125+
# (
126+
# github.event_name == 'push' && github.ref == 'refs/heads/main' ||
127+
# github.event_name == 'workflow_dispatch' ||
128+
# github.event_name == 'schedule'
129+
# )
130+
# shell: bash
131+
# env:
132+
# JIRA_API_TOKEN: ${{ inputs.JIRA_API_TOKEN }}
133+
# JIRA_BASE_URL: "https://jira.mongodb.org"
134+
# JIRA_PROJECT: "VSCODE"
135+
# JIRA_VULNERABILITY_BUILD_INFO: "- [GitHub Run|https://github.com/mongodb-js/vscode/actions/runs/${{github.run_id}}/jobs/${{github.job}}]"
136+
# run: |
137+
# npm run create-vulnerability-tickets > /dev/null
137138

138-
- name: Generate Vulnerability Report (Fail on >= High)
139-
if: runner.os == 'Linux'
140-
continue-on-error: ${{ github.event_name == 'pull_request' }}
141-
shell: bash
142-
run: |
143-
# The standard output is suppressed since Github Actions logs are
144-
# available for everyone with read access to the repo, which is everyone that is
145-
# logged in for public repos.
146-
# This command is only here to fail on failures for `main` and tags.
147-
npm run generate-vulnerability-report > /dev/null
139+
# - name: Generate Vulnerability Report (Fail on >= High)
140+
# if: runner.os == 'Linux'
141+
# continue-on-error: ${{ github.event_name == 'pull_request' }}
142+
# shell: bash
143+
# run: |
144+
# # The standard output is suppressed since Github Actions logs are
145+
# # available for everyone with read access to the repo, which is everyone that is
146+
# # logged in for public repos.
147+
# # This command is only here to fail on failures for `main` and tags.
148+
# npm run generate-vulnerability-report > /dev/null

0 commit comments

Comments
 (0)