From d2be8b731f3070a173bc933dac64ff75cf20f5a3 Mon Sep 17 00:00:00 2001 From: ofer affias Date: Wed, 7 Feb 2024 17:02:59 -0500 Subject: [PATCH] fix usage of secrets in github in all docs --- docs/context-variables.md | 2 +- plugins/filters/getCodeowners/README.md | 5 +++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/docs/context-variables.md b/docs/context-variables.md index 489db388..faa6a3c3 100644 --- a/docs/context-variables.md +++ b/docs/context-variables.md @@ -153,7 +153,7 @@ jobs: runs-on: ubuntu-latest name: gitStream workflow automation env: - SLACK_WEBHOOK: ${{ secrets.SLACK_WEBHOOK }} + SLACK_WEBHOOK: ${{ secrets.SLACK_WEBHOOK }} ... ``` diff --git a/plugins/filters/getCodeowners/README.md b/plugins/filters/getCodeowners/README.md index 5860094d..016d0189 100644 --- a/plugins/filters/getCodeowners/README.md +++ b/plugins/filters/getCodeowners/README.md @@ -6,11 +6,12 @@ When used, create a secret TOKEN, and add it to the workflow file, in GitHub: ``` jobs: gitStream: + ... + env: + CODEOWNERS: ${{ secrets.GITSTREAM_CODEOWNERS }} steps: - name: Evaluate Rules uses: linear-b/gitstream-github-action@v1 - env: - CODEOWNERS: ${{ secrets.GITSTREAM_CODEOWNERS }} ``` ??? note "Plugin Code: getCodeowners"