|
68 | 68 | - name: Run Tests |
69 | 69 | env: |
70 | 70 | NODE_OPTIONS: "--max_old_space_size=4096" |
| 71 | + MDB_IS_TEST: "true" |
71 | 72 | run: | |
72 | 73 | npm run test |
73 | 74 | shell: bash |
@@ -118,30 +119,31 @@ runs: |
118 | 119 | run: | |
119 | 120 | npm run snyk-test > /dev/null 2>&1 |
120 | 121 |
|
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 |
| 122 | + # TODO(VSCODE-706): Fix Snyk vuln ticket generation |
| 123 | + # - name: Create Jira Tickets |
| 124 | + # if: > |
| 125 | + # runner.os == 'Linux' && |
| 126 | + # ( |
| 127 | + # github.event_name == 'push' && github.ref == 'refs/heads/main' || |
| 128 | + # github.event_name == 'workflow_dispatch' || |
| 129 | + # github.event_name == 'schedule' |
| 130 | + # ) |
| 131 | + # shell: bash |
| 132 | + # env: |
| 133 | + # JIRA_API_TOKEN: ${{ inputs.JIRA_API_TOKEN }} |
| 134 | + # JIRA_BASE_URL: "https://jira.mongodb.org" |
| 135 | + # JIRA_PROJECT: "VSCODE" |
| 136 | + # JIRA_VULNERABILITY_BUILD_INFO: "- [GitHub Run|https://github.com/mongodb-js/vscode/actions/runs/${{github.run_id}}/jobs/${{github.job}}]" |
| 137 | + # run: | |
| 138 | + # npm run create-vulnerability-tickets > /dev/null |
137 | 139 |
|
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 |
| 140 | + # - name: Generate Vulnerability Report (Fail on >= High) |
| 141 | + # if: runner.os == 'Linux' |
| 142 | + # continue-on-error: ${{ github.event_name == 'pull_request' }} |
| 143 | + # shell: bash |
| 144 | + # run: | |
| 145 | + # # The standard output is suppressed since Github Actions logs are |
| 146 | + # # available for everyone with read access to the repo, which is everyone that is |
| 147 | + # # logged in for public repos. |
| 148 | + # # This command is only here to fail on failures for `main` and tags. |
| 149 | + # npm run generate-vulnerability-report > /dev/null |
0 commit comments