CurtinFRC / 2024-Crescendo

Our code for FRC 2024: CRESCENDO, using Gradle, Wombat, and probably other stuff
https://4788-docs.vercel.app/
MIT License
14 stars 18 forks source link

Actions don't run after the formatter action pushes #130

Open spacey-sooty opened 8 months ago

spacey-sooty commented 8 months ago

Describe the bug After the workflow to format code runs the GitHub Actions bot makes a push with it's token. Due to using the GitHub actions runner token this doesn't cause the on pull request or on push to trigger again.

To Reproduce Steps to reproduce the behavior:

  1. Open a pull request with failing formatting.
  2. comments /format
  3. See runs not triggering

Expected behavior on pull request and on push are triggered.

Additional context This is an intentional choice by GitHub to work around it we have to make a custom auth token for the actions runner.