tinkerbell / hook

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

Add or update mergify config #102

Closed mmlb closed 2 years ago

mmlb commented 2 years ago

This PR will either create a Mergify config if it doesn't exist or ensure it is up to date with recent mergify changes.

Mergify has deprecated strict mode in favor of build queues (https://blog.mergify.com/strict-mode-deprecation/), this updates existing configs to the new setup. The commit_message field was also deprecated in favor of the more powerful commit_message_template field. The mergify config file was moved to the .github folder to avoid muddying up the root dir.

This PR will also ensure every tinkerbell repo has a mergify config setup, since it doesn't block manual merges but is missed when not available by some.

mmlb commented 2 years ago

I'm going to drop publish as a required status check. I don't think that works for PRs from forks (doesn't look like its building because of https://github.com/tinkerbell/hook/blob/main/.github/workflows/push.yaml#L3 which won't trigger from forks)