Commit 9d9d252
committed
feat: restrict actions that use secrets to docker/docker-credential-helpers
This change adds conditional expressions to restrict the execution of
pipeline steps that consume secrets, such as uploading artifacts to
remote stores, from being executed unless they are being executed in the
context of the upstream `docker/docker-credential-helpers` repository.
With this change, downstream, external contributors (users who have
forked this repository, and have that fork on GitHub) can enable GitHub
Actions in their fork, in order to iterate and validate their changes
without waiting on the upstream maintainers.
This is extremely helpful to all contributors, because the repository
requires maintainer approval in order to execute pipelines, which is
burdensome on the maintainers, and due to this restrictive gatekeeping,
contributors have an excessively long feedback loop.
Signed-off-by: sudoforge <[email protected]>1 parent f9d3010 commit 9d9d252
1 file changed
+5
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
109 | 109 | | |
110 | 110 | | |
111 | 111 | | |
| 112 | + | |
112 | 113 | | |
113 | 114 | | |
114 | 115 | | |
| |||
130 | 131 | | |
131 | 132 | | |
132 | 133 | | |
| 134 | + | |
133 | 135 | | |
134 | 136 | | |
135 | 137 | | |
| |||
172 | 174 | | |
173 | 175 | | |
174 | 176 | | |
175 | | - | |
| 177 | + | |
| 178 | + | |
| 179 | + | |
176 | 180 | | |
177 | 181 | | |
178 | 182 | | |
| |||
0 commit comments