Comments (3)
Hi Greg - I'm not sure that I understand your question. You should be literally using ${{ secrets.GITHUB_TOKEN }}
, which is the expansion syntax to use the GITHUB_TOKEN secret which is populated for you. There's no need to create an additional token.
Note, however that the GITHUB_TOKEN has read-only privileges on a fork, so you'll run into issue #12 if you are accepting pull requests from forks.
from labeler.
@ethomson Why do users need to pass the GITHUB_TOKEN
to the action, don't actions already have access to the token?
At least this was my understanding after reading the "important" section:
An action can access the GITHUB_TOKEN through the github.token context even if the workflow does not explicitly pass the GITHUB_TOKEN to the action.
from labeler.
Hello everyone!
The required permissions are specified in the README file.
Iām closing the issue. Please let us know if you have any concerns.
from labeler.
Related Issues (20)
- Documentation: Describe how to label if _any_ file in the repository has changed or to _every_ PR HOT 2
- Algo issue on CheckAny Function HOT 4
- Jarvis I.Mays ```suggestion HOT 1
- HttpError: Server Error when using labeler with over 50 labels HOT 1
- v5.0.0-alpha.1 HOT 13
- A HOT 1
- Question: Howto set a label if 2 files are changed within one PR HOT 3
- Removes label if someone applies it manually before the action runs HOT 4
- Labeler does not match **/*.[extension] HOT 8
- vcs labels HOT 1
- Unable to resolve action `actions/[email protected]`, unable to find version `v4.2.0` HOT 6
- https://www.facebook.com/profile.php?id=100024424234304&mibextid=ZbWKwL HOT 1
- Option to preserve manually added labels HOT 8
- Milestone to set on pull requests HOT 1
- Bug with files in root folder HOT 4
- labeler.yml file from local can not be accessed HOT 3
- Labeler not running at all HOT 4
- Multiple path matches are not correctly displayed as a label HOT 3
- Label not getting applied when changes are to files deeper than 4 levels HOT 4
- https://install.pocketgeekmobile.com/?Tm_campaign=apprating&utm_medium=in_app 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 labeler.