deadlock-wiki / deadbot

Repository to handle any scripting and automation for the Deadlock Wiki
MIT License
13 stars 6 forks source link

Skip deploy.yaml on push if branch not found #113

Closed hassayag closed 2 days ago

hassayag commented 5 days ago

Even if a PR is not open, the deploy script still triggers the action on push. The deploy script should only trigger when a PR is open. We could use the pr synchronize event, but annoyingly that doesn't let you filter on path.

We should add some logic to block the action if the branch on deadlock-data is not found.

This occurs on release tag branches, eg. when its run on tags