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

Specify the path trigger #21

Closed
chenrui333 opened this issue Nov 8, 2019 · 1 comment
Closed

Specify the path trigger #21

chenrui333 opened this issue Nov 8, 2019 · 1 comment

Comments

@chenrui333
Copy link

chenrui333 commented Nov 8, 2019

It would be good to specify the file path for triggering the action.

Right now, it is like this:

name: Compress images
on: pull_request

Propose:

name: Compress images
on:
  pull_request:
    paths:
    - '**.jpeg'
    - '**.png'
    - '**.jpg'
    - '**.webp'
@chenrui333
Copy link
Author

never mind, it only runs on PR.

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

Successfully merging a pull request may close this issue.

1 participant