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

Run: error not found #28

Open
mainrs opened this issue Jul 22, 2020 · 7 comments
Open

Run: error not found #28

mainrs opened this issue Jul 22, 2020 · 7 comments

Comments

@mainrs
Copy link

mainrs commented Jul 22, 2020

I wanted to setup the action on my repository but it fails running: https://github.com/mainrs/git-cm/pull/33/checks?check_run_id=898404696

The console says:

Run kentaro-m/auto-assign-action@v1.1.1
  with:
    repo-token: ***
    configuration-path: .github/auto_assign.yml
##[error]Not Found
@davegreenwp
Copy link

We're getting this in our workflow, but it's not clear what is not found, presuming this error relates to the file declared in configuration-path @kentaro-m ?

Screenshot 2022-04-14 at 09 32 18

@kenny-alvizuris-cko
Copy link

I'm having the same issue when trying to run this action, the error does not specify what actually is not found any ideas?

@manubla4
Copy link

Im having the same issue here

@umihico
Copy link

umihico commented Nov 17, 2022

In my case, I tried to dynamically generate my config file and failed. I found out this action fetch the file from remote. I guess this is intentional, because users can skip checkout (which is slow and heavy sometimes)

const config = await utils.fetchConfigurationFile(client, {

export async function fetchConfigurationFile(client: github.GitHub, options) {

@katfir
Copy link

katfir commented Jun 9, 2023

I have similar problem. I have workflow nested in one repo and it works with default config.
But workflows that calls it from another, crashes:

Run kentaro-m/auto-assign-action@v1.2.5
  with:
    configuration-path: .github/auto_assign.yml
    repo-token: ***
Error: Not Found

.github/auto_assign.yml is located in the same repo as reusable workflow. And workflow works in this repo by open pr trigger for example

@GregoryNative
Copy link

@kentaro-m any updates?

@davidmajercak
Copy link

I finally got something to work. As umihico said above, it is trying to pull the yml config from the remote.

I was trying to generate the yml config dynamically, but since it only existed locally, the config was never found. Had to settle for the less elegant solution of hard-coding a yml config for each team, and using a powershell script to find out which team the author belongs to, and then returning the filepath to that config.

You'll also need to use the checkout action as a first step.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

8 participants