Skip to content

⬆️ gha: Bump the github-actions group across 1 directory with 11 updates #73

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 2 commits into from
Jul 25, 2024

Conversation

bendoerr
Copy link
Member

@bendoerr bendoerr commented Jul 25, 2024

Summary by CodeRabbit

  • Chores
    • Upgraded several GitHub Actions across multiple workflows to enhance security, performance, and reliability.
    • Updated harden-runner, setup-go, upload-artifact, and various reviewdog actions to their latest versions.
    • Routine maintenance to ensure usage of the latest features and improvements in the CI/CD pipeline.

dependabot bot added 2 commits July 25, 2024 13:31
Bumps [cloudposse/github-action-terratest](https://github.com/cloudposse/github-action-terratest) from 2a947b90b7807677d97c539785bb4b5004e6739c to dee3c6c2a6f988c4405965ed69972925a5c3a0b2.
- [Release notes](https://github.com/cloudposse/github-action-terratest/releases)
- [Commits](cloudposse/github-action-terratest@2a947b9...dee3c6c)

---
updated-dependencies:
- dependency-name: cloudposse/github-action-terratest
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
…with 10 updates

Bumps the github-actions group with 10 updates in the / directory:

| Package | From | To |
| --- | --- | --- |
| [step-security/harden-runner](https://github.com/step-security/harden-runner) | `2.8.1` | `2.9.0` |
| [actions/setup-go](https://github.com/actions/setup-go) | `5.0.1` | `5.0.2` |
| [github/codeql-action](https://github.com/github/codeql-action) | `3.25.10` | `3.25.14` |
| [actions/dependency-review-action](https://github.com/actions/dependency-review-action) | `4.3.3` | `4.3.4` |
| [reviewdog/action-trivy](https://github.com/reviewdog/action-trivy) | `1.9.0` | `1.11.0` |
| [reviewdog/action-misspell](https://github.com/reviewdog/action-misspell) | `1.21.0` | `1.23.0` |
| [reviewdog/action-alex](https://github.com/reviewdog/action-alex) | `1.11.0` | `1.13.0` |
| [reviewdog/action-markdownlint](https://github.com/reviewdog/action-markdownlint) | `0.22.0` | `0.24.0` |
| [reviewdog/action-actionlint](https://github.com/reviewdog/action-actionlint) | `1.51.0` | `1.54.0` |
| [actions/upload-artifact](https://github.com/actions/upload-artifact) | `4.3.3` | `4.3.4` |



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

Updates `actions/setup-go` from 5.0.1 to 5.0.2
- [Release notes](https://github.com/actions/setup-go/releases)
- [Commits](actions/setup-go@cdcb360...0a12ed9)

Updates `github/codeql-action` from 3.25.10 to 3.25.14
- [Release notes](https://github.com/github/codeql-action/releases)
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md)
- [Commits](github/codeql-action@23acc5c...5cf07d8)

Updates `actions/dependency-review-action` from 4.3.3 to 4.3.4
- [Release notes](https://github.com/actions/dependency-review-action/releases)
- [Commits](actions/dependency-review-action@72eb03d...5a2ce3f)

Updates `reviewdog/action-trivy` from 1.9.0 to 1.11.0
- [Release notes](https://github.com/reviewdog/action-trivy/releases)
- [Commits](reviewdog/action-trivy@53df306...14e16b3)

Updates `reviewdog/action-misspell` from 1.21.0 to 1.23.0
- [Release notes](https://github.com/reviewdog/action-misspell/releases)
- [Commits](reviewdog/action-misspell@30433ca...ef8b22c)

Updates `reviewdog/action-alex` from 1.11.0 to 1.13.0
- [Release notes](https://github.com/reviewdog/action-alex/releases)
- [Commits](reviewdog/action-alex@cb33600...f95df9e)

Updates `reviewdog/action-markdownlint` from 0.22.0 to 0.24.0
- [Release notes](https://github.com/reviewdog/action-markdownlint/releases)
- [Commits](reviewdog/action-markdownlint@03033f3...e9f3ab4)

Updates `reviewdog/action-actionlint` from 1.51.0 to 1.54.0
- [Release notes](https://github.com/reviewdog/action-actionlint/releases)
- [Commits](reviewdog/action-actionlint@afad3b6...4f8f996)

Updates `actions/upload-artifact` from 4.3.3 to 4.3.4
- [Release notes](https://github.com/actions/upload-artifact/releases)
- [Commits](actions/upload-artifact@6546280...0b2256b)

---
updated-dependencies:
- dependency-name: step-security/harden-runner
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: github-actions
- dependency-name: actions/setup-go
  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-patch
  dependency-group: github-actions
- dependency-name: actions/dependency-review-action
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: github-actions
- dependency-name: reviewdog/action-trivy
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: github-actions
- dependency-name: reviewdog/action-misspell
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: github-actions
- dependency-name: reviewdog/action-alex
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: github-actions
- dependency-name: reviewdog/action-markdownlint
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: github-actions
- dependency-name: reviewdog/action-actionlint
  dependency-type: direct:production
  update-type: version-update:semver-minor
  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] <support@github.com>
Copy link

coderabbitai bot commented Jul 25, 2024

Walkthrough

The recent updates to the GitHub Actions workflows involve upgrading several key actions across multiple YAML files. These upgrades enhance security, performance, and functionality, ensuring the workflows are up to date with the latest version improvements. The primary focus is on the harden-runner action, alongside various other actions including those for Go setup and CodeQL analysis, reflecting a commitment to maintain a robust CI/CD pipeline.

Changes

Files Change Summary
.github/workflows/codeql.yml Upgraded multiple actions: harden-runner to v2.9.0, setup-go to v5.0.2, and CodeQL actions to v3.25.14.
.github/workflows/dependency-review.yml Upgraded harden-runner to v2.9.0 and dependency-review-action to v4.3.4.
.github/workflows/lint.yml Upgraded harden-runner to v2.9.0, and various reviewdog actions to newer versions.
.github/workflows/scorecard.yml Upgraded harden-runner to v2.9.0, upload-artifact to v4.3.4, and upload-sarif to v3.25.14.
.github/workflows/test.yml Upgraded harden-runner to v2.9.0, setup-go to v5.0.2, and updated terratest to a new commit.

Sequence Diagram(s)

sequenceDiagram
    participant User
    participant CI/CD
    participant Actions
    participant CodeQL

    User->>CI/CD: Trigger workflow
    CI/CD->>Actions: Execute actions
    Actions->>CodeQL: Analyze code
    CodeQL-->>Actions: Return analysis results
    Actions-->>CI/CD: Complete workflow
    CI/CD-->>User: Notify completion
Loading

🐰 In the garden where I play,
Actions upgrade day by day.
The runner's faster, the checks are clear,
With each new version, I cheer!
Hopping along, my code's so bright,
Let's code together, it's a joyful sight! 🌟


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: 0

Review details

Configuration used: CodeRabbit UI
Review profile: ASSERTIVE

Commits

Files that changed from the base of the PR and between a5317b3 and bf7b5a2.

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

20-20: Approved: Version upgrade for harden-runner.

The harden-runner action has been upgraded to version 2.9.0. This change is consistent with the AI-generated summary.


27-27: Approved: Version upgrade for dependency-review-action.

The dependency-review-action has been upgraded to version 4.3.4. This change is consistent with the AI-generated summary.

.github/workflows/test.yml (3)

19-19: Approved: Version upgrade for harden-runner.

The harden-runner action has been upgraded to version 2.9.0. This change is consistent with the AI-generated summary.


23-23: Approved: Version upgrade for setup-go.

The setup-go action has been upgraded to version 5.0.2. This change is consistent with the AI-generated summary.


38-38: Approved: Version upgrade for github-action-terratest.

The github-action-terratest action has been upgraded to a newer commit. This change is consistent with the AI-generated summary.

.github/workflows/codeql.yml (5)

44-44: Approved: Version upgrade for harden-runner.

The harden-runner action has been upgraded to version 2.9.0. This change is consistent with the AI-generated summary.


51-51: Approved: Version upgrade for setup-go.

The setup-go action has been upgraded to version 5.0.2. This change is consistent with the AI-generated summary.


57-57: Approved: Version upgrade for codeql-action/init.

The codeql-action/init action has been upgraded to version 3.25.14. This change is consistent with the AI-generated summary.


67-67: Approved: Version upgrade for codeql-action/autobuild.

The codeql-action/autobuild action has been upgraded to version 3.25.14. This change is consistent with the AI-generated summary.


80-80: Approved: Version upgrade for codeql-action/analyze.

The codeql-action/analyze action has been upgraded to version 3.25.14. This change is consistent with the AI-generated summary.

.github/workflows/scorecard.yml (3)

36-36: LGTM!

The step-security/harden-runner action has been correctly updated to v2.9.0. This update should enhance the security features of the runner.


68-68: LGTM!

The actions/upload-artifact action has been correctly updated to v4.3.4. This minor version update likely includes bug fixes or performance improvements.


76-76: LGTM!

The github/codeql-action/upload-sarif action has been correctly updated to v3.25.14. This update should improve the functionality of the code scanning process.

.github/workflows/lint.yml (9)

20-20: LGTM!

The step-security/harden-runner action in the tflint job has been correctly updated to v2.9.0. This update should enhance the security features of the runner.


41-41: LGTM!

The step-security/harden-runner action in the trivy job has been correctly updated to v2.9.0. This update should enhance the security features of the runner.


47-47: LGTM!

The reviewdog/action-trivy action has been correctly updated to v1.11.0. This update should enhance the vulnerability scanning capabilities.


61-61: LGTM!

The step-security/harden-runner action in the golangci-lint job has been correctly updated to v2.9.0. This update should enhance the security features of the runner.


81-81: LGTM!

The step-security/harden-runner action in the prettier job has been correctly updated to v2.9.0. This update should enhance the security features of the runner.


102-102: LGTM!

The step-security/harden-runner action in the misspell job has been correctly updated to v2.9.0. This update should enhance the security features of the runner.


108-108: LGTM!

The reviewdog/action-misspell action has been correctly updated to v1.23.0. This update should enhance the spell-checking functionality.


123-123: LGTM!

The step-security/harden-runner action in the alex job has been correctly updated to v2.9.0. This update should enhance the security features of the runner.


129-129: LGTM!

The reviewdog/action-alex action has been correctly updated to v1.13.0. This update should enhance the grammar checking functionality.

@bendoerr bendoerr merged commit b93429b into main Jul 25, 2024
12 checks passed
@bendoerr bendoerr deleted the ben/deps branch July 25, 2024 17:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant