In https://github.com/github/codeql-action/pull/2434 we stopped calling the df system binary on MacOS ARM runners where SIP was disabled, but the actual call to csrutil itself was run again and is also a binary 😸
This change makes it so that csrutil is only called once, in the init step before the build tracer environment variables are set, and then its result is saved in an environment variable.
Merge / deployment checklist
[x] Confirm this change is backwards compatible with existing workflows.
[x] Confirm the readme has been updated if necessary.
[x] Confirm the changelog has been updated if necessary.
In https://github.com/github/codeql-action/pull/2434 we stopped calling the
df
system binary on MacOS ARM runners where SIP was disabled, but the actual call tocsrutil
itself was run again and is also a binary 😸This change makes it so that
csrutil
is only called once, in theinit
step before the build tracer environment variables are set, and then its result is saved in an environment variable.Merge / deployment checklist