Skip to content

test CI

test CI #1

Workflow file for this run

name: Main
on: [push, pull_request]
jobs:
build-container:
uses: ./.github/workflows/container.yml
permissions:
packages: write
build-and-test:
uses: ./.github/workflows/build-and-test.yml
needs: build-container
with:
image: ${{ needs.build-container.outputs.image }}
image_options: ${{ needs.build-container.outputs.image_options }}
pages:

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

View workflow run for this annotation

GitHub Actions / Main

Invalid workflow file

The workflow is not valid. .github/workflows/main.yml (Line: 18, Col: 3): Error calling workflow 'swick/xdg-desktop-portal/.github/workflows/pages.yml@47106d1a377975396892d6bdd13430b42fb3d01b'. The nested job 'build' is requesting 'contents: write', but is only allowed 'contents: read'.
uses: ./.github/workflows/pages.yml
needs: build-container
permissions:
contents: read
pages: write
id-token: write
with:
image: ${{ needs.build-container.outputs.image }}
image_options: ${{ needs.build-container.outputs.image_options }}