diff options
| author | Tom Stellard <tstellar@redhat.com> | 2026-02-04 14:26:04 -0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2026-02-04 14:26:04 -0800 |
| commit | 4e21141bae0dac9eadd28fe230ffe213cd156af6 (patch) | |
| tree | 4801b3ab08ef52722ade7e8e1ff7c9dc7c6b2732 /libc/test/integration/src/threads/cnd_test.cpp | |
| parent | 031a90e977bd209e7bbaf7ba102ea9cf6d78c8ba (diff) | |
| download | llvm-main.zip llvm-main.tar.gz llvm-main.tar.bz2 | |
workflows/issue-release-workflow: Add an environment in order to limit secret access (#179585)HEADmain
I've created a new environment called `main-branch-only` which is meant
to be used for running the GitHub Actions based automations for the
project. By using an environment, we can move some of the secrets we use
from the repository configuration and into the environment
configuration, which means they will only be accessible for jobs that
run on the branch we specify, which in this case is the main branch.
This will prevent people from using user branches as a way to gain
access to secret values (which they can do now very easily by creating a
workflow that dumps the secrets). Even though someone could still do
this by pushing to main, user branches are hard to monitor and they can
be easily deleted after dumping the secrets leaving no trace.
If someone where to do this on the main branch it would be much more
visible and impossible to cover up.
I would like to apply this to more workflows, but I'm starting here so I
can test it and make sure it works the way I expect.
Diffstat (limited to 'libc/test/integration/src/threads/cnd_test.cpp')
0 files changed, 0 insertions, 0 deletions
