Code Monkey home page Code Monkey logo

Comments (10)

dsame avatar dsame commented on August 27, 2024 1

Hello @RunningLeon , thanks for your input we are starting to review the reported problem

from stale.

dsame avatar dsame commented on August 27, 2024 1

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.

RunningLeon avatar RunningLeon commented on August 27, 2024

@dsame Hi, thanks. But the github_token is set to have read/write permission in action settings
image

from stale.

dsame avatar dsame commented on August 27, 2024

Hello @RunningLeon, can you please double check the enterprise to which the repo belongs to

image

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.

dsame avatar dsame commented on August 27, 2024

Hello @RunningLeon , this is a gentle remainder the issue is staled waiting for response and to be closed soon due to inactivity.

from stale.

dsame avatar dsame commented on August 27, 2024

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.

RunningLeon avatar RunningLeon commented on August 27, 2024

@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.

dsame avatar dsame commented on August 27, 2024

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.

RunningLeon avatar RunningLeon commented on August 27, 2024

Hi, thanks for your reply. Maybe I could create a new issue later.

from stale.

dsame avatar dsame commented on August 27, 2024

The issue is closed due it relates to other repo.

from stale.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.