Replies: 3 comments
-
So I time boxed this to 3 hours which I have now reached. There is a way to achieve this by using environments [0]. But this is very cumbersome. I can't find a solution how to do this "easily" without compromising security. We could also use something like this https://github.com/marketplace/actions/manual-workflow-approval but I think this adds quite a lot of overhead. |
Beta Was this translation helpful? Give feedback.
-
Hmm, this action is sadly a security nightmare. Although we could pin it with a hash it uses an unpinned docker dependency that can be changed anytime. Although it looks like a good solution I argue it is more like getting a lemon ... sad to hear it is not possible atm. Will move this to a discussion so we keep the idea open |
Beta Was this translation helpful? Give feedback.
-
What we could also do is something like
Like this we would always need to comment on a PR to run the tests. The more I think about this I like the idea more and more as currently we run the tests on every push which is mostly not needed. Like this we could run the tests before merge. Would save a lot of CI/CD minutes (and CO2) also if we do this we could run the workflow in the repository context as we would have to allow the test to be run each time. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
At the moment when we get external PRs the secrects cannot be used.
However we store Eco CI API credentials and also Electricitymaps tokens in the secrets and want to track carbon emissions also for external PRs.
What I did:
Or we find another way to use the secrets ...
Beta Was this translation helpful? Give feedback.
All reactions