-
Notifications
You must be signed in to change notification settings - Fork 43
Closed
Description
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:
- Moved pipelines to pull_request_target instead of pull_request
- This helped with access to the secrets.
- However now always main was checked out as github.ref was always main. This can be fixed, but ...
- Now once given permissions to run Github actions the pipeline would ALWAYS run when a new push was done. this is a security issue. We would need that the pipeline runs only once and needs permissions for every new commit
Or we find another way to use the secrets ...
Metadata
Metadata
Assignees
Labels
No labels