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 — Add new configuration Parameter by tgrall · Pull Request #1590 · github/codeql-action

Conversation

@tgrall

@tgrall tgrall commented Mar 18, 2023 •
edited
Loading

Uh oh!

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

Copy link
Copy Markdown
Contributor
  • Write test to check it is read from configuration
  • Update documentation

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.
  • I may have to work on some exception management when the configuration parameter is not well formatted.

close #1589 1589

Sorry, something went wrong.

Uh oh!

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

adrienpessu and jeffwidman reacted with thumbs up emoji RasmusWL, felickz, aegilops, and CallMeGreg reacted with heart emoji
All reactions
  • 👍 2 reactions
  • ❤️ 4 reactions
Tugdual Grall
- Add new configuration Parameter
ee44252
- Write test to check it is read from configuration
- Update documentation
@tgrall
tgrall requested a review from a team as a code owner March 18, 2023 13:47
Tugdual Grall
update changelog
94786b3
@tgrall tgrall changed the title - Add new configuration Parameter Add new configuration Parameter Mar 18, 2023
Tugdual Grall added 4 commits March 18, 2023 15:14
Tugdual Grall
fix linter issues
2f14134
Tugdual Grall
Update README.md - typo
f81f527
Tugdual Grall
Update README.md
f1fb80a
Tugdual Grall
fix CI failure - check js
34231cf
@aibaars aibaars mentioned this pull request Mar 21, 2023
github/codeql-action/init@v2 fails with "Augmented user configuration file contents {}" #1596
Closed
@tgrall
rename new parameter from configuration to config
fe4a785
@tgrall
tgrall dismissed stale reviews from ghost via fe4a785 April 1, 2023 05:13
@tgrall

tgrall commented Apr 1, 2023

Copy link
Copy Markdown
Contributor Author

@henrymercer @AlonaHlobina : I have renamed the action parameter to config to match the config-file one

All reactions

Sorry, something went wrong.

Uh oh!

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

henrymercer
henrymercer reviewed Apr 4, 2023
View reviewed changes

@henrymercer henrymercer 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 your contribution! Some suggestions to docs and code.

Sorry, something went wrong.

Uh oh!

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

All reactions
Comment thread CHANGELOG.md Resolved

Uh oh!

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

Comment thread README.md Resolved

Uh oh!

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

Comment thread README.md Resolved

Uh oh!

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

Comment thread README.md Resolved

Uh oh!

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

Comment thread README.md Resolved

Uh oh!

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

Comment thread init/action.yml Resolved

Uh oh!

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

Comment thread src/config-utils.ts Resolved

Uh oh!

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

Comment thread src/config-utils.ts Resolved

Uh oh!

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

Comment thread src/init.ts Resolved

Uh oh!

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

Comment thread README.md Resolved

Uh oh!

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

Tugdual Grall and others added 8 commits April 10, 2023 07:33
Tugdual Grall
Merge branch 'main' into issue-1589-config-param
18f1345
Tugdual Grall @henrymercer
Accept change in PR
696504d
Co-authored-by: Henry Mercer <[email protected]>
Tugdual Grall @henrymercer
Update init/action.yml : PR review
a9fb7d9
Co-authored-by: Henry Mercer <[email protected]>
Tugdual Grall @henrymercer
Update README.md : during PR Review
d2950c1
Co-authored-by: Henry Mercer <[email protected]>
Tugdual Grall @henrymercer
Update README.md : during PR Review
c9f360d
Co-authored-by: Henry Mercer <[email protected]>
Tugdual Grall @henrymercer
Update CHANGELOG.md : during PR Review
0b75f47
Co-authored-by: Henry Mercer <[email protected]>
@tgrall
resolve comments from @henrymercer
b4e6f81
@tgrall
remove the documentation about workflow parameters
fc374f5
@tgrall
tgrall requested a review from henrymercer April 10, 2023 07:23
@tgrall

tgrall commented Apr 10, 2023

Copy link
Copy Markdown
Contributor Author

@henrymercer

  • thanks for the review, I have applied your changes.
  • I see many issues in the workflows, that were not present before, not sure what is the issue
  • I was not able to do my usual manual e2e testing, as my fork cannot get the CLI 2.12.6 (it was not the case before this release)
All reactions

Sorry, something went wrong.

Uh oh!

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

henrymercer
henrymercer reviewed Apr 14, 2023
View reviewed changes

@henrymercer henrymercer left a comment •
edited
Loading

Uh oh!

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

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 — this looks good, just some minor followup comments. Your PR checks failed due to hitting API rate limits. They should hopefully pass on a retry. If not, we can try to find a workaround. I am not sure why your fork cannot get CodeQL CLI 2.12.6. If you're still hitting this error, please provide us an error message and repro steps so we can investigate.

Sorry, something went wrong.

Uh oh!

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

All reactions
Comment thread README.md Resolved

Uh oh!

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

Comment thread src/config-utils.test.ts Resolved

Uh oh!

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

Comment thread src/config-utils.test.ts Resolved

Uh oh!

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

Comment thread src/config-utils.test.ts
const inputFileContents = `
name: my config
queries:
- uses: ./foo

@henrymercer henrymercer Apr 14, 2023

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.

Minor: It'd be clearer to extract foo into a variable so we can see more easily why we're creating the foo directory and referencing foo later on.

Sorry, something went wrong.

Uh oh!

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

All reactions
Comment thread src/config-utils.test.ts Resolved

Uh oh!

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

Comment thread src/config-utils.ts Resolved

Uh oh!

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

tgrall added 3 commits April 18, 2023 05:43
@tgrall
fix after review from @henrymercer
f398a65
@tgrall
remove space from json string
7b876ae
@tgrall
add test with config file and input together
47cec7a
henrymercer
henrymercer reviewed Apr 18, 2023
View reviewed changes

@henrymercer henrymercer 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 addressing my comments. Could you merge in main and rebuild so we can run the PR checks?

Sorry, something went wrong.

Uh oh!

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

All reactions
@jeffwidman jeffwidman mentioned this pull request Apr 20, 2023
CodeQL: ignore purposefully invalid ruby files dependabot/dependabot-core#7126
Merged
@jeffwidman

jeffwidman commented Apr 20, 2023

Copy link
Copy Markdown
Member

I assume this will also support the paths-ignore key?

Over in :dependabot: we'd like to configure CodeQL to ignore two files, and seemed like overkill to have to create the indirection of a separate config file just to specify those two files...

All reactions

Sorry, something went wrong.

Uh oh!

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

@jeffwidman jeffwidman mentioned this pull request Apr 20, 2023
paths and paths-ignore config settings are invalid #283
Closed
@henrymercer henrymercer mentioned this pull request Apr 21, 2023
Add threat-models as a property to config file and inputs #1653
Closed
3 tasks
@henrymercer

henrymercer commented Apr 21, 2023 •
edited
Loading

Uh oh!

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

Copy link
Copy Markdown
Contributor

@jeffwidman 👋 Yes, all keys supported by the config file, including paths-ignore, will be supported.

All reactions

Sorry, something went wrong.

Uh oh!

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

@aliscco aliscco mentioned this pull request Apr 28, 2023
[Snyk] Fix for 3 vulnerabilities aliscco/codeql-action#351
Open
@aeisenberg

aeisenberg commented Apr 28, 2023 •
edited
Loading

Uh oh!

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

Copy link
Copy Markdown
Contributor

What's the status of this PR? Are we just waiting for a merge with main?

I don't have push access to this fork, or else I would do it.

All reactions

Sorry, something went wrong.

Uh oh!

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

@henrymercer

henrymercer commented Apr 28, 2023

Copy link
Copy Markdown
Contributor

If the PR checks pass, I'm happy with the PR. @tgrall Would you mind merging in main and rebuilding the Action so we can run the checks and merge?

All reactions

Sorry, something went wrong.

Uh oh!

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

@aeisenberg aeisenberg mentioned this pull request May 1, 2023
Add new configuration Parameter #1665
Merged
3 tasks done
@aeisenberg

aeisenberg commented May 1, 2023

Copy link
Copy Markdown
Contributor

I'll take this PR over. Superseded by #1665.

All reactions

Sorry, something went wrong.

Uh oh!

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

@aeisenberg aeisenberg closed this May 1, 2023
@coderabbitai coderabbitai Bot mentioned this pull request Mar 6, 2025
[pull] main from github:main StemmlerSisters/codeql-action#1
Merged
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

@henrymercer henrymercer henrymercer left review comments

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.

Provide a way to pass a whole configuration as parameter

Uh oh!

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

4 participants

@tgrall @jeffwidman @henrymercer @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.