tinkerbell / hook

In-memory Operating System Installation Environment for Executing Tinkerbell Workflows
Apache License 2.0
103 stars 51 forks source link

ci: Only push to quay if github.actor is not dependabot #97

Closed mmlb closed 2 years ago

mmlb commented 2 years ago

Description

Avoids pushing to quay if the PR/push originates from dependabot.

Why is this needed

We skipped logging in to quay.io when github.actor is dependabot in #96 but did not check if any pushes were attempted. This change will avoid that failure.

This was missed in the subsequent dependabot PRs #89 and #95 because there was no branch protection setup and I added the ready-to-merge label so mergify merged it :(. I've added branch protection to require the actions to pass.

How Has This Been Tested?

CI