From 059d9f0b784de796523e8ad99829648f2a698797 Mon Sep 17 00:00:00 2001 From: Linda_pp Date: Mon, 30 May 2022 09:47:00 +0900 Subject: [PATCH] Fix document of `on.workflow_call.secrets.inherit` (#17929) --- .../using-workflows/workflow-syntax-for-github-actions.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/content/actions/using-workflows/workflow-syntax-for-github-actions.md b/content/actions/using-workflows/workflow-syntax-for-github-actions.md index 3e72dd0739..dfd7856174 100644 --- a/content/actions/using-workflows/workflow-syntax-for-github-actions.md +++ b/content/actions/using-workflows/workflow-syntax-for-github-actions.md @@ -173,8 +173,8 @@ on: jobs: pass-secrets-to-workflow: - uses: ./.github/workflows/called-workflow.yml - secrets: inherit + uses: ./.github/workflows/called-workflow.yml + secrets: inherit ``` ```yaml @@ -186,7 +186,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Use a repo or org secret from the calling workflow. - uses: echo ${{ secrets.CALLING_WORKFLOW_SECRET }} + run: echo ${{ secrets.CALLING_WORKFLOW_SECRET }} ``` {% endraw %}