-
Notifications
You must be signed in to change notification settings - Fork 365
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
How to run only on PRs? #1112
Comments
Hello @alper |
Hello alper, most of the operations have -pr- variant - they affect only PR's according to the documentation. Can you please clarify what namely operation do you want to be applied? |
I couldn't figure out how to not have it work on issues so I set the issue days to 999. That should probably work long enough for my purposes. |
Hello @alper , the provided info is not enough to identify the exact problem, but generally you should use only -pr- and do not use -issue- variants of the configuration option in order to process only PRs. Did it help? |
@alper |
I am trying this out @shmishra99 .. I think it would be great to have this in the docs .. you want me to send a PR to add it once I confirmed it works?
I assume the same approach works for excluding PRs:
|
This does not work. I have set up only the You can see this in this example Action run: https://github.com/open-telemetry/semantic-conventions/actions/runs/7925571995/job/21638954263
My current config is:
|
It seems I can confirm the behavior just above. I used only the
|
Also increase the limit to wait for 30 days before closing stale workflow has no option on running on issues only See actions/stale#1112
Hi @dsame! I'm experiencing the same issue but the other way around. I've tried to override with a 'do not stale' label but it ignores it. I also tried setting up only the *-issues variant of configuration and it does not work, also for setting the *-pr to -1. regards, Djoyke |
Also increase the limit to wait for 30 days before closing stale workflow has no option on running on issues only See actions/stale#1112
Also increase the limit to wait for 30 days before closing stale workflow has no option on running on issues only See actions/stale#1112
I would like stale to run only on PRs but not on issues. I don't see a way in the documentation to do so.
The text was updated successfully, but these errors were encountered: