Skip to content

Merge v2 into v1 #1021

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 34 commits into from
Apr 5, 2022
Merged
Changes from 1 commit
Commits
Show all changes
34 commits
Select commit Hold shift + click to select a range
ee3341a
Update changelog and version after v2.1.6
invalid-email-address Mar 30, 2022
bcd5c02
Update checked-in dependencies
invalid-email-address Mar 30, 2022
bae3a3a
Merge pull request #1005 from github/mergeback/v2.1.6-to-main-28eead24
edoardopirovano Mar 30, 2022
e769c2d
Run all PR checks on v2 branch
henrymercer Mar 30, 2022
381ea36
Delete unused workflows
henrymercer Mar 30, 2022
4d339ae
Merge pull request #1009 from github/henrymercer/run-pr-checks-on-v2-…
henrymercer Mar 30, 2022
a9095ce
Avoid failure if `@types/node` is already 12.12
edoardopirovano Mar 30, 2022
894face
Merge pull request #1008 from github/edoardo/no-fail-12.12
edoardopirovano Mar 30, 2022
e83a1d4
Stop running ML-powered queries on Windows
henrymercer Mar 30, 2022
e6f3e04
Add descriptions to each test
henrymercer Mar 30, 2022
7871f0d
Update CodeQL Action from v1 to v2 in README
henrymercer Mar 30, 2022
a2949f4
Update actions/checkout from v2 to v3
henrymercer Mar 30, 2022
ea751a9
Update other Actions from v2 to v3
henrymercer Mar 30, 2022
9dcc141
Merge pull request #1010 from github/henrymercer/stop-running-ml-powe…
henrymercer Mar 30, 2022
1ea2f2d
Merge branch 'main' into henrymercer/update-actions-major-versions
henrymercer Mar 30, 2022
b0ddf36
Merge pull request #1012 from github/henrymercer/update-actions-major…
henrymercer Mar 30, 2022
57096fe
Add a PR check to validate that ML-powered queries are run correctly
henrymercer Mar 30, 2022
dc0338e
Use latest major version of actions/upload-artifact
henrymercer Mar 30, 2022
a90d8bf
Merge pull request #1011 from github/henrymercer/ml-powered-queries-p…
henrymercer Mar 31, 2022
dd6b592
Simplify ML-powered query status report definition
henrymercer Mar 31, 2022
2c03704
Allow the version of the ML-powered pack to depend on the CLI version
henrymercer Mar 31, 2022
e26813c
Run version `~0.2.0` of the ML-powered query pack for v2.8.4+ of the CLI
henrymercer Mar 31, 2022
935969c
Merge pull request #1013 from github/henrymercer/ml-powered-query-pac…
henrymercer Mar 31, 2022
8a00ed0
Fix issue with dependencies
edoardopirovano Apr 1, 2022
f090899
Merge pull request #1015 from github/edoardo/dependency-update
edoardopirovano Apr 1, 2022
43d0664
Revert usage of `--codescanning-config` flag
edoardopirovano Apr 5, 2022
9cab82f
Merge pull request #1018 from github/edoardo/revert-codescanning-config
edoardopirovano Apr 5, 2022
488f782
Update changelog for v2.1.7
invalid-email-address Apr 5, 2022
0182a2c
Merge pull request #1019 from github/update-v2.1.7-9cab82f2
edoardopirovano Apr 5, 2022
8165d30
Revert "Update version and changelog for v1.1.6"
invalid-email-address Apr 5, 2022
380041e
Revert "Update checked-in dependencies"
invalid-email-address Apr 5, 2022
f5e5590
Merge remote-tracking branch 'origin/v2' into update-v1.1.7-0182a2c7
invalid-email-address Apr 5, 2022
3d10ffe
Update version and changelog for v1.1.7
invalid-email-address Apr 5, 2022
7eac76f
Update checked-in dependencies
invalid-email-address Apr 5, 2022
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Update CodeQL Action from v1 to v2 in README
  • Loading branch information
henrymercer committed Mar 30, 2022
commit 7871f0d5e10d4034f6952db5d8dded222e334846
18 changes: 9 additions & 9 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -56,15 +56,15 @@ jobs:

# Initializes the CodeQL tools for scanning.
- name: Initialize CodeQL
uses: github/codeql-action/init@v1
uses: github/codeql-action/init@v2
# Override language selection by uncommenting this and choosing your languages
# with:
# languages: go, javascript, csharp, python, cpp, java

# Autobuild attempts to build any compiled languages (C/C++, C#, or Java).
# If this step fails, then you should remove it and run the build manually (see below).
- name: Autobuild
uses: github/codeql-action/autobuild@v1
uses: github/codeql-action/autobuild@v2

# ℹ️ Command-line programs to run using the OS shell.
# 📚 https://git.io/JvXDl
Expand All @@ -78,14 +78,14 @@ jobs:
# make release

- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v1
uses: github/codeql-action/analyze@v2
```

If you prefer to integrate this within an existing CI workflow, it should end up looking something like this:

```yaml
- name: Initialize CodeQL
uses: github/codeql-action/init@v1
uses: github/codeql-action/init@v2
with:
languages: go, javascript

Expand All @@ -95,23 +95,23 @@ If you prefer to integrate this within an existing CI workflow, it should end up
make release

- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v1
uses: github/codeql-action/analyze@v2
```

### Configuration file

Use the `config-file` parameter of the `init` action to enable the configuration file. The value of `config-file` is the path to the configuration file you want to use. This example loads the configuration file `./.github/codeql/codeql-config.yml`.

```yaml
- uses: github/codeql-action/init@v1
- uses: github/codeql-action/init@v2
with:
config-file: ./.github/codeql/codeql-config.yml
```

The configuration file can be located in a different repository. This is useful if you want to share the same configuration across multiple repositories. If the configuration file is in a private repository you can also specify an `external-repository-token` option. This should be a personal access token that has read access to any repositories containing referenced config files and queries.

```yaml
- uses: github/codeql-action/init@v1
- uses: github/codeql-action/init@v2
with:
config-file: owner/repo/codeql-config.yml@branch
external-repository-token: ${{ secrets.EXTERNAL_REPOSITORY_TOKEN }}
Expand All @@ -122,15 +122,15 @@ For information on how to write a configuration file, see "[Using a custom confi
If you only want to customise the queries used, you can specify them in your workflow instead of creating a config file, using the `queries` property of the `init` action:

```yaml
- uses: github/codeql-action/init@v1
- uses: github/codeql-action/init@v2
with:
queries: <local-or-remote-query>,<another-query>
```

By default, this will override any queries specified in a config file. If you wish to use both sets of queries, prefix the list of queries in the workflow with `+`:

```yaml
- uses: github/codeql-action/init@v1
- uses: github/codeql-action/init@v2
with:
queries: +<local-or-remote-query>,<another-query>
```
Expand Down
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy