Skip to content

Commit

Permalink
Merge pull request #454 from linear-b/fix-use-of-env-token
Browse files Browse the repository at this point in the history
fix usage of secrets in github in all docs
  • Loading branch information
vim-zz committed Feb 8, 2024
2 parents f6e201d + d2be8b7 commit 64243ad
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 64243ad

Please sign in to comment.