File tree Expand file tree Collapse file tree 4 files changed +44
-45
lines changed
Expand file tree Collapse file tree 4 files changed +44
-45
lines changed Original file line number Diff line number Diff line change 1515name : Docker Description Publish
1616on :
1717 push :
18- branches : [ "main" ]
18+ branches : ["main"]
1919permissions : read-all
2020jobs :
2121 setup-matrix :
2222 runs-on : ubuntu-latest
2323 outputs :
2424 matrix : ${{ steps.set-matrix.outputs.matrix }}
2525 steps :
26- - uses : actions/checkout@v4
27- - name : Set matrix data
28- id : set-matrix
29- run : echo "matrix=$(jq -c . < .github/dockerhub-readmes.json)" >> $GITHUB_OUTPUT
26+ - uses : actions/checkout@v4
27+ - name : Set matrix data
28+ id : set-matrix
29+ run : echo "matrix=$(jq -c . < .github/dockerhub-readmes.json)" >> $GITHUB_OUTPUT
3030 publish-dockerhub-description :
3131 runs-on : ubuntu-latest
3232 needs : setup-matrix
3333 strategy :
3434 matrix : ${{ fromJson(needs.setup-matrix.outputs.matrix) }}
3535 fail-fast : false
3636 steps :
37- - uses : actions/checkout@v4
38- - uses : peter-evans/dockerhub-description@v4
39- with :
40- username : ${{ secrets.DOCKERHUB_USERNAME }}
41- password : ${{ secrets.DOCKERHUB_PASSWORD }}
42- repository : ${{ matrix.readmes.repo-name }}
43- readme-filepath : ${{ matrix.readmes.fname }}
37+ - uses : actions/checkout@v4
38+ - uses : peter-evans/dockerhub-description@v4
39+ with :
40+ username : ${{ secrets.DOCKERHUB_USERNAME }}
41+ password : ${{ secrets.DOCKERHUB_PASSWORD }}
42+ repository : ${{ matrix.readmes.repo-name }}
43+ readme-filepath : ${{ matrix.readmes.fname }}
Original file line number Diff line number Diff line change @@ -20,9 +20,9 @@ name: Scorecard supply-chain security
2020on :
2121 branch_protection_rule :
2222 schedule :
23- - cron : ' 0 6 * * 0'
23+ - cron : ' 0 6 * * 0'
2424 push :
25- branches : [ "main" ]
25+ branches : ["main"]
2626 workflow_dispatch :
2727permissions : read-all
2828jobs :
@@ -35,20 +35,20 @@ jobs:
3535 contents : read
3636 actions : read
3737 steps :
38- - uses : actions/checkout@v4
39- with :
40- persist-credentials : false
41- - uses : ossf/scorecard-action@v2.3.3
42- with :
43- results_file : results.sarif
44- results_format : sarif
45- repo_token : ${{ secrets.ACTION_TOKEN }}
46- publish_results : true
47- - uses : actions/upload-artifact@v4
48- with :
49- name : SARIF file
50- path : results.sarif
51- retention-days : 5
52- - uses : github/codeql-action/upload-sarif@v3.25.3
53- with :
54- sarif_file : results.sarif
38+ - uses : actions/checkout@v4
39+ with :
40+ persist-credentials : false
41+ - uses : ossf/scorecard-action@v2.3.3
42+ with :
43+ results_file : results.sarif
44+ results_format : sarif
45+ repo_token : ${{ secrets.ACTION_TOKEN }}
46+ publish_results : true
47+ - uses : actions/upload-artifact@v4
48+ with :
49+ name : SARIF file
50+ path : results.sarif
51+ retention-days : 5
52+ - uses : github/codeql-action/upload-sarif@v3.25.3
53+ with :
54+ sarif_file : results.sarif
Original file line number Diff line number Diff line change 1515name : Weekly Tests
1616on :
1717 schedule :
18- - cron : " 0 0 * * 0"
18+ - cron : " 0 0 * * 0"
1919 workflow_dispatch : null
2020permissions : read-all
2121jobs :
@@ -24,18 +24,18 @@ jobs:
2424 outputs :
2525 groups : ${{ steps.group-list.outputs.FOLDERS }}
2626 steps :
27- - uses : actions/checkout@v4
28- - name : Output Group Directories
29- id : group-list
30- run : |
31- DOCKER_COMPOSE_PATHS=()
32- for path in $(find . -name 'docker-compose.yaml'); do
33- DIR_PATH=$(dirname "$path")
34- DOCKER_COMPOSE_PATHS+=("${DIR_PATH:2}")
35- done
36- # Convert the array to a JSON array
37- DOCKER_COMPOSE_PATHS_JSON=$(printf '%s\n' "${DOCKER_COMPOSE_PATHS[@]}" | uniq | jq -R '.' | jq -sc '.')
38- echo "FOLDERS=$DOCKER_COMPOSE_PATHS_JSON" >> $GITHUB_OUTPUT
27+ - uses : actions/checkout@v4
28+ - name : Output Group Directories
29+ id : group-list
30+ run : |
31+ DOCKER_COMPOSE_PATHS=()
32+ for path in $(find . -name 'docker-compose.yaml'); do
33+ DIR_PATH=$(dirname "$path")
34+ DOCKER_COMPOSE_PATHS+=("${DIR_PATH:2}")
35+ done
36+ # Convert the array to a JSON array
37+ DOCKER_COMPOSE_PATHS_JSON=$(printf '%s\n' "${DOCKER_COMPOSE_PATHS[@]}" | uniq | jq -R '.' | jq -sc '.')
38+ echo "FOLDERS=$DOCKER_COMPOSE_PATHS_JSON" >> $GITHUB_OUTPUT
3939 pipeline-ci :
4040 needs : [get-groups]
4141 strategy :
Original file line number Diff line number Diff line change @@ -4,4 +4,3 @@ torchaudio==2.3.0
44-f https://download.pytorch.org/whl/cpu/torch_stable.html
55intel_extension_for_pytorch == 2.3.0+cpu
66--extra-index-url https://developer.intel.com/ipex-whl-stable-cpu
7- # test
You can’t perform that action at this time.
0 commit comments