Skip to content

PkgCI

PkgCI #2

Workflow file for this run

# Copyright 2024 Advanced Micro Devices, Inc.
#
# Licensed under the Apache License v2.0 with LLVM Exceptions.
# See https://llvm.org/LICENSE.txt for license information.
# SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
name: PkgCI
on:
workflow_dispatch:
pull_request:
push:
branches:
- main
permissions:
contents: read
concurrency:
# A PR number if a pull request and otherwise the commit hash. This cancels
# queued and in-progress runs for the same PR (presubmit) or commit
# (postsubmit). The workflow name is prepended to avoid conflicts between
# different workflows.
group: ${{ github.workflow }}-${{ github.event.number || github.sha }}
cancel-in-progress: true
jobs:
build_packages:
name: Build Packages
uses: ./.github/workflows/pkgci_build_packages.yml

Check failure on line 30 in .github/workflows/pkgci.yml

View workflow run for this annotation

GitHub Actions / PkgCI

Invalid workflow file

The workflow is not valid. In .github/workflows/pkgci.yml (Line: 30, Col: 11): Error from called workflow ScottTodd/shark-ai/.github/workflows/pkgci_build_packages.yml@f8e8a92000dc671822c00695e62fc838e852d5dc (Line: 16, Col: 3): The workflow must contain at least one job with no dependencies. .github/workflows/pkgci.yml (Line: 28, Col: 3): Error calling workflow 'ScottTodd/shark-ai/.github/workflows/pkgci_build_packages.yml@f8e8a92000dc671822c00695e62fc838e852d5dc'. The nested job 'build_packages' is requesting 'contents: write', but is only allowed 'contents: read'.