- Notifications
You must be signed in to change notification settings - Fork1.7k
-
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::
|
BetaWas this translation helpful?Give feedback.
All reactions
Replies: 4 comments 6 replies
-
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. |
BetaWas this translation helpful?Give feedback.
All reactions
-
@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. |
BetaWas this translation helpful?Give feedback.
All reactions
-
@redsun82 The issue seems to stem from Any ideas how to fix this? Thanks. |
BetaWas this translation helpful?Give feedback.
All reactions
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
-
@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. |
BetaWas this translation helpful?Give feedback.
All reactions
👍 1
-
Hi@rgoldberg, It seems like the codeql.yml file might be missing or misconfigured. Try these:
|
BetaWas this translation helpful?Give feedback.
All reactions
-
fwiw, here's therelevant file as it was when this discussion wasopened for it remains unchanged in |
BetaWas this translation helpful?Give feedback.
All reactions
👍 1
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
-
@jsoref Are you encountering this, too? Thanks. |
BetaWas this translation helpful?Give feedback.
All reactions
-
More or less, yes, but I'm not using codeql-action, I'm using my own implementation: check-spelling-sandbox/anubis#2 https://github.com/check-spelling-sandbox/anubis/pull/2/checks?check_run_id=41609006958
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. |
BetaWas this translation helpful?Give feedback.
All reactions
👍 1
-
@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. |
BetaWas this translation helpful?Give feedback.
All reactions
👍 1
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
-
A similar situation occurred in my repository:https://github.com/DuckDuckStudio/Fufu_Tools/pull/216/checks?check_run_id=43754882320 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: Edit: |
BetaWas this translation helpful?Give feedback.