Skip to content

Commit

Permalink
fix usage of secrets in github in all docs
Browse files Browse the repository at this point in the history
  • Loading branch information
vim-zz committed Feb 7, 2024
1 parent f6e201d commit d2be8b7
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion docs/context-variables.md
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@ jobs:
runs-on: ubuntu-latest
name: gitStream workflow automation
env:
SLACK_WEBHOOK: ${{ secrets.SLACK_WEBHOOK }}
SLACK_WEBHOOK: ${{ secrets.SLACK_WEBHOOK }}
...
```

Expand Down
5 changes: 3 additions & 2 deletions plugins/filters/getCodeowners/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit d2be8b7

Please sign in to comment.