Skip to content

s

s #19

name: Scratch Workflow
on:
push:
branches: [bkellam/release_cleanup]
workflow_dispatch:
jobs:
scratch:

Check failure on line 9 in .github/workflows/scratch-workflow.yml

View workflow run for this annotation

GitHub Actions / Scratch Workflow

Invalid workflow file

The workflow is not valid. .github/workflows/scratch-workflow.yml (Line: 9, Col: 3): Error calling workflow 'sourcebot-dev/sourcebot/.github/workflows/_gcp-deploy.yml@69adcc704cc408cc2a49f17a17c080497a402001'. The nested job 'gcp-deploy' is requesting 'contents: read', but is only allowed 'contents: none'.
uses: ./.github/workflows/_gcp-deploy.yml
permissions:
# Requird for OIDC auth with GCP.
# @see: https://docs.github.com/en/actions/security-for-github-actions/security-hardening-your-deployments/about-security-hardening-with-openid-connect#adding-permissions-settings
id-token: 'write'
with:
environment: staging