Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
24 changes: 12 additions & 12 deletions .github/workflows/dockerhub-description.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,29 +15,29 @@
name: Docker Description Publish
on:
push:
branches: [ "main" ]
branches: ["main"]
permissions: read-all
jobs:
setup-matrix:
runs-on: ubuntu-latest
outputs:
matrix: ${{ steps.set-matrix.outputs.matrix }}
steps:
- uses: actions/checkout@v4
- name: Set matrix data
id: set-matrix
run: echo "matrix=$(jq -c . < .github/dockerhub-readmes.json)" >> $GITHUB_OUTPUT
- uses: actions/checkout@v4
- name: Set matrix data
id: set-matrix
run: echo "matrix=$(jq -c . < .github/dockerhub-readmes.json)" >> $GITHUB_OUTPUT
publish-dockerhub-description:
runs-on: ubuntu-latest
needs: setup-matrix
strategy:
matrix: ${{ fromJson(needs.setup-matrix.outputs.matrix) }}
fail-fast: false
steps:
- uses: actions/checkout@v4
- uses: peter-evans/dockerhub-description@v4
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_PASSWORD }}
repository: ${{ matrix.readmes.repo-name }}
readme-filepath: ${{ matrix.readmes.fname }}
- uses: actions/checkout@v4
- uses: peter-evans/dockerhub-description@v4
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_PASSWORD }}
repository: ${{ matrix.readmes.repo-name }}
readme-filepath: ${{ matrix.readmes.fname }}
38 changes: 19 additions & 19 deletions .github/workflows/scorecard.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,9 @@ name: Scorecard supply-chain security
on:
branch_protection_rule:
schedule:
- cron: '0 6 * * 0'
- cron: '0 6 * * 0'
push:
branches: [ "main" ]
branches: ["main"]
workflow_dispatch:
permissions: read-all
jobs:
Expand All @@ -35,20 +35,20 @@ jobs:
contents: read
actions: read
steps:
- uses: actions/checkout@v4
with:
persist-credentials: false
- uses: ossf/scorecard-action@v2.3.3
with:
results_file: results.sarif
results_format: sarif
repo_token: ${{ secrets.ACTION_TOKEN }}
publish_results: true
- uses: actions/upload-artifact@v4
with:
name: SARIF file
path: results.sarif
retention-days: 5
- uses: github/codeql-action/upload-sarif@v3.25.3
with:
sarif_file: results.sarif
- uses: actions/checkout@v4
with:
persist-credentials: false
- uses: ossf/scorecard-action@v2.3.3
with:
results_file: results.sarif
results_format: sarif
repo_token: ${{ secrets.ACTION_TOKEN }}
publish_results: true
- uses: actions/upload-artifact@v4
with:
name: SARIF file
path: results.sarif
retention-days: 5
- uses: github/codeql-action/upload-sarif@v3.25.3
with:
sarif_file: results.sarif
26 changes: 13 additions & 13 deletions .github/workflows/weekly-test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
name: Weekly Tests
on:
schedule:
- cron: "0 0 * * 0"
- cron: "0 0 * * 0"
workflow_dispatch: null
permissions: read-all
jobs:
Expand All @@ -24,18 +24,18 @@ jobs:
outputs:
groups: ${{ steps.group-list.outputs.FOLDERS }}
steps:
- uses: actions/checkout@v4
- name: Output Group Directories
id: group-list
run: |
DOCKER_COMPOSE_PATHS=()
for path in $(find . -name 'docker-compose.yaml'); do
DIR_PATH=$(dirname "$path")
DOCKER_COMPOSE_PATHS+=("${DIR_PATH:2}")
done
# Convert the array to a JSON array
DOCKER_COMPOSE_PATHS_JSON=$(printf '%s\n' "${DOCKER_COMPOSE_PATHS[@]}" | uniq | jq -R '.' | jq -sc '.')
echo "FOLDERS=$DOCKER_COMPOSE_PATHS_JSON" >> $GITHUB_OUTPUT
- uses: actions/checkout@v4
- name: Output Group Directories
id: group-list
run: |
DOCKER_COMPOSE_PATHS=()
for path in $(find . -name 'docker-compose.yaml'); do
DIR_PATH=$(dirname "$path")
DOCKER_COMPOSE_PATHS+=("${DIR_PATH:2}")
done
# Convert the array to a JSON array
DOCKER_COMPOSE_PATHS_JSON=$(printf '%s\n' "${DOCKER_COMPOSE_PATHS[@]}" | uniq | jq -R '.' | jq -sc '.')
echo "FOLDERS=$DOCKER_COMPOSE_PATHS_JSON" >> $GITHUB_OUTPUT
pipeline-ci:
needs: [get-groups]
strategy:
Expand Down
1 change: 0 additions & 1 deletion pytorch/requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,3 @@ torchaudio==2.3.0
-f https://download.pytorch.org/whl/cpu/torch_stable.html
intel_extension_for_pytorch==2.3.0+cpu
--extra-index-url https://developer.intel.com/ipex-whl-stable-cpu
# test