Comments (4)
Yes exactly, the action uses the octokit.repos.getContents()
method without passing the ref
, so it will look for the file in the default branch of the repository.
from pr-branch-labeler.
Hi @AndrewLeedham, is the pr-branch-labeler.yml
file already present in your repo or did you add it in the PR that also adds the workflow?
from pr-branch-labeler.
Hi @AndrewLeedham, is the
pr-branch-labeler.yml
file already present in your repo or did you add it in the PR that also adds the workflow?
It is part of the PR, guessing the action cannot access it in that case then?
from pr-branch-labeler.
Gotcha, thanks for the fast response!
from pr-branch-labeler.
Related Issues (10)
- Config not parsed HOT 1
- Create a new release HOT 2
- Error: Cannot find module '@actions/core' HOT 1
- Cannot use event pull_request on OSS repositories, GitHub token is read-only HOT 3
- Does not add tag for matching `base` branch. HOT 1
- Resource not accesible by integration HOT 1
- Error: Bad credentials
- Changes to the labeler config will not work in the PR that they are submitted with HOT 2
- Support for dynamic labels based on branches
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 pr-branch-labeler.