<p>It's a silly check that fouls <a href="https://github.com/actions/runner/blob/c46dac6736deae8ac151001a3fece8057eb7325b/src/Sdk/Common/Common/Utility/SecretUtility.cs#L228C50-L229C1" rel="nofollow noreferrer"><code>SecretUtility.cs</code></a> which <a href="https://github.com/actions/runner/blob/c46dac6736deae8ac151001a3fece8057eb7325b/src/Sdk/Common/Common/Utility/SecretUtility.cs#L228" rel="nofollow noreferrer">blacklists <code>PWD=</code></a> and removes it subsequently in <code>ScrubTraditionalSecrets</code>.</p>

CC BY-SA 4.0
2024-11-25T02:01:10.070Z
2024-11-25T02:01:10.070Z
Evan Carroll
<p>When I dump the environmental with a job that executes <code>env</code>, I see</p>
<pre class="lang-none prettyprint-override"><code>BOOTSTRAP_HASKELL_NONINTERACTIVE=1
***
PIPX_BIN_DIR=/opt/pipx_bin
</code></pre>
<p>That <code>***</code> is <code>PWD=/home/runner/work/ec-test-repo/ec-test-repo</code> why would GitHub block that out?</p>

<github-actions>
Why does GitHub Actions have asterisks *** in an ENV dump?
Evan Carroll
# Why does GitHub Actions have asterisks *** in an ENV dump?

(Asked by: username_0 on 2024-11-25)

When I dump the environmental with a job that executes env, I see
BOOTSTRAP_HASKELL_NONINTERACTIVE=1
***
PIPX_BIN_DIR=/opt/pipx_bin

That *** is PWD=/home/runner/work/ec-test-repo/ec-test-repo why would GitHub block that out?

**Tags:** github-actions


---

## 1 answers

### Answer by username_0 on 2024-11-25. Score: 0 | Accepted answer

It's a silly check that fouls [`SecretUtility.cs`](https://github.com/actions/runner/blob/c46dac6736deae8ac151001a3fece8057eb7325b/src/Sdk/Common/Common/Utility/SecretUtility.cs#L228C50-L229C1) which [blacklists `PWD=`](https://github.com/actions/runner/blob/c46dac6736deae8ac151001a3fece8057eb7325b/src/Sdk/Common/Common/Utility/SecretUtility.cs#L228) and removes it subsequently in `ScrubTraditionalSecrets`.


---

