Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Code scanning cannot determine the alerts introduced by this pull request, because 1 configuration present onrefs/heads/main was not found:#18506

Unanswered
rgoldberg asked this question inQ&A
Discussion options

A "Code scanning results" action always marked with a grey square whenever it is supposed to run.

An example can be seenhere.

How can I fix it? I've seen & tried some solutions, but nothing solved the problem.

The recommendations that I found were from a few years ago, so things might have subsequently changed, anyway.

The output from attempting to run the action is::

1 configuration not foundWarning: Code scanning cannot determine the alerts introduced by this pull request, because 1 configuration present on refs/heads/main was not found:Actions workflow (codeql.yml)❓  /language:swift
You must be logged in to vote

Replies: 4 comments 6 replies

Comment options

hi@rgoldberg, I'm sorry to hear you're having this problem. I initially thought this might have been related togithub/codeql-action#1179, but your setup seems like it should be working. I will ask internally for someone to look at this.

You must be logged in to vote
2 replies
@rgoldberg
Comment options

@redsun82 Any luck looking into this? I let it fall by the wayside, but can get back to it now. I haven't looked into it or changed it.

Here's my unchangedcodeql.yml.

Thanks.

@rgoldberg
Comment options

@redsun82 The issue seems to stem fromlanguage: swift, as there is an error only for that, not forlanguage: actions.

Any ideas how to fix this?

Thanks.

Comment options

@redsun82 Thanks for the reply. I saw that discussion.

I tried the script fromgithub/codeql-action#1179 (comment); it only deleted one analysis.

New deletable analyses are now being generated, but the same problem occurred when there were no deletable analyses, so these new ones shouldn't be causing the problem.

You must be logged in to vote
0 replies
Comment options

Hi@rgoldberg,

It seems like the codeql.yml file might be missing or misconfigured. Try these:

  • Check for the codeql.yml file: It should be in the .github/workflows folder on the main branch.
  • Verify the file setup: Make sure it's set up correctly for the language you're using (e.g., Swift).
  • Re-run the workflow: After fixing, try running the workflow again.
  • Update the action: Make sure you're using the latest version of the codeql-action.
You must be logged in to vote
4 replies
@jsoref
Comment options

fwiw, here's therelevant file as it was when this discussion wasopened for715-scripts.

it remains unchanged inmain

@rgoldberg
Comment options

@jsoref Are you encountering this, too?

Thanks.

@jsoref
Comment options

More or less, yes, but I'm not using codeql-action, I'm using my own implementation:

check-spelling-sandbox/anubis#2
image

https://github.com/check-spelling-sandbox/anubis/pull/2/checks?check_run_id=41609006958

GitHub Advanced Security / check-spelling
failed 1 hour ago in 3s
1 configuration not found
Warning: Code scanning may not have found all the alerts introduced by this pull request, because 1 configuration present on refs/heads/spell-check-with-spelling was not found:

API upload

New alerts in code changed by this pull request
2 errors

So I'm trying to figure out what any of this stufftechnically means.

Note that I've occasionally contributed to github/codeql-action, but at this time I'm mostly reimplementing the pieces so I don't need to rely on it.

@rgoldberg
Comment options

@jsoref I know almost nothing about CodeQL. I just tried enabling it to hopefully discover any problems in my code. I can't even remember the exact problems I had with it. I'll happily try stuff out if people who know CodeQL ins & outs (likely GitHub employees) let me know what to do, but I probably won't myself proactively investigate as it would probably take more time than it's worth given my lack of knowledge about CodeQL.

Comment options

A similar situation occurred in my repository:https://github.com/DuckDuckStudio/Fufu_Tools/pull/216/checks?check_run_id=43754882320

image

I used to use CodeQL Advanced (C/C++, C#, Python), but I recently switched back to the default setup andremoved codeql.yml. I'm not sure if this caused the issue.

Edit:
CodeQL is now showing this issue in pull requests from dependabot in several of my repositories.
Even if some repositories have never used CodeQL Advanced.
Pull requests from users are normal.

Edit:
Ah, it seems that it is because:https://github.com/orgs/community/discussions/121836

You must be logged in to vote
0 replies
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Category
Q&A
Labels
None yet
5 participants
@rgoldberg@redsun82@jsoref@DuckDuckStudio@imDarshanGK

[8]ページ先頭

©2009-2025 Movatter.jp