Skip to content

Workflow file for this run

name: Call a reusable workflow and use its outputs
on:
pull_request:
branches: [ main ]
jobs:
job1:

Check failure on line 8 in .github/workflows/reusable.yaml

View workflow run for this annotation

GitHub Actions / Call a reusable workflow and use its outputs

Invalid workflow file

The workflow is not valid. .github/workflows/reusable.yaml (Line: 8, Col: 3): Error calling workflow 'TraceMachina/test-github-actions/.github/workflows/temp-key.yaml@main'. The nested job 'my_job' is requesting 'actions: read, pull-requests: read, id-token: write', but is only allowed 'actions: none, pull-requests: none, id-token: none'.
uses: TraceMachina/test-github-actions/.github/workflows/temp-key.yaml@main
job2:
runs-on: ubuntu-latest
needs: job1
steps:
- run: echo ${{ needs.job1.outputs.firstword }} ${{ needs.job1.outputs.secondword }}