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

⬆️ gha: Bump the github-actions group with 4 updates #83

Merged
merged 1 commit into from
Aug 14, 2024

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Aug 12, 2024

Bumps the github-actions group with 4 updates: step-security/harden-runner, github/codeql-action, reviewdog/action-tflint and actions/upload-artifact.

Updates step-security/harden-runner from 2.9.0 to 2.9.1

Release notes

Sourced from step-security/harden-runner's releases.

v2.9.1

What's Changed

Release v2.9.1 by @​h0x0er and @​varunsh-coder in #440 This release includes two changes:

  1. Updated markdown displayed in the job summary by the Harden-Runner Action.
  2. Fixed a bug affecting Enterprise Tier customers where the agent attempted to upload telemetry for jobs with disable-telemetry set to true. No telemetry was uploaded as the endpoint was not in the allowed list.

Full Changelog: step-security/harden-runner@v2...v2.9.1

Commits
  • 5c7944e Merge pull request #440 from step-security/rc-11
  • c79be45 Merge branch 'main' into rc-11
  • deb3383 Merge pull request #446 from h0x0er/log-step
  • 23c8215 update dist
  • 727d06a logging step
  • f0db2aa Merge pull request #441 from step-security/dependabot/github_actions/github/c...
  • 1938ffc Merge branch 'main' into dependabot/github_actions/github/codeql-action-3.25.13
  • 8e7dd2c Merge pull request #442 from step-security/dependabot/github_actions/step-sec...
  • f2823ee Bump step-security/publish-unit-test-result-action from 1 to 2
  • 5f95e05 Bump github/codeql-action from 2.13.4 to 3.25.13
  • Additional commits viewable in compare view

Updates github/codeql-action from 3.25.15 to 3.26.0

Changelog

Sourced from github/codeql-action's changelog.

CodeQL Action Changelog

See the releases page for the relevant changes to the CodeQL CLI and language packs.

Note that the only difference between v2 and v3 of the CodeQL Action is the node version they support, with v3 running on node 20 while we continue to release v2 to support running on node 16. For example 3.22.11 was the first v3 release and is functionally identical to 2.22.11. This approach ensures an easy way to track exactly which features are included in different versions, indicated by the minor and patch version numbers.

[UNRELEASED]

No user facing changes.

3.26.0 - 06 Aug 2024

  • Deprecation: Swift analysis on Ubuntu runner images is no longer supported. Please migrate to a macOS runner if this affects you. #2403
  • Bump the minimum CodeQL bundle version to 2.13.5. #2408

3.25.15 - 26 Jul 2024

  • Update default CodeQL bundle version to 2.18.1. #2385

3.25.14 - 25 Jul 2024

  • Experimental: add a new start-proxy action which starts the same HTTP proxy as used by github/dependabot-action. Do not use this in production as it is part of an internal experiment and subject to change at any time. #2376

3.25.13 - 19 Jul 2024

  • Add codeql-version to outputs. #2368
  • Add a deprecation warning for customers using CodeQL version 2.13.4 and earlier. These versions of CodeQL were discontinued on 9 July 2024 alongside GitHub Enterprise Server 3.9, and will be unsupported by CodeQL Action versions 3.26.0 and later and versions 2.26.0 and later. #2375
    • If you are using one of these versions, please update to CodeQL CLI version 2.13.5 or later. For instance, if you have specified a custom version of the CLI using the 'tools' input to the 'init' Action, you can remove this input to use the default version.
    • Alternatively, if you want to continue using a version of the CodeQL CLI between 2.12.6 and 2.13.4, you can replace github/codeql-action/*@v3 by github/codeql-action/*@v3.25.13 and github/codeql-action/*@v2 by github/codeql-action/*@v2.25.13 in your code scanning workflow to ensure you continue using this version of the CodeQL Action.

3.25.12 - 12 Jul 2024

  • Improve the reliability and performance of analyzing code when analyzing a compiled language with the autobuild build mode on GitHub Enterprise Server. This feature is already available to GitHub.com users. #2353
  • Update default CodeQL bundle version to 2.18.0. #2364

3.25.11 - 28 Jun 2024

  • Avoid failing the workflow run if there is an error while uploading debug artifacts. #2349
  • Update default CodeQL bundle version to 2.17.6. #2352

3.25.10 - 13 Jun 2024

  • Update default CodeQL bundle version to 2.17.5. #2327

3.25.9 - 12 Jun 2024

  • Avoid failing database creation if the database folder already exists and contains some unexpected files. Requires CodeQL 2.18.0 or higher. #2330
  • The init Action will attempt to clean up the database cluster directory before creating a new database and at the end of the job. This will help to avoid issues where the database cluster directory is left in an inconsistent state. #2332

3.25.8 - 04 Jun 2024

... (truncated)

Commits
  • eb055d7 Merge pull request #2410 from github/update-v3.26.0-c24926b73
  • 3884d04 Update changelog for v3.26.0
  • c24926b Merge pull request #2407 from github/dependabot/npm_and_yarn/npm-7954a73ad2
  • 68ba39b Merge branch 'main' into dependabot/npm_and_yarn/npm-7954a73ad2
  • 8dd1773 Merge pull request #2408 from github/henrymercer/deprecate-codeql-2.13.4
  • 441c9d9 Merge pull request #2409 from github/henrymercer/fix-required-checks
  • f03da13 Exclude push-only unit tests job from required PR checks script
  • 29a5cfc Bump version to 3.26.0
  • 9e440ad Add changelog note
  • 136f5a5 Add CodeQL v2.17.6 to default test versions
  • Additional commits viewable in compare view

Updates reviewdog/action-tflint from 1.23.0 to 1.23.2

Release notes

Sourced from reviewdog/action-tflint's releases.

Release v1.23.2

What's Changed

Full Changelog: reviewdog/action-tflint@v1.23.1...v1.23.2

Release v1.23.1

What's Changed

New Contributors

Full Changelog: reviewdog/action-tflint@v1.23.0...v1.23.1

Commits
  • 0a8c6a4 Replace --module to --call-module-type=all (#96)
  • 4adc549 Add .tflint.hcl to test case directories and fix the process of getting arch ...
  • See full diff in compare view

Updates actions/upload-artifact from 4.3.5 to 4.3.6

Release notes

Sourced from actions/upload-artifact's releases.

v4.3.6

What's Changed

Full Changelog: actions/upload-artifact@v4...v4.3.6

Commits

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore <dependency name> major version will close this group update PR and stop Dependabot creating any more for the specific dependency's major version (unless you unignore this specific dependency's major version or upgrade to it yourself)
  • @dependabot ignore <dependency name> minor version will close this group update PR and stop Dependabot creating any more for the specific dependency's minor version (unless you unignore this specific dependency's minor version or upgrade to it yourself)
  • @dependabot ignore <dependency name> will close this group update PR and stop Dependabot creating any more for the specific dependency (unless you unignore this specific dependency or upgrade to it yourself)
  • @dependabot unignore <dependency name> will remove all of the ignore conditions of the specified dependency
  • @dependabot unignore <dependency name> <ignore condition> will remove the ignore condition of the specified dependency and ignore conditions

Summary by CodeRabbit

  • New Features

    • Upgraded the harden-runner action across multiple workflows to enhance security.
    • Updated CodeQL and artifact upload actions to their latest versions for improved functionality.
  • Bug Fixes

    • Increased reliability and performance of CI/CD workflows through action version upgrades.

Bumps the github-actions group with 4 updates: [step-security/harden-runner](https://github.com/step-security/harden-runner), [github/codeql-action](https://github.com/github/codeql-action), [reviewdog/action-tflint](https://github.com/reviewdog/action-tflint) and [actions/upload-artifact](https://github.com/actions/upload-artifact).


Updates `step-security/harden-runner` from 2.9.0 to 2.9.1
- [Release notes](https://github.com/step-security/harden-runner/releases)
- [Commits](step-security/harden-runner@0d38121...5c7944e)

Updates `github/codeql-action` from 3.25.15 to 3.26.0
- [Release notes](https://github.com/github/codeql-action/releases)
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md)
- [Commits](github/codeql-action@afb54ba...eb055d7)

Updates `reviewdog/action-tflint` from 1.23.0 to 1.23.2
- [Release notes](https://github.com/reviewdog/action-tflint/releases)
- [Commits](reviewdog/action-tflint@ed9fc53...0a8c6a4)

Updates `actions/upload-artifact` from 4.3.5 to 4.3.6
- [Release notes](https://github.com/actions/upload-artifact/releases)
- [Commits](actions/upload-artifact@89ef406...834a144)

---
updated-dependencies:
- dependency-name: step-security/harden-runner
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: github-actions
- dependency-name: github/codeql-action
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: github-actions
- dependency-name: reviewdog/action-tflint
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: github-actions
- dependency-name: actions/upload-artifact
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: github-actions
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file github_actions Pull requests that update GitHub Actions code labels Aug 12, 2024
Copy link

coderabbitai bot commented Aug 12, 2024

Walkthrough

The recent updates across multiple GitHub Actions workflow files primarily involve upgrading action versions to enhance the security and functionality of CI/CD processes. Key actions such as harden-runner and CodeQL have been upgraded, reflecting routine maintenance that ensures an efficient and secure environment for code analysis and dependency management.

Changes

Files Change Summary
.github/workflows/codeql.yml Upgraded harden-runner to v2.9.1, CodeQL actions to v3.26.0.
.github/workflows/dependency-review.yml Upgraded harden-runner to v2.9.1.
.github/workflows/lint.yml Upgraded harden-runner to v2.9.1, reviewdog/action-tflint to v1.23.2.
.github/workflows/scorecard.yml Upgraded harden-runner to v2.9.1, upload-artifact to v4.3.6, upload-sarif to v3.26.0.
.github/workflows/test.yml Upgraded harden-runner to v2.9.1.

Sequence Diagram(s)

sequenceDiagram
    participant User
    participant GitHub Actions
    participant Harden Runner
    participant CodeQL
    
    User->>GitHub Actions: Trigger CI/CD Workflow
    GitHub Actions->>Harden Runner: Initialize
    Harden Runner->>GitHub Actions: Security Hardening
    GitHub Actions->>CodeQL: Code Analysis
    CodeQL->>GitHub Actions: Analysis Results
    GitHub Actions->>User: Return Results
Loading

🐰 "In the garden, we hop and play,
With upgraded tools, we brighten the day.
From harden-runner to CodeQL so fine,
Security and speed, oh how they shine!
A dance of actions, a joyful cheer,
In our CI garden, we have nothing to fear!" 🌼


Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media?

Share
Tips

Chat

There are 3 ways to chat with CodeRabbit:

  • Review comments: Directly reply to a review comment made by CodeRabbit. Example:
    • I pushed a fix in commit <commit_id>.
    • Generate unit testing code for this file.
    • Open a follow-up GitHub issue for this discussion.
  • Files and specific lines of code (under the "Files changed" tab): Tag @coderabbitai in a new review comment at the desired location with your query. Examples:
    • @coderabbitai generate unit testing code for this file.
    • @coderabbitai modularize this function.
  • PR comments: Tag @coderabbitai in a new PR comment to ask questions about the PR branch. For the best results, please provide a very specific query, as very limited context is provided in this mode. Examples:
    • @coderabbitai generate interesting stats about this repository and render them as a table.
    • @coderabbitai show all the console.log statements in this repository.
    • @coderabbitai read src/utils.ts and generate unit testing code.
    • @coderabbitai read the files in the src/scheduler package and generate a class diagram using mermaid and a README in the markdown format.
    • @coderabbitai help me debug CodeRabbit configuration file.

Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments.

CodeRabbit Commands (invoked as PR comments)

  • @coderabbitai pause to pause the reviews on a PR.
  • @coderabbitai resume to resume the paused reviews.
  • @coderabbitai review to trigger an incremental review. This is useful when automatic reviews are disabled for the repository.
  • @coderabbitai full review to do a full review from scratch and review all the files again.
  • @coderabbitai summary to regenerate the summary of the PR.
  • @coderabbitai resolve resolve all the CodeRabbit review comments.
  • @coderabbitai configuration to show the current CodeRabbit configuration for the repository.
  • @coderabbitai help to get help.

Additionally, you can add @coderabbitai ignore anywhere in the PR description to prevent this PR from being reviewed.

CodeRabbit Configuration File (.coderabbit.yaml)

  • You can programmatically configure CodeRabbit by adding a .coderabbit.yaml file to the root of your repository.
  • Please see the configuration documentation for more information.
  • If your editor has YAML language server enabled, you can add the path at the top of this file to enable auto-completion and validation: # yaml-language-server: $schema=https://coderabbit.ai/integrations/schema.v2.json

Documentation and Community

  • Visit our Documentation for detailed information on how to use CodeRabbit.
  • Join our Discord Community to get help, request features, and share feedback.
  • Follow us on X/Twitter for updates and announcements.

Copy link

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

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

Actionable comments posted: 1

Review details

Configuration used: CodeRabbit UI
Review profile: ASSERTIVE

Commits

Files that changed from the base of the PR and between 4284a45 and 58a42c7.

Files selected for processing (5)
  • .github/workflows/codeql.yml (4 hunks)
  • .github/workflows/dependency-review.yml (1 hunks)
  • .github/workflows/lint.yml (8 hunks)
  • .github/workflows/scorecard.yml (2 hunks)
  • .github/workflows/test.yml (1 hunks)
Additional comments not posted (17)
.github/workflows/test.yml (1)

17-17: Version update for harden-runner action.

The harden-runner action has been updated to version v2.9.1. Ensure that this version is compatible with the rest of the workflow and does not introduce any breaking changes.

Verification successful

No breaking changes in harden-runner v2.9.1.

The release notes for version v2.9.1 of the harden-runner action do not mention any breaking changes. The update includes a markdown update and a bug fix for Enterprise Tier customers, suggesting compatibility with the existing workflow.

Scripts executed

The following scripts were executed for the analysis:

Script:

#!/bin/bash
# Description: Verify the compatibility of the updated `harden-runner` action version.

# Test: Check for any breaking changes or issues reported with the new version.
gh release view --repo step-security/harden-runner --json body --jq '.body' | grep -i "breaking change"

Length of output: 103


Script:

#!/bin/bash
# Description: Fetch the release notes for the specific version `v2.9.1` of the `harden-runner` action.

# Fetch the release notes for version `v2.9.1`.
gh release view v2.9.1 --repo step-security/harden-runner --json body --jq '.body'

Length of output: 574

.github/workflows/dependency-review.yml (1)

20-20: Version update for harden-runner action.

The harden-runner action has been updated to version v2.9.1. Ensure that this version is compatible with the rest of the workflow and does not introduce any breaking changes.

.github/workflows/codeql.yml (3)

44-44: Version update for harden-runner action.

The harden-runner action has been updated to version v2.9.1. Ensure that this version is compatible with the rest of the workflow and does not introduce any breaking changes.

Verification successful

Version update for harden-runner action verified.

The update to version v2.9.1 includes minor changes and a bug fix, with no breaking changes reported. The workflow should remain compatible.

Scripts executed

The following scripts were executed for the analysis:

Script:

#!/bin/bash
# Description: Verify the compatibility of the updated `harden-runner` action version.

# Test: Check for any breaking changes or issues reported with the new version.
gh release view --repo step-security/harden-runner --json body --jq '.body' | grep -i "breaking change"

Length of output: 103


Script:

#!/bin/bash
# Description: Fetch the release notes for the `harden-runner` action to check for breaking changes or compatibility issues.

# Fetch the release notes for the specific commit hash used in the workflow.
gh release list --repo step-security/harden-runner --limit 5 --json tagName,body --jq '.[] | select(.tagName == "v2.9.1") | .body'

Length of output: 256


Script:

#!/bin/bash
# Description: Fetch the release notes for the `harden-runner` action to check for breaking changes or compatibility issues.

# Fetch the release notes for the specific tag `v2.9.1`.
gh release view v2.9.1 --repo step-security/harden-runner --json body --jq '.body'

Length of output: 574


67-67: Version update for codeql-action/autobuild.

The codeql-action/autobuild action has been updated to version v3.26.0. Ensure that this version is compatible with the rest of the workflow and does not introduce any breaking changes.


80-80: Version update for codeql-action/analyze.

The codeql-action/analyze action has been updated to version v3.26.0. Ensure that this version is compatible with the rest of the workflow and does not introduce any breaking changes.

.github/workflows/scorecard.yml (3)

36-36: Update: Harden Runner Action

The harden-runner action has been updated to version v2.9.1. Ensure that the new version's changes, such as the markdown update and bug fix, align with your workflow requirements.


68-68: Update: Upload Artifact Action

The upload-artifact action has been updated to version v4.3.6. This update reverts to a previous version of @actions/artifact, which may affect artifact handling. Verify compatibility with your workflow.


76-76: Update: CodeQL Upload SARIF Action

The upload-sarif action has been updated to version v3.26.0. This version includes changes like the deprecation of Swift analysis on Ubuntu. Ensure these changes do not impact your workflow.

.github/workflows/lint.yml (9)

20-20: Update: Harden Runner Action

The harden-runner action has been updated to version v2.9.1. This update is consistent across multiple job steps. Ensure that the new version's changes align with your workflow requirements.


26-26: Update: Reviewdog TFLint Action

The reviewdog/action-tflint action has been updated to version v1.23.2. This minor version update may include bug fixes or enhancements. Verify that the changes do not affect your linting process.


40-40: Update: Harden Runner Action

The harden-runner action has been updated to version v2.9.1. This update is consistent across multiple job steps. Ensure that the new version's changes align with your workflow requirements.


60-60: Update: Harden Runner Action

The harden-runner action has been updated to version v2.9.1. This update is consistent across multiple job steps. Ensure that the new version's changes align with your workflow requirements.


83-83: Update: Harden Runner Action

The harden-runner action has been updated to version v2.9.1. This update is consistent across multiple job steps. Ensure that the new version's changes align with your workflow requirements.


104-104: Update: Harden Runner Action

The harden-runner action has been updated to version v2.9.1. This update is consistent across multiple job steps. Ensure that the new version's changes align with your workflow requirements.


125-125: Update: Harden Runner Action

The harden-runner action has been updated to version v2.9.1. This update is consistent across multiple job steps. Ensure that the new version's changes align with your workflow requirements.


145-145: Update: Harden Runner Action

The harden-runner action has been updated to version v2.9.1. This update is consistent across multiple job steps. Ensure that the new version's changes align with your workflow requirements.


165-165: Update: Harden Runner Action

The harden-runner action has been updated to version v2.9.1. This update is consistent across multiple job steps. Ensure that the new version's changes align with your workflow requirements.

.github/workflows/codeql.yml Show resolved Hide resolved
.github/workflows/codeql.yml Show resolved Hide resolved
@bendoerr
Copy link
Member

@coderabbitai resolve

Copy link

coderabbitai bot commented Aug 14, 2024

Actions performed

Comments resolved and changes approved.

@bendoerr bendoerr merged commit e16d0ba into main Aug 14, 2024
16 checks passed
@bendoerr bendoerr deleted the dependabot/github_actions/github-actions-e0762e8749 branch August 14, 2024 18:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file github_actions Pull requests that update GitHub Actions code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant