From 49a75d95a97acd92a865524d76fb0d657f2733c5 Mon Sep 17 00:00:00 2001
From: "allcontributors[bot]"
<46447321+allcontributors[bot]@users.noreply.github.com>
Date: Tue, 20 Dec 2022 13:32:02 +0000
Subject: [PATCH 1/3] docs: update README.md [skip ci]
---
README.md | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/README.md b/README.md
index 325450e..b682a68 100644
--- a/README.md
+++ b/README.md
@@ -1,6 +1,6 @@
# Base64 to File
-[](#contributors-)
+[](#contributors-)
Use this action if you need to get a file from a base64-encoded string that you may be storing in Secrets or elsewhere. This can be useful for certificate signing and storing the base64 cert in the Secrets.
@@ -60,6 +60,9 @@ Thanks goes to these wonderful people ([emoji key](https://allcontributors.org/d
 Robbie Frodsham 🐛 |
 Basti 🐛 💻 |
+
+  Osmund Maheswaran 🐛 |
+
From 2b78fe4083f5b36cb43fa434665627e12d5461f5 Mon Sep 17 00:00:00 2001
From: "allcontributors[bot]"
<46447321+allcontributors[bot]@users.noreply.github.com>
Date: Tue, 20 Dec 2022 13:32:03 +0000
Subject: [PATCH 2/3] docs: update .all-contributorsrc [skip ci]
---
.all-contributorsrc | 9 +++++++++
1 file changed, 9 insertions(+)
diff --git a/.all-contributorsrc b/.all-contributorsrc
index be2a4a2..ddbb206 100644
--- a/.all-contributorsrc
+++ b/.all-contributorsrc
@@ -69,6 +69,15 @@
"bug",
"code"
]
+ },
+ {
+ "login": "awesomund",
+ "name": "Osmund Maheswaran",
+ "avatar_url": "https://avatars.githubusercontent.com/u/5211642?v=4",
+ "profile": "https://github.com/awesomund",
+ "contributions": [
+ "bug"
+ ]
}
],
"contributorsPerLine": 7,
From 1475780677d156d669962cca1d7b801a0ceb9a8b Mon Sep 17 00:00:00 2001
From: Tim Heuer
Date: Tue, 20 Dec 2022 16:17:51 -0800
Subject: [PATCH 3/3] Adding note about secrets for reusable [skip ci]
---
README.md | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/README.md b/README.md
index b682a68..cccfd3b 100644
--- a/README.md
+++ b/README.md
@@ -33,6 +33,10 @@ The Action has an output variable named filePath that you can use as this file i
with:
filelocation: ${{ steps.write_file.outputs.filePath }}
```
+
+### Using this in a reusable workflow
+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.
+
## Building this repo
After making modifications to the source index.js file, to properly package the change you need to run