Skip to content

Commit 1475780

Browse files
authored
Adding note about secrets for reusable [skip ci]
1 parent ef24992 commit 1475780

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,10 @@ The Action has an output variable named filePath that you can use as this file i
3333
with:
3434
filelocation: ${{ steps.write_file.outputs.filePath }}
3535
```
36+
37+
### Using this in a reusable workflow
38+
As a special note, when using reusable workflows, repository secrets do not naturally 'flow' through to the workflow. So if your `encodedString` value is a repository secret and you expect this to work when this action is used in a reusable workflow, you need to specify the `secrets: inherit` value in that situation and put that where you are reusing this workflow.
39+
3640
## Building this repo
3741
After making modifications to the source index.js file, to properly package the change you need to run
3842

0 commit comments

Comments
 (0)