Skip to content

Fail build.sh if any command in it fails #5310

Fail build.sh if any command in it fails

Fail build.sh if any command in it fails #5310

Triggered via pull request June 12, 2025 14:21
Status Failure
Total duration 5m 48s
Artifacts

__init-with-registries.yml

on: pull_request
Matrix: Packaging: Download using registries
Fit to window
Zoom out
Zoom in

Annotations

9 errors and 27 warnings
Packaging: Download using registries (ubuntu-latest, default)
Can't find 'action.yml', 'action.yaml' or 'Dockerfile' under '/home/runner/work/codeql-action/codeql-action/.github/actions/prepare-test'. Did you forget to run actions/checkout before running your local action?
Packaging: Download using registries (ubuntu-latest, nightly-latest)
Can't find 'action.yml', 'action.yaml' or 'Dockerfile' under '/home/runner/work/codeql-action/codeql-action/.github/actions/prepare-test'. Did you forget to run actions/checkout before running your local action?
Packaging: Download using registries (ubuntu-latest, linked)
Can't find 'action.yml', 'action.yaml' or 'Dockerfile' under '/home/runner/work/codeql-action/codeql-action/.github/actions/prepare-test'. Did you forget to run actions/checkout before running your local action?
Packaging: Download using registries (macos-latest, linked)
Can't find 'action.yml', 'action.yaml' or 'Dockerfile' under '/Users/runner/work/codeql-action/codeql-action/.github/actions/prepare-test'. Did you forget to run actions/checkout before running your local action?
Packaging: Download using registries (macos-latest, nightly-latest)
Can't find 'action.yml', 'action.yaml' or 'Dockerfile' under '/Users/runner/work/codeql-action/codeql-action/.github/actions/prepare-test'. Did you forget to run actions/checkout before running your local action?
Packaging: Download using registries (macos-latest, default)
Can't find 'action.yml', 'action.yaml' or 'Dockerfile' under '/Users/runner/work/codeql-action/codeql-action/.github/actions/prepare-test'. Did you forget to run actions/checkout before running your local action?
Packaging: Download using registries (windows-latest, default)
Can't find 'action.yml', 'action.yaml' or 'Dockerfile' under 'C:\a\codeql-action\codeql-action\.github\actions\prepare-test'. Did you forget to run actions/checkout before running your local action?
Packaging: Download using registries (windows-latest, nightly-latest)
Can't find 'action.yml', 'action.yaml' or 'Dockerfile' under 'C:\a\codeql-action\codeql-action\.github\actions\prepare-test'. Did you forget to run actions/checkout before running your local action?
Packaging: Download using registries (windows-latest, linked)
Can't find 'action.yml', 'action.yaml' or 'Dockerfile' under 'C:\a\codeql-action\codeql-action\.github\actions\prepare-test'. Did you forget to run actions/checkout before running your local action?
Packaging: Download using registries (ubuntu-latest, default)
Feature flags do not specify a default CLI version. Falling back to the CLI version shipped with the Action. This is 2.22.0.
Packaging: Download using registries (ubuntu-latest, default)
This run of the CodeQL Action does not have permission to access Code Scanning API endpoints. As a result, it will not be opted into any experimental features. This could be because the Action is running on a pull request from a fork. If not, please ensure the Action has the 'security-events: write' permission. Details: Resource not accessible by integration - https://docs.github.com/rest
Packaging: Download using registries (ubuntu-latest, default)
Restore cache failed: Dependencies file is not found in /home/runner/work/codeql-action/codeql-action. Supported file pattern: go.sum
Packaging: Download using registries (ubuntu-latest, nightly-latest)
Feature flags do not specify a default CLI version. Falling back to the CLI version shipped with the Action. This is 2.22.0.
Packaging: Download using registries (ubuntu-latest, nightly-latest)
This run of the CodeQL Action does not have permission to access Code Scanning API endpoints. As a result, it will not be opted into any experimental features. This could be because the Action is running on a pull request from a fork. If not, please ensure the Action has the 'security-events: write' permission. Details: Resource not accessible by integration - https://docs.github.com/rest
Packaging: Download using registries (ubuntu-latest, nightly-latest)
Restore cache failed: Dependencies file is not found in /home/runner/work/codeql-action/codeql-action. Supported file pattern: go.sum
Packaging: Download using registries (ubuntu-latest, linked)
Feature flags do not specify a default CLI version. Falling back to the CLI version shipped with the Action. This is 2.22.0.
Packaging: Download using registries (ubuntu-latest, linked)
This run of the CodeQL Action does not have permission to access Code Scanning API endpoints. As a result, it will not be opted into any experimental features. This could be because the Action is running on a pull request from a fork. If not, please ensure the Action has the 'security-events: write' permission. Details: Resource not accessible by integration - https://docs.github.com/rest
Packaging: Download using registries (ubuntu-latest, linked)
Restore cache failed: Dependencies file is not found in /home/runner/work/codeql-action/codeql-action. Supported file pattern: go.sum
Packaging: Download using registries (macos-latest, linked)
Feature flags do not specify a default CLI version. Falling back to the CLI version shipped with the Action. This is 2.22.0.
Packaging: Download using registries (macos-latest, linked)
This run of the CodeQL Action does not have permission to access Code Scanning API endpoints. As a result, it will not be opted into any experimental features. This could be because the Action is running on a pull request from a fork. If not, please ensure the Action has the 'security-events: write' permission. Details: Resource not accessible by integration - https://docs.github.com/rest
Packaging: Download using registries (macos-latest, linked)
Restore cache failed: Dependencies file is not found in /Users/runner/work/codeql-action/codeql-action. Supported file pattern: go.sum
Packaging: Download using registries (macos-latest, nightly-latest)
Feature flags do not specify a default CLI version. Falling back to the CLI version shipped with the Action. This is 2.22.0.
Packaging: Download using registries (macos-latest, nightly-latest)
This run of the CodeQL Action does not have permission to access Code Scanning API endpoints. As a result, it will not be opted into any experimental features. This could be because the Action is running on a pull request from a fork. If not, please ensure the Action has the 'security-events: write' permission. Details: Resource not accessible by integration - https://docs.github.com/rest
Packaging: Download using registries (macos-latest, nightly-latest)
Restore cache failed: Dependencies file is not found in /Users/runner/work/codeql-action/codeql-action. Supported file pattern: go.sum
Packaging: Download using registries (macos-latest, default)
Feature flags do not specify a default CLI version. Falling back to the CLI version shipped with the Action. This is 2.22.0.
Packaging: Download using registries (macos-latest, default)
This run of the CodeQL Action does not have permission to access Code Scanning API endpoints. As a result, it will not be opted into any experimental features. This could be because the Action is running on a pull request from a fork. If not, please ensure the Action has the 'security-events: write' permission. Details: Resource not accessible by integration - https://docs.github.com/rest
Packaging: Download using registries (macos-latest, default)
Restore cache failed: Dependencies file is not found in /Users/runner/work/codeql-action/codeql-action. Supported file pattern: go.sum
Packaging: Download using registries (windows-latest, default)
Feature flags do not specify a default CLI version. Falling back to the CLI version shipped with the Action. This is 2.22.0.
Packaging: Download using registries (windows-latest, default)
This run of the CodeQL Action does not have permission to access Code Scanning API endpoints. As a result, it will not be opted into any experimental features. This could be because the Action is running on a pull request from a fork. If not, please ensure the Action has the 'security-events: write' permission. Details: Resource not accessible by integration - https://docs.github.com/rest
Packaging: Download using registries (windows-latest, default)
Restore cache failed: Dependencies file is not found in C:\a\codeql-action\codeql-action. Supported file pattern: go.sum
Packaging: Download using registries (windows-latest, nightly-latest)
Feature flags do not specify a default CLI version. Falling back to the CLI version shipped with the Action. This is 2.22.0.
Packaging: Download using registries (windows-latest, nightly-latest)
This run of the CodeQL Action does not have permission to access Code Scanning API endpoints. As a result, it will not be opted into any experimental features. This could be because the Action is running on a pull request from a fork. If not, please ensure the Action has the 'security-events: write' permission. Details: Resource not accessible by integration - https://docs.github.com/rest
Packaging: Download using registries (windows-latest, nightly-latest)
Restore cache failed: Dependencies file is not found in C:\a\codeql-action\codeql-action. Supported file pattern: go.sum
Packaging: Download using registries (windows-latest, linked)
Feature flags do not specify a default CLI version. Falling back to the CLI version shipped with the Action. This is 2.22.0.
Packaging: Download using registries (windows-latest, linked)
This run of the CodeQL Action does not have permission to access Code Scanning API endpoints. As a result, it will not be opted into any experimental features. This could be because the Action is running on a pull request from a fork. If not, please ensure the Action has the 'security-events: write' permission. Details: Resource not accessible by integration - https://docs.github.com/rest
Packaging: Download using registries (windows-latest, linked)
Restore cache failed: Dependencies file is not found in C:\a\codeql-action\codeql-action. Supported file pattern: go.sum