Skip to content

Fix permissions

Fix permissions #208

Workflow file for this run

---
name: pr_auto
# This workflow is triggered automatically for pull requests and runs tests without credentials
# I.e. doesn't validate image caching, doesn't perform tests in Azure DevOps.
on:
pull_request:
branches: [ main ]
paths-ignore:
- README.md
- 'docs/**'
permissions:
contents: write
packages: write
jobs:
build-test:

Check failure on line 18 in .github/workflows/pr_auto.yml

View workflow run for this annotation

GitHub Actions / pr_auto

Invalid workflow file

The workflow is not valid. .github/workflows/pr_auto.yml (Line: 18, Col: 3): Error calling workflow 'devcontainers/ci/.github/workflows/ci_common.yml@48b5810d38aaac4eb75f2ca20e37f087b59bb702'. The workflow is requesting 'pull-requests: write', but is only allowed 'pull-requests: none'.
name: "Build, test, publish"
uses: ./.github/workflows/ci_common.yml
with:
prNumber: ${{ github.event.pull_request.number }}
release: false
runFullTests: false
secrets:
AZDO_TOKEN: ${{ secrets.AZDO_TOKEN }}