You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
ci: Use Hadolint linter for Dockerfile, revert workflow to pull_request
Workflows running on pull_request_target events run in the context of
the base of the pull request, meaning that the Docker image is built
from the base and not from the merge commit. This is not what we want.
Revert to pull_request instead.
For the linter action that we used, this means that the workflow will
fail when running from fork. There is a related issue on the Action's
repository, but it seems to get very little activity. Let's switch to
something that looks better maintained, and that does not have issues
with running from forks.
Let's address the reports raised by the new linter, Hadolint.
Fixes: 7daff43 ("ci: Run Docker CI job on pull_request_target instead of pull_request")
Signed-off-by: Quentin Monnet <[email protected]>
0 commit comments