GeezerVisonThe World Wide Web, restored to 800 pixels of glory. | ||||||||||||||||||||||||||||||||||||||||||
| Home|About|Gaming cabinet|Archives|How it works|Starter sites | ||||||||||||||||||||||||||||||||||||||||||
GeezerVison is showing github.com — Minor cleanup by jsoref · Pull Request #2580 · github/codeql-action Conversation
|
| permissions: | ||
| contents: read | ||
| security-events: write |
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
Is this necessary? CODEQL_ACTION_TEST_MODE should prevent the sarif from being uploaded.
Maybe this is all that is necessary (in order to check out the repo):
permissions:
contents: read
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
Expected Queries Tests
This run of the CodeQL Action does not have permission to access Code Scanning API endpoints. As a result, it will not be opted into any experimental features. This could be because the Action is running on a pull request from a fork. If not, please ensure the Action has the 'security-events: write' permission. Details: Resource not accessible by integration
https://github.com/check-spelling-sandbox/github-codeql-action/actions/runs/11648653925
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
This is probably something about running in a fork. It's not a problem to leave it in.
Sorry, something went wrong.
There was an error while loading. Please reload this page.
| const path = require('path'); | ||
| const codeqlPath = path.join(process.env['RUNNER_TOOL_CACHE'], 'CodeQL'); | ||
| fs.rmdirSync(codeqlPath, { recursive: true }); | ||
| if (codeqlPath !== undefined) { |
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
Can you explain why you need this? Is this because you are using a self-hosted runner somewhere?
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
I'm using nektos/act which uses a custom image
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
I've also historically used self-hosted runners.
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
That's fine.
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the contribution.
Sorry, something went wrong.
There was an error while loading. Please reload this page.
| const path = require('path'); | ||
| const codeqlPath = path.join(process.env['RUNNER_TOOL_CACHE'], 'CodeQL'); | ||
| fs.rmdirSync(codeqlPath, { recursive: true }); | ||
| if (codeqlPath !== undefined) { |
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
That's fine.
Sorry, something went wrong.
There was an error while loading. Please reload this page.
| permissions: | ||
| contents: read | ||
| security-events: write |
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
This is probably something about running in a fork. It's not a problem to leave it in.
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
Successfully merging this pull request may close these issues.
There was an error while loading. Please reload this page.