Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

242
Views
How to access files of GitHub Action repo when using that action in another repo?

I have created a JavaScript automation and in that script I have created couple of YML files and I'm importing them using fs and js-yaml libraries. I have hosted this code in repo A.

I want to convert my repo A into a GitHub action. I have followed the documentation from GitHub to create JavaScript action. I have used the verbal/ncc to create one file with all my libraries as suggested by GitHub.

But when I use this action in repo B, I get an error saying the yml files are not available at the mentioned path.

Does GitHub workflow download the action's repo during execution? if yes, how can I pass these yml files into the script?

If not, what are the options to pass these files into script?

about 4 years ago · Juan Pablo Isaza
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!