-
Notifications
You must be signed in to change notification settings - Fork 7
Open
Description
The dockerize job always fails at AWS auth here for dependabot PRs with The security token included in the request is invalid. Re-running the job has the same results. The only workaround is to close and re-open the dependabot PR.
According to Copilot:
- Dependabot PRs are considered "forked" PRs and run with restricted permissions.
- Repository secrets are NOT available to workflows running on PRs from forks for security reasons.
The easiest resolution here is probably to skip the dockerize job for dependabot PRs, e.g:
jobs:
dockerize:
if: github.actor != 'dependabot[bot]'
...Our tests and static analysis are probably sufficient to catch any bugs that would have surfaced during the Docker build.
Metadata
Metadata
Assignees
Labels
No labels