Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feature request: add output to check whether files changed #6

Closed
scarf005 opened this issue Sep 2, 2023 · 1 comment
Closed

feature request: add output to check whether files changed #6

scarf005 opened this issue Sep 2, 2023 · 1 comment

Comments

@scarf005
Copy link

scarf005 commented Sep 2, 2023

it'd would be great to run additional action if some files changed, like in https://github.com/stefanzweifel/git-auto-commit-action?tab=readme-ov-file#outputs

Example usage

# ...
      - uses: autofix-ci/action@8caa572fd27b0019a65e4c695447089c8d3138b9
        id: autofix
        if: ${{ always() }}

      - uses:
        if: steps.autofix.outputs.changes_detected == 'true'
        run: peter-evans/create-or-update-comment@v3
        with:
          body: |
            ...
@mhils
Copy link
Member

mhils commented Oct 8, 2023

Thanks for this suggestion and sorry for the slow reply! This is implemented now, see README. :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants