GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Minor cleanup by jsoref · Pull Request #2580 · github/codeql-action

Conversation

@jsoref

@jsoref jsoref commented Nov 6, 2024 •
edited by aeisenberg
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown
Contributor
  • Split from Remove node_modules and compile typescript into minified scripts #2578
  • spelling: in case -- grammatical fix
  • spelling: macos -- branding fix
  • Strip trailing whitespace generated by ruamel-yaml -- quality of life change -- editors do not like trailing whitespace and have a tendency to strip them (which is problematic given that there's a second related file) -- ruamel-yaml is currently pinned to an out-of-date version, but at some point, I'd be inclined to file a bug against it if I could reproduce this behavior in the current version
  • Give expected-queries-runs permissions
  • Fix publish-immutable-action version -- This is odd, I filed Advice in readme appears contradictory but is at least out of date actions/publish-immutable-action#212 about it
  • Conditionally clear runner cache -- This relates to making nektos/act happy (there's a second bigger bug that means that act doesn't work at all, I've poked it)

Merge / deployment checklist

  • Confirm this change is backwards compatible with existing workflows.
  • Confirm the readme has been updated if necessary.
  • Confirm the changelog has been updated if necessary.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@jsoref
spelling: in case
16e8ccc
Signed-off-by: Josh Soref <[email protected]>
@jsoref
jsoref requested a review from a team as a code owner November 6, 2024 06:17
@jsoref jsoref mentioned this pull request Nov 6, 2024
Remove node_modules and compile typescript into minified scripts #2578
Closed
2 of 3 tasks
jsoref added 5 commits November 6, 2024 06:43
@jsoref
spelling: macos
756aa64
Signed-off-by: Josh Soref <[email protected]>
@jsoref
Strip trailing whitespace generated by ruamel-yaml
d5e7384
@jsoref
Give expected-queries-runs permissions
1e6d67b
@jsoref
Fix publish-immutable-action version
688ea53
@jsoref
Conditionally clear runner cache
3b7b85f
This allows runners that don't have the cache to run these workflows.
@jsoref
jsoref force-pushed the minor-cleanup branch from 2ec63d2 to 3b7b85f Compare November 6, 2024 11:44
aeisenberg
aeisenberg reviewed Nov 6, 2024
View reviewed changes
Comment thread .github/workflows/expected-queries-runs.yml
Comment on lines +25 to +27
permissions:
contents: read
security-events: write

@aeisenberg aeisenberg Nov 6, 2024

Copy link
Copy Markdown
Contributor

There was a problem hiding this comment.

Choose a reason for 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.

Uh oh!

There was an error while loading. Please reload this page.

All reactions

@jsoref jsoref Nov 6, 2024

Copy link
Copy Markdown
Contributor Author

There was a problem hiding this comment.

Choose a reason for 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.

Uh oh!

There was an error while loading. Please reload this page.

All reactions

@aeisenberg aeisenberg Nov 6, 2024

Copy link
Copy Markdown
Contributor

There was a problem hiding this comment.

Choose a reason for 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.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
Comment thread pr-checks/checks/zstd-bundle-streaming.yml
const path = require('path');
const codeqlPath = path.join(process.env['RUNNER_TOOL_CACHE'], 'CodeQL');
fs.rmdirSync(codeqlPath, { recursive: true });
if (codeqlPath !== undefined) {

@aeisenberg aeisenberg Nov 6, 2024

Copy link
Copy Markdown
Contributor

There was a problem hiding this comment.

Choose a reason for 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.

Uh oh!

There was an error while loading. Please reload this page.

All reactions

@jsoref jsoref Nov 6, 2024

Copy link
Copy Markdown
Contributor Author

There was a problem hiding this comment.

Choose a reason for 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.

Uh oh!

There was an error while loading. Please reload this page.

All reactions

@jsoref jsoref Nov 6, 2024

Copy link
Copy Markdown
Contributor Author

There was a problem hiding this comment.

Choose a reason for 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.

Uh oh!

There was an error while loading. Please reload this page.

All reactions

@aeisenberg aeisenberg Nov 6, 2024

Copy link
Copy Markdown
Contributor

There was a problem hiding this comment.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That's fine.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
aeisenberg
aeisenberg approved these changes Nov 6, 2024
View reviewed changes

@aeisenberg aeisenberg left a comment

Copy link
Copy Markdown
Contributor

There was a problem hiding this comment.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the contribution.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
Comment thread pr-checks/checks/zstd-bundle-streaming.yml
const path = require('path');
const codeqlPath = path.join(process.env['RUNNER_TOOL_CACHE'], 'CodeQL');
fs.rmdirSync(codeqlPath, { recursive: true });
if (codeqlPath !== undefined) {

@aeisenberg aeisenberg Nov 6, 2024

Copy link
Copy Markdown
Contributor

There was a problem hiding this comment.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That's fine.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
Comment thread .github/workflows/expected-queries-runs.yml
Comment on lines +25 to +27
permissions:
contents: read
security-events: write

@aeisenberg aeisenberg Nov 6, 2024

Copy link
Copy Markdown
Contributor

There was a problem hiding this comment.

Choose a reason for 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.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@aeisenberg
aeisenberg merged commit 5ac2ddd into github:main Nov 6, 2024
@jsoref
jsoref deleted the minor-cleanup branch November 7, 2024 01:01
This was referenced Nov 8, 2024
Merge main into releases/v3 #2585
Merged
Merge releases/v3 into releases/v2 #2587
Merged
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

@aeisenberg aeisenberg aeisenberg approved these changes

Uh oh!

There was an error while loading. Please reload this page.

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Uh oh!

There was an error while loading. Please reload this page.

2 participants

@jsoref @aeisenberg
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.