autofix-ci / action

The autofix.ci GitHub Action.
https://autofix.ci/
MIT License
131 stars 2 forks source link

`comment` field not working #9

Closed scarf005 closed 11 months ago

scarf005 commented 1 year ago

i tried https://github.com/autofix-ci/action/pull/7 in https://github.com/cataclysmbnteam/Cataclysm-BN/pull/3395, however they doesn't seem to run, for example like in https://github.com/cataclysmbnteam/Cataclysm-BN/pull/3673. despite autofix.ci making commits, it wouldn't add comments.

we're using latest version of the action.

      - uses: autofix-ci/action@d3e591514b99d0fca6779455ff8338516663f7cc
        if: ${{ always() }}
        with:
          commit-message: "style(autofix.ci): automated formatting"
          commment: |
            The Autofix app has automatically formatted this Pull Request.

            If you edit your PR on web UI, you can ignore this message.
            If you edit your PR locally, YOU MUST DO EITHER OF THE FOLLOWING:

            - Run `git pull` to merge the automated commit into your local copy of the PR branch.
            - [Format your code locally](https://docs.cataclysmbn.org/en/contribute/contributing/#code-style), and force push to your PR branch.

            If you don't do this, your following work will be based on the old commit, and cause MERGE CONFLICT.
mhils commented 1 year ago

Thanks! It looks like I typo'd comment as commment in action.yml and that error made it over to your workflow. I've fixed the action in https://github.com/autofix-ci/action/commit/bee19d72e71787c12ca0f29de72f2833e437e4c9, can you apply the same fix in your repo and try again please? 😃