Skip to content

chore: fix test workflow permissions #1658

chore: fix test workflow permissions

chore: fix test workflow permissions #1658

Workflow file for this run

# Copyright 2024 Defense Unicorns
# SPDX-License-Identifier: AGPL-3.0-or-later OR LicenseRef-Defense-Unicorns-Commercial
name: PR Title Check
on:
pull_request:
branches: [main]
types: [milestoned, opened, edited, synchronize]
# Permissions for the GITHUB_TOKEN used by the workflow.
permissions:
contents: read # Allows reading the content of the repository.
jobs:
validate:

Check failure on line 16 in .github/workflows/commitlint.yaml

View workflow run for this annotation

GitHub Actions / PR Title Check

Invalid workflow file

The workflow is not valid. .github/workflows/commitlint.yaml (Line: 16, Col: 3): Error calling workflow 'defenseunicorns/uds-common/.github/workflows/callable-commitlint.yaml@f0164622ffc2007e96a0e1deaa3f5064db04b148'. The nested job 'run' is requesting 'pull-requests: read', but is only allowed 'pull-requests: none'.
uses: defenseunicorns/uds-common/.github/workflows/callable-commitlint.yaml@f0164622ffc2007e96a0e1deaa3f5064db04b148 # v1.1.0