Comments (17)
@MaicolBen Were you ever able to get this working?
from stale.
No, still not working, considering switching back to the bot one
from stale.
Thanks. I'm going to experiment with some of the forks. I'll let you know what I find.
from stale.
I got this to work! The key is that the javascript file path was missing on release 1.1.0. Add the main: 'lib/main.js'
to the keys under the with
section.
name: "Close stale issues"
on:
issues:
types: [opened, reopened]
schedule:
- cron: "*/15 * * * *"
jobs:
stale:
runs-on: ubuntu-latest
steps:
- uses: actions/[email protected]
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
...
main: 'lib/main.js'
from stale.
still doesn't work, I believe I tried with the previous version of this action as well
from stale.
Unfortunately I only got it to run on some repos. This is very flaky and seems like it isn't maintained at the moment.
from stale.
No problem, thanks, feel free to close the issue, I switched back to the bot.
from stale.
Mind if I ask which bot?
from stale.
https://github.com/probot/stale
from stale.
If you set the secret ACTIONS_STEP_DEBUG
to true in your repo, you should be able to see more output. The action will tell you what it is doing and why. You can also set the debug-only
option to test it without it messing with your issues.
If you get good output please paste in here so we can help you troubleshoot.
from stale.
@hross Thanks for the pointer to debug flags. I've done that (I think correctly) and still see no helpful output:
https://github.com/great-expectations/great_expectations/runs/596802285?check_suite_focus=true
Raw log:
2020-04-17T22:28:34.6125584Z ##[section]Starting: Request a runner to run this job
2020-04-17T22:28:35.0441848Z Requesting a hosted runner in current repository's account/organization with labels: 'ubuntu-latest', require runner match: True
2020-04-17T22:28:35.1619552Z Labels matched hosted runners has been found, waiting for one of them get assigned for this job.
2020-04-17T22:28:35.1920002Z ##[section]Finishing: Request a runner to run this job
2020-04-17T22:28:40.0184566Z Current runner version: '2.169.0'
2020-04-17T22:28:40.0206034Z ##[group]Operating System
2020-04-17T22:28:40.0206597Z Ubuntu
2020-04-17T22:28:40.0206810Z 18.04.4
2020-04-17T22:28:40.0207150Z LTS
2020-04-17T22:28:40.0207434Z ##[endgroup]
2020-04-17T22:28:40.0207814Z ##[group]Virtual Environment
2020-04-17T22:28:40.0208012Z Environment: ubuntu-18.04
2020-04-17T22:28:40.0208354Z Version: 20200406.2
2020-04-17T22:28:40.0208593Z Included Software: https://github.com/actions/virtual-environments/blob/ubuntu18/20200406.2/images/linux/Ubuntu1804-README.md
2020-04-17T22:28:40.0208760Z ##[endgroup]
2020-04-17T22:28:40.0209938Z Prepare workflow directory
2020-04-17T22:28:40.0426130Z Prepare all required actions
2020-04-17T22:28:40.0437212Z Download action repository 'actions/[email protected]'
2020-04-17T22:28:41.3788565Z ##[group]Run actions/[email protected]
2020-04-17T22:28:41.3788994Z with:
2020-04-17T22:28:41.3789553Z repo-token: ***
2020-04-17T22:28:41.3789847Z stale-issue-message: Is this still relevant? If so, what is blocking it? Is there anything you can do to help move it forward?\n\nThis issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
2020-04-17T22:28:41.3790242Z stale-pr-message: Is this still relevant? If so, what is blocking it? Is there anything you can do to help move it forward?\n\nThis issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
2020-04-17T22:28:41.3790504Z days-before-stale: 120
2020-04-17T22:28:41.3790716Z days-before-close: 7
2020-04-17T22:28:41.3790897Z stale-issue-label: stale
2020-04-17T22:28:41.3791130Z stale-pr-label: stale
2020-04-17T22:28:41.3791399Z exempt-issue-label: stalebot-exempt
2020-04-17T22:28:41.3791585Z operations-per-run: 30
2020-04-17T22:28:41.3791769Z main: lib/main.js
2020-04-17T22:28:41.3791898Z debug-only: true
2020-04-17T22:28:41.3792121Z env:
2020-04-17T22:28:41.3792316Z ACTIONS_STEP_DEBUG: true
2020-04-17T22:28:41.3792499Z ##[endgroup]
2020-04-17T22:28:43.7077284Z Cleaning up orphan processes
from stale.
@Aylr from your log it looks like you are pinned to v1.1.0 which doesn't have debug output. You should pin to stale@v2. I submitted a PR to your repo.
from stale.
Also, v2 should resolve some of the above issues (javascript file path)
from stale.
Thank you to ACTIONS_STEP_DEBUG
I discovered that was a missing stale-pr-message
which I had the issue one, so it'd be great to be notified instead of using the debug flag
from stale.
@hross Thanks a ton for the PR that bumps the version. I have enabled the debug output, and I'm still at a loss as to why no labels are being applied. Here's a link to the run: https://github.com/great-expectations/great_expectations/actions/runs/95701394 and the raw debug log output: https://pipelines.actions.githubusercontent.com/hkXi2FzNCSfhQv7obSWa9OUyRF4zRLVKhgykrJMpS9j3VKaVaD/_apis/pipelines/1/runs/868/signedlogcontent/3?urlExpires=2020-05-04T22%3A59%3A11.8934671Z&urlSigningMethod=HMACV1&urlSignature=TCE2wNbVxggmeZrtH6KkhQeY0Kjom8zmJZObbcYzKXc%3D
from stale.
@Aylr from looking at your workflow file here:
https://github.com/great-expectations/great_expectations/actions/runs/95701394/workflow
It looks like you have 120 days until stale and then 7 days until close. The bot won't close anything that isn't already marked stale so you are basically telling it to wait 120 days to stale something and then close it. That is kind of confusing but it's to prevent accidentally closing issue that aren't stale. I wonder if we can make the docs more clear or change the close parameter name to make it more obvious.
from stale.
Thanks for your excellent help on this @hross!
from stale.
Related Issues (20)
- How to run only on PRs? HOT 7
- Add the ability to distinguish between last commit and last comment dates on a PR HOT 1
- Draft PR's timer should start from when it was marked as ready instead of PR creation HOT 1
- True```suggestion HOT 1
- This action closes issues where a maintainer or contributor has not responded or otherwise acted upon the issue. HOT 10
- Saved state not found HOT 6
- Eser4444 HOT 1
- Eser4444 HOT 1
- How to run for other repos in the same organization HOT 3
- Feature request: Option to move a PR from "open" to "draft" HOT 2
- Stale workflow fails to override cache. HOT 4
- Stale label not removed after receiving comments/commit HOT 5
- Error delete _state: [403] Resource not accessible by integration HOT 8
- Stale issues are not getting closed HOT 5
- State restoration fails if a repo has many caches HOT 3
- Have one workflow ignore the state saved by another HOT 1
- [wishlist
- [wishlist] mark previous comment(s) as outdated when removing 'stale' label HOT 1
- Allow filtering of PRs by review status or other criteria HOT 2
- Support markdown comments HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from stale.