Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

labeler.yml file from local can not be accessed #628

Closed
2 of 5 tasks
ayushtkn opened this issue Jul 22, 2023 · 3 comments
Closed
2 of 5 tasks

labeler.yml file from local can not be accessed #628

ayushtkn opened this issue Jul 22, 2023 · 3 comments
Labels
bug Something isn't working

Comments

@ayushtkn
Copy link

Description:

If the yml file is not available in the main remote repo, it doesn't get fetched from local PR branch

Action version:

All

Platform:

  • Ubuntu
  • macOS
  • Windows

Runner type:

  • Hosted
  • Self-hosted

Repro steps:
A description with steps to reproduce the issue. If your have a public example or repo to share, please provide the link.

Expected behavior:
It should pick the file available locally

Actual behavior:

The configuration file (path: .github/labeler.yml) isn't not found locally, fetching via the api
@ayushtkn ayushtkn added bug Something isn't working needs triage labels Jul 22, 2023
@ayushtkn ayushtkn changed the title yml file from local can not be accessed labeler.yml file from local can not be accessed Jul 22, 2023
@MaksimZhukov
Copy link
Contributor

Hello @ayushtkn!
Please use the checkout action to clone your repository into the runner before using the labeler action.

@MaksimZhukov
Copy link
Contributor

I am closing the issue. Please refer to the action documentation to fix the issue.
Do not hesitate to contact us if you have any questions

@ayushtkn
Copy link
Author

ayushtkn commented Aug 4, 2023

Thank you @MaksimZhukov.
Yes we needed the checkout functionality and post that it worked. Successfully working for Apache Hadoop :-)

do0ori added a commit to dangdangwalk/dangdang-walk that referenced this issue Apr 27, 2024
다음과 같은 오류가 발생했습니다.
The configuration file (path: .github/labeler.yml) was not found locally, fetching via the api
Error: HttpError: Resource not accessible by personal access token
Error: Resource not accessible by personal access token

Related to: actions/labeler#628
onkar added a commit to getsentry/snuba that referenced this issue Nov 4, 2024
b8a94db
reverted the `labeler` to `v4`. To update the `labeler` to `v5`
(originally intended to be done through
#6496), just updating the version
to `v5` is not sufficient. actions/labeler#628
recommends to add the `checkout` action before updating the labeler to
`v5`.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants