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 — Merge main into v1 by github-actions[bot] · Pull Request #621 · github/codeql-action

Conversation

@github-actions

@github-actions github-actions Bot commented Jul 19, 2021 •
edited by edoardopirovano
Loading

Uh oh!

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

Copy link
Copy Markdown
Contributor

Merging 3c8ba71 into v1

Conductor for this PR is @aeisenberg

Contains the following pull requests:

  • Add a 'source-root' input to the init Action #607 - Add a 'source-root' input to the init Action (@aibaars)
  • Replace checkoutPath variable with sourceRoot/workspacePath variables #610 - Replace checkoutPath variable with sourceRoot/workspacePath variables (@adityasharad)
  • Update databases URL #612 - Update databases URL (@robertbrignull)
  • Mergeback v1.0.5 refs/heads/v1 into main #617 - Mergeback v1.0.5 refs/heads/v1 into main (@aeisenberg)
  • Install Python tools on self-hosted runners #618 - Install Python tools on self-hosted runners (@edoardopirovano)
  • Fix dependabot vulnerabilities #619 - Fix dependabot vulnerabilities (@aeisenberg)

Please review the following:

  • The CHANGELOG displays the correct version and date.
  • The CHANGELOG includes all relevant, user-facing changes since the last release.
  • There are no unexpected commits being merged into the v1 branch.
  • The docs team is aware of any documentation changes that need to be released.
  • The mergeback PR is merged back into main after this PR is merged.

Sorry, something went wrong.

Uh oh!

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

All reactions
mario-campos and others added 30 commits June 29, 2021 15:16
@mario-campos
Add 'source-root' input to init action
42babdf
This input is exposed in the CodeQL CLI as the flag --source-root, allowing
users of the CLI to set --source-root different from --working-dir. However,
in codeql-action, these two paths are conflated and it poses problems for
users with complicated build environments, in which a source root may be
a child of the working directory.

Most users should not notice this, as the default value is
${{ github.workspace }}, as it is implied now (`path.resolve()`).
@mario-campos
Make 'source-root' init input relative to github.workspace
337ae83
In the previous commit, the default value of the input is ${{ github.workspace }}
which means that most uses of this input would probably prefix their paths with
${{ github.workspace }}, especially since actions/checkout's 'path' input
must be under ${{ github.workspace }}. Therefore, it doesn't make much sense for
this to be an absolute file path.

Instead, it's more intuitive to make this relative to the repository.
@mario-campos
Remove '${{ github.workspace }}' from action.yml
a05a7f9
It causes the action to break (or rather that context being unavailable causes it to fail), despite it being in the description field.
@mario-campos
Update CHANGELOG for PR #607
57f584a
@mario-campos
Recompile JS files to bring JS inline with TS for PR #607
e1cd524
@mario-campos @aibaars
Refer to $GITHUB_WORKSPACE specifically in source-root description
66df091
Previously, I had tried to refer to '${{ github.workspace }}', but that caused a problem in Actions. Trying to avoid the issue, I changed this to "the workspace," but this gives up quite a bit of specificity.

Co-authored-by: Arthur Baars <[email protected]>
@mario-campos @aibaars
Use path.resolve instead of path.join for sourceRoot
35e1b55
Thanks to @aibaars, `path.resolve()` should will nicely handle more use-cases, namely absolute paths better than `path.join()`.

Co-authored-by: Arthur Baars <[email protected]>
@mario-campos
Recompile code after accepting suggestions from PR #607 review
a607042
@adityasharad
Merge branch 'main' into source-root-input
c6728b6
@mario-campos
Clarify 'source-root' description to include default path
45c0f11
This addresses @adityasharad's suggestions in PR #607.
@mario-campos
Add test case for 'source-root' input to 'init' Action
c78fb87
@mario-campos
Use different config file for testing 'source-root' input
028f98f
This config file 'ought to have some queries good for testing!
@mario-campos @adityasharad
Delete 'packaing' from source-root test job name
67d6f79
The test is not related to packaging.

Co-authored-by: Aditya Sharad <[email protected]>
@mario-campos
Avoid moving repo files out of \$GITHUB_WORKSPACE in 'source-root' test
1c69fae
Moving the files into ../action was causing the job to fail because it couldn't find the test directory anymore. According to @adityasharad, these 'mv's should
not be necessary. Removing these means changing the path to the actions.

I'm also removing the 'config-file' input to keep the test minimal. I think this will mean that CodeQL will use the default query suite, so I hope that this doesn't change the results.
@mario-campos
Merge branch 'source-root-input' of github.com:mario-campos/codeql-ac…
2ca807c
…tion into source-root-input
@mario-campos
Rename CodeQL action paths in 'source-root' test to reflect repo paths
12f1cff
@mario-campos
Remove build.sh step from 'source-root' test
2c0da4b
As this test is using only JS, it's not necessary to compile or analyze the other languages.
@mario-campos
Test presence of database instead of results of analysis
b9217ca
This is for PR #607, 'source-root' input test case.
@mario-campos @adityasharad
Add analyze step to 'source-root' input test case
06c6845
Co-authored-by: Aditya Sharad <[email protected]>
@mario-campos
Merge branch 'main' into source-root-input
a4a91a8
Update changelog and version after v1.0.5
a10ed6c
1.0.6
92df238
@aeisenberg
Merge pull request #617 from github/mergeback/v1.0.5-to-main-500dad96
27e3080
Mergeback v1.0.5 refs/heads/v1 into main
@aibaars
Merge branch 'main' into source-root-input
9932052
@aibaars
Merge pull request #607 from mario-campos/source-root-input
3b017ef
Add a 'source-root' input to the init Action
@robertbrignull
Update databases URL
b0b9ab8
@robertbrignull
use templating for language param
96edcdf
@edoardopirovano
Install Python tools on self-hosted runners
cc14f29
@edoardopirovano
Merge pull request #618 from edoardopirovano/python-deps
1137e7d
Install Python tools on self-hosted runners
@aibaars
Rename checkoutPath to either workspacePath or sourceRoot
f94f1ed
robertbrignull and others added 7 commits July 14, 2021 15:15
@robertbrignull
Merge branch 'main' into robertbrignull/databases_url
d09d89f
@robertbrignull
Merge pull request #612 from github/robertbrignull/databases_url
4aa2d05
Update databases URL
@adityasharad
Merge branch 'main' into aibaars/refactor-checkout-path
d7dcff9
@adityasharad
Merge pull request #610 from github/aibaars/refactor-checkout-path
14deaf6
Replace checkoutPath variable with sourceRoot/workspacePath variables
@aeisenberg
Fix dependabot vulnerabilities
ae97d8f
This adds some forced resolutions to ensure that vulnerable versions
of packages are not installed.
@aeisenberg
Merge pull request #619 from github/aeisenberg/fix-vulnerabilities
3c8ba71
Fix dependabot vulnerabilities
1.0.6
c302d35
@github-actions
github-actions Bot requested a review from a team as a code owner July 19, 2021 09:02
@github-actions github-actions Bot assigned aeisenberg Jul 19, 2021
@edoardopirovano
Update CHANGELOG.md
8cbe2f5
Minor formatting improvement.
edoardopirovano
edoardopirovano approved these changes Jul 19, 2021
View reviewed changes

@edoardopirovano edoardopirovano 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.

LGTM

Sorry, something went wrong.

Uh oh!

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

All reactions
@edoardopirovano
edoardopirovano merged commit 84173b9 into v1 Jul 19, 2021
@edoardopirovano
edoardopirovano deleted the update-v1.0.6-3c8ba717 branch July 19, 2021 09:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

1 more reviewer
@edoardopirovano edoardopirovano edoardopirovano approved these changes
Reviewers whose approvals may not affect merge requirements

Uh oh!

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

Assignees

@aeisenberg aeisenberg

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.

6 participants

@edoardopirovano @aeisenberg @mario-campos @adityasharad @aibaars @robertbrignull
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.