Comments (10)
Hello @RunningLeon , thanks for your input we are starting to review the reported problem
from stale.
Hello @RunningLeon
can you please confirm you do not have custom github token for the repository?
From the log is the token does not have issues: write
permission
GITHUB_TOKEN Permissions
Contents: read
Issues: read
Metadata: read
PullRequests: read
despite the proper permissions requested in the workflow file:
permissions:
contents: write # only for delete-branch option
issues: write
pull-requests: write
from stale.
@dsame Hi, thanks. But the github_token is set to have read/write permission in action settings
from stale.
Hello @RunningLeon, can you please double check the enterprise to which the repo belongs to
does not have restricted polices:
- In the enterprise account sidebar, click Policies.
- Under " Policies", click Actions.
- Under "Workflow permissions", choose whether you want the GITHUB_TOKEN to have read and write access for all scopes, or just read access
from stale.
Hello @RunningLeon , this is a gentle remainder the issue is staled waiting for response and to be closed soon due to inactivity.
from stale.
Hello @RunningLeon , i am closing the issue because of long inactivity, but please feel free to reopen it or create a new one in case problem still exists
from stale.
@dsame Hi, it appeared that once the pr is merged to the master branch, the permission for GITHUB_TOKEN
works fine(with write permission for issues as set in workflow yaml). At PR stage, the permission is not right. But this github procedure is not right for some cases. For instance, we add a workflow that requires GITHUB_TOKEN to have write permission in a PR, but the workflow cannot run due to he permission at PR stage. So we don't know whether the code is good to merge to master branch.
from stale.
Hello @RunningLeon , thanks for the additional info - it is really helpful and from it i see it is much better to ask this question in runner repo - its team is responsible for the described malfunction.
Do you want me to create the new issue there in behalf of you or you'd prefer to create it yourself?
from stale.
Hi, thanks for your reply. Maybe I could create a new issue later.
from stale.
The issue is closed due it relates to other repo.
from stale.
Related Issues (20)
- 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 3
- [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
- Action is not working and is always erroring out HOT 3
- Actions fails if rate Limit is not enabled HOT 2
- `actions: write` is too permissive HOT 1
- Feature request: Close draft PRs only HOT 1
- Github actions workflow issue for long running jobs - Not able to view Logs & status marked as cancelled but overall workflow seems to be running HOT 4
- Error when removing the label: "Label does not exist" HOT 2
- Remove Stale Branches HOT 3
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.