File tree 2 files changed +23
-23
lines changed
2 files changed +23
-23
lines changed Original file line number Diff line number Diff line change 34
34
35
35
# Pdf reports always empty for PRs
36
36
- name : Generate Security Report
37
- # if: ${{ github.event_name != 'pull_request' }}
37
+ if : ${{ github.event_name != 'pull_request' }}
38
38
uses : rsdmike/github-security-report-action@a149b24539044c92786ec39af8ba38c93496495d # v3.0.4
39
39
with :
40
40
template : report
47
47
REF_NAME="${{ github.ref_name }}"
48
48
mv "report.pdf" "codeql_nncf_report_${DATE}_${REF_NAME//\//-}_${{ github.sha }}.pdf"
49
49
- name : Upload CodeQL Artifacts
50
- # if: ${{ github.event_name != 'pull_request' }}
50
+ if : ${{ github.event_name != 'pull_request' }}
51
51
uses : actions/upload-artifact@1746f4ab65b179e0ea60a494b83293b640dd5bba # v4.3.2
52
52
with :
53
53
name : codeql-scan-results
Original file line number Diff line number Diff line change 1
- # name: precommit
2
- # permissions: read-all
1
+ name : precommit
2
+ permissions : read-all
3
3
4
- # on:
5
- # pull_request:
6
- # types:
7
- # - opened
8
- # - reopened
9
- # - synchronize
10
- # paths-ignore:
11
- # - '**/*.md'
12
- # - 'docs/**/*'
13
- # - 'tests/post_training/*' # post_training tests runs on Jenkins
14
- # - 'tests/torch/sota_checkpoints_eval.json' # reference for PT e2e
15
- # - 'tests/tensorflow/sota_checkpoints_eval.json' # reference for TF e2e
16
- # - 'tests/cross_fw/examples/*' # examples tests runs in separate workflow
4
+ on :
5
+ pull_request :
6
+ types :
7
+ - opened
8
+ - reopened
9
+ - synchronize
10
+ paths-ignore :
11
+ - ' **/*.md'
12
+ - ' docs/**/*'
13
+ - ' tests/post_training/*' # post_training tests runs on Jenkins
14
+ - ' tests/torch/sota_checkpoints_eval.json' # reference for PT e2e
15
+ - ' tests/tensorflow/sota_checkpoints_eval.json' # reference for TF e2e
16
+ - ' tests/cross_fw/examples/*' # examples tests runs in separate workflow
17
17
18
- # jobs:
19
- # pytest:
20
- # uses: ./.github/workflows/call_precommit.yml
21
- # with:
22
- # python_version: "3.10.14"
23
- # gpu_enabled: true
18
+ jobs :
19
+ pytest :
20
+ uses : ./.github/workflows/call_precommit.yml
21
+ with :
22
+ python_version : " 3.10.14"
23
+ gpu_enabled : true
You can’t perform that action at this time.
0 commit comments