I am currently struggling with a workflow that I would like some help with.
My current workflow operates like this:
First the user pushes the code to GitHub, an Action script with pushes to branches other than
main gets triggered and as part of its process, it versions the front- and back-end projects with pre-release versions. The workflow continues with linting, compiling, testing, etc., then when it’s all successful, it does a
push so that the pre-release versions are on the branch.
This all works fine until I want to put down successful passes as requirements for PRs. What I end up with is a successful pass followed immediately by a version change push that doesn’t trigger any Actions. The PR only looks at the latest run and because it neither passed nor failed, the PR is blocked from being merged.
Here’s an example of what my PR’s commit history looks like:
I’d appreciate any help or ideas on how I can make this workflow work as it should.