blacklanternsecurity / bbot

A recursive internet scanner for hackers.
https://www.blacklanternsecurity.com/bbot/
GNU General Public License v3.0
4.02k stars 370 forks source link

Fix syntax error in workflow file #1427

Closed domwhewell-sage closed 1 month ago

domwhewell-sage commented 1 month ago

This PR fixes a syntax error in the workflow file

TheTechromancer commented 1 month ago

Hey while you're at it can you add a check to make sure this workflow only runs on dev?

domwhewell-sage commented 1 month ago

Sure I have changed it to only checkout the dev branch and also changed the pull request branch name to not conflict with an existing branch name

TheTechromancer commented 1 month ago

Thanks, can you also add this at the top of the workflow like we've done for the autopublishing?

    if: github.event_name == 'push' && (github.ref == 'refs/heads/dev')
domwhewell-sage commented 1 month ago

The workflow currently runs at midnight each day instead of on push events. So I'm not sure that if statement is required

Edit: The successful run should open these 2 Pull requests image

TheTechromancer commented 1 month ago

Got it. I wasn't sure if having it in multiple branches would trigger multiple times, but I think you're right, it shouldn't be needed. Approved.