Skip to content

Merge branch 'main' into main #27

Merge branch 'main' into main

Merge branch 'main' into main #27

# Copyright (C) 2024 Intel Corporation
# SPDX-License-Identifier: Apache-2.0
# Test
name: Build latest images on push event
permissions:
actions: read
contents: read
checks: read
deployments: read
discussions: read
issues: read
packages: read
pages: read
pull-requests: read
repository-projects: read
statuses: read
security-events: read
id-token: write
attestations: read
models: read
on:
push:
branches: [ 'main' ]
paths:
- "**.py"
- "**Dockerfile*"
- "**docker_image_build/build.yaml"
- "**/ui/**"
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}-on-push
cancel-in-progress: true
jobs:
job1:
uses: ./.github/workflows/_get-test-matrix.yml
with:
test_mode: "docker_image_build"
image-build:

Check failure on line 42 in .github/workflows/push-image-build.yml

View workflow run for this annotation

GitHub Actions / Build latest images on push event

Invalid workflow file

The workflow is not valid. .github/workflows/push-image-build.yml (Line: 42, Col: 3): Error calling workflow 'zhihangdeng/GenAIExamples/.github/workflows/_example-workflow.yml@1afd90603b4b3d4b9cb3b9545a11b10143b59aac'. The nested job 'build-images' is requesting 'checks: read', but is only allowed 'checks: none'.
permissions:
actions: read
attestations: read
discussions: read
models: read
repository-projects: read
id-token: write
contents: read
issues: write
pages: write
pull-requests: write
security-events: read
needs: job1
if: ${{ needs.job1.outputs.run_matrix != '{"include":[]}' }}
strategy:
matrix: ${{ fromJSON(needs.job1.outputs.run_matrix) }}
fail-fast: false
uses: ./.github/workflows/_example-workflow.yml
with:
node: gaudi
example: ${{ matrix.example }}
secrets: inherit