Skip to content
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

Merge main into v1 #696

Merged
merged 26 commits into from
Aug 9, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
26 commits
Select commit Hold shift + click to select a range
af7bc11
Update changelog and version after v1.0.10
invalid-email-address Aug 3, 2021
e7f3012
1.0.11
invalid-email-address Aug 3, 2021
3057100
Update checked-in dependencies
invalid-email-address Aug 3, 2021
0f516d9
Merge pull request #674 from github/mergeback/v1.0.10-to-main-a00769bd
edoardopirovano Aug 3, 2021
a673c95
Bump @typescript-eslint/parser from 4.28.5 to 4.29.0
dependabot[bot] Aug 3, 2021
56b49fc
Update checked-in dependencies
invalid-email-address Aug 3, 2021
33927cc
Merge pull request #675 from github/dependabot/npm_and_yarn/typescrip…
edoardopirovano Aug 3, 2021
7eb261e
Create PRs as drafts to prompt maintainers to trigger PR checks
henrymercer Aug 3, 2021
2632b65
Add ready_for_review type to pull_request trigger types
henrymercer Aug 3, 2021
d98d4f5
Merge pull request #679 from github/henrymercer/triggering-pr-checks
henrymercer Aug 4, 2021
2a5fc0f
Bump webpack from 5.47.1 to 5.48.0 in /runner
dependabot[bot] Aug 5, 2021
ab6c0bc
Merge pull request #683 from github/dependabot/npm_and_yarn/runner/we…
henrymercer Aug 9, 2021
64160b2
Bump ts-loader from 9.2.4 to 9.2.5 in /runner
dependabot[bot] Aug 9, 2021
b22fb46
Update CodeQL bundle to 20210809 / 2.5.9
hmakholm Aug 9, 2021
53cfc95
Add PR check job for Ruby beta
adityasharad Aug 5, 2021
8ddd620
Merge pull request #682 from github/dependabot/npm_and_yarn/runner/ts…
henrymercer Aug 9, 2021
1df71f8
Merge branch 'main' into hmakholm/pr/2.5.9
henrymercer Aug 9, 2021
bef7eec
Merge pull request #685 from adityasharad/tests/ruby-nightly
adityasharad Aug 9, 2021
8068352
Revert "Bump jsonschema from 1.2.6 to 1.4.0"
cklin Aug 9, 2021
5bcf9d9
Merge pull request #687 from github/hmakholm/pr/2.5.9
adityasharad Aug 9, 2021
2b6d86c
Changelog: Add note for CodeQL 2.5.9
adityasharad Aug 9, 2021
5e1d246
Merge branch 'main' into revert-650-dependabot/npm_and_yarn/jsonschem…
adityasharad Aug 9, 2021
9e304b9
Merge pull request #690 from github/revert-650-dependabot/npm_and_yar…
adityasharad Aug 9, 2021
44c8bd3
Merge branch 'main' into adityasharad/changelog-2.5.9
adityasharad Aug 9, 2021
20de0f0
Merge pull request #691 from github/adityasharad/changelog-2.5.9
adityasharad Aug 9, 2021
94013c2
1.0.11
invalid-email-address Aug 9, 2021
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
4 changes: 3 additions & 1 deletion .github/update-release-branch.py
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,9 @@ def open_pr(repo, all_commits, short_main_sha, branch_name):
title = 'Merge ' + MAIN_BRANCH + ' into ' + LATEST_RELEASE_BRANCH

# Create the pull request
pr = repo.create_pull(title=title, body='\n'.join(body), head=branch_name, base=LATEST_RELEASE_BRANCH)
# PR checks won't be triggered on PRs created by Actions. Therefore mark the PR as draft so that
# a maintainer can take the PR out of draft, thereby triggering the PR checks.
pr = repo.create_pull(title=title, body='\n'.join(body), head=branch_name, base=LATEST_RELEASE_BRANCH, draft=True)
print('Created PR #' + str(pr.number))

# Assign the conductor
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/check-expected-release-files.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@ on:
paths:
- .github/workflows/check-expected-release-files.yml
- src/defaults.json
# Run checks on reopened draft PRs to support triggering PR checks on draft PRs that were opened
# by other workflows.
types: [opened, synchronize, reopened, ready_for_review]

jobs:
check-expected-release-files:
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/codeql.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@ on:
branches: [main, v1]
pull_request:
branches: [main, v1]
# Run checks on reopened draft PRs to support triggering PR checks on draft PRs that were opened
# by other workflows.
types: [opened, synchronize, reopened, ready_for_review]

jobs:
# Identify the CodeQL tool versions to use in the analysis job.
Expand Down
13 changes: 4 additions & 9 deletions .github/workflows/post-release-mergeback.yml
Original file line number Diff line number Diff line change
Expand Up @@ -106,19 +106,14 @@ jobs:
git commit -m "Update changelog and version after $VERSION"
npm version patch

# when running this workflow on a PR, this is just a test.
# so put into draft mode.
if [ "$GITHUB_EVENT_NAME" == "pull_request" ]; then
DRAFT="--draft"
else
DRAFT=""
fi

git push origin "$NEW_BRANCH"

# PR checks won't be triggered on PRs created by Actions. Therefore mark the PR as draft
# so that a maintainer can take the PR out of draft, thereby triggering the PR checks.
gh pr create \
--head "$NEW_BRANCH" \
--base "$BASE_BRANCH" \
--title "$PR_TITLE" \
--label "Update dependencies" \
--body "$PR_BODY" \
${DRAFT:+"$DRAFT"} # no quotes around $DRAFT. gh will error out if there is an empty ""
--draft
44 changes: 44 additions & 0 deletions .github/workflows/pr-checks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,9 @@ on:
push:
branches: [main, v1]
pull_request:
# Run checks on reopened draft PRs to support triggering PR checks on draft PRs that were opened
# by other workflows.
types: [opened, synchronize, reopened, ready_for_review]
workflow_dispatch:

jobs:
Expand Down Expand Up @@ -494,6 +497,47 @@ jobs:
exit 1
fi

# Ruby is in beta, so test it separately for now.
multi-language-repo_test-ruby:
needs: [check-js, check-node-modules, check-codeql-versions]
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, windows-latest, macos-latest]
tools:
- latest
# TODO: Uncomment when nightly builds also support Ruby in beta.
# - ${{ needs.check-codeql-versions.outputs.nightly-url }}
runs-on: ${{ matrix.os }}
env:
CODEQL_ENABLE_EXPERIMENTAL_FEATURES: true

steps:
- uses: actions/checkout@v2
- name: Move codeql-action
shell: bash
run: |
mkdir ../action
mv * .github ../action/
mv ../action/tests/multi-language-repo/{*,.github} .
mv ../action/.github/workflows .github
- uses: ./../action/init
with:
languages: ruby
tools: ${{ matrix.tools }}
- uses: ./../action/analyze
id: analysis
env:
TEST_MODE: true
- name: Check database
shell: bash
run: |
RUBY_DB="${{ fromJson(steps.analysis.outputs.db-locations).ruby }}"
if [[ ! -d "$RUBY_DB" ]]; then
echo "Did not create a database for Ruby."
exit 1
fi

multi-language-repo_rubocop:
needs: [check-js, check-node-modules]
runs-on: ubuntu-latest
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/python-deps.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,9 @@ on:
push:
branches: [main, v1]
pull_request:
# Run checks on reopened draft PRs to support triggering PR checks on draft PRs that were opened
# by other workflows.
types: [opened, synchronize, reopened, ready_for_review]

jobs:
test-setup-python-scripts:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/update-dependencies.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name: Update dependencies
on:
pull_request_target:
types: [opened, synchronize, reopened, labeled]
types: [opened, synchronize, reopened, ready_for_review, labeled]

jobs:
update:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/update-release-branch.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ jobs:
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install PyGithub==1.51 requests
pip install PyGithub==1.55 requests

- name: Update git config
run: |
Expand Down
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# CodeQL Action and CodeQL Runner Changelog

## 1.0.11 - 09 Aug 2021

- Update default CodeQL bundle version to 2.5.9. [#687](https://github.com/github/codeql-action/pull/687)

## 1.0.10 - 03 Aug 2021

- Fix an issue where a summary of diagnostics information from CodeQL was not output to the logs of the `analyze` step of the Action. [#672](https://github.com/github/codeql-action/pull/672)
Expand Down
2 changes: 1 addition & 1 deletion lib/defaults.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
{
"bundleVersion": "codeql-bundle-20210726"
"bundleVersion": "codeql-bundle-20210809"
}
93 changes: 83 additions & 10 deletions node_modules/.package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

12 changes: 12 additions & 0 deletions node_modules/@typescript-eslint/parser/CHANGELOG.md

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

28 changes: 26 additions & 2 deletions node_modules/@typescript-eslint/parser/README.md

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion node_modules/@typescript-eslint/parser/dist/index.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion node_modules/@typescript-eslint/parser/dist/index.js.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading