Conversation
|
Look like I'm not yet in the new YAML beta 🤷♂ |
|
The old HCL-workflow has been deleted. I've decided to split the existing workflow into separate files, for easier maintenance. There are now the following workflows:
|
|
Thanks for a great post Stefan. It gave me quick insight into the topic, really well written 👍 |
| commit_message: Apply php-cs-fixer changes | ||
| branch: ${{ github.head_ref }} | ||
| env: | ||
| GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |
There was a problem hiding this comment.
Does this really work?
It looks amazing
There was a problem hiding this comment.
Yes this does work :)
We use this or a very similar workflow in a lot of projects at my current job.
It seems I haven't made an example of actually running the workflow in a PR in this repository.
You can find a working example/demo in the demo project I use for the mentioned GitHub Action here: stefanzweifel/git-auto-commit-action-demo-app#4
There was a problem hiding this comment.
Thanks a lot, I gotta try it now :) so futuristic
Attempt to Migrate the existing HCL Workflow to the YAML format.
https://help.github.com/en/articles/migrating-github-actions-from-hcl-syntax-to-yaml-syntax