Skip to content

chore(deps): bump third-party actions (slack v4, vault-action v4, github-script v9, setup-python v7, checkout v7) - #34

Open
petr-klemsinsky wants to merge 2 commits into
masterfrom
chore/slack-github-action-v4
Open

petr-klemsinsky wants to merge 2 commits into
masterfrom
chore/slack-github-action-v4

Conversation

@petr-klemsinsky

@petr-klemsinsky petr-klemsinsky commented Dec 3, 2026 •

Copy link
Copy Markdown
Contributor

What

Bring every third-party action in this repo to its latest release. Renovate does not cover this repo (gdrenovate has no access), so these lagged up to three majors.

Action Bump Where
slackapi/slack-github-action v1.26.0 → v4.1.0 jenkins/trigger
hashicorp/vault-action v3 → v4 pr-comment, vault/cert
actions/github-script v7 → v9 jenkins/trigger, pr-comment
actions/setup-python v6 → v7 jenkins/trigger
actions/checkout v6.1.0 → v7.0.1 (SHA pin) .github/workflows/git-ai-notes.yaml
s4u/maven-settings-action v4.0.0 → v4.1.0 fossa/pr-scan

runs-on/cache/restore is already at the latest (v5.0.7).

Compatibility review

  • slack-github-action – v2 removed channel-id / slack-message / SLACK_BOT_TOKEN. Migrated to method: chat.postMessage + token + JSON payload; toJSON() keeps quotes/colons in the message from breaking the parse. The action's own inputs (slack-channel, slack-token) are unchanged. v2+ only warns on a Slack API error unless errors: true.
  • vault-action v4 – node24 runtime and a leading-slash secret path fix; no input changes. Already the version used by most org repos (iac, k8s-infra, terraform, gooddata/github-actions, …).
  • github-script v9 – breaking only for require('@actions/github') and scripts declaring their own getOctokit; neither script does either. v8 needs runner ≥ v2.327.1.
  • setup-python v7 – ESM rewrite and the pip-install input removed; only python-version is passed here.
  • checkout v7.0.1 – the allow-unsafe-pr-checkout breaking change was already in the pinned v6.1.0; v7.0.1 adds fixes only.
  • maven-settings v4.1.0 – the generated repository profile is now enabled via activeProfiles instead of activeByDefault, so it stays active even when another profile is selected with -P.

Runtime: all bumped JS actions now run on Node 24, so self-hosted runners must be ≥ v2.327.1.

🤖 Generated with Claude Code

Summary by CodeRabbit

  • Chores
    • Updated the tools used by automated checkout, Python setup, FOSSA scans, Vault access, pull request comments, and failure notifications.
    • Existing workflow conditions, certificate issuance, and pull request comment behavior remain unchanged. Failure notifications continue to include the channel and result comment.

Migrate the failure notification from the v1 inputs (channel-id,
slack-message, SLACK_BOT_TOKEN env) to the v2+ API-method technique
(method + token + payload). The payload is JSON built with toJSON() so
quotes and colons in the result message cannot break parsing.

The action's own inputs (slack-channel, slack-token) are unchanged.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@coderabbitai

coderabbitai Bot commented Dec 3, 2026 •

Copy link
Copy Markdown

Explain Change →

No actionable comments were generated in the recent review.

Walkthrough

The pull request updates action versions in five workflow and composite action definitions. It also changes the Jenkins trigger action’s Slack notification configuration to use chat.postMessage with a JSON payload.

Changes: Git AI notes workflow

Layer / File(s) Summary
Update checkout action
.github/workflows/git-ai-notes.yaml
The workflow uses actions/checkout v7.0.1 instead of v6. Its step configuration is unchanged.

FOSSA PR scan

Layer / File(s) Summary
Update Maven settings action
fossa/pr-scan/action.yml
The Maven settings step uses s4u/maven-settings-action v4.1.0 instead of v4.0.0.

Jenkins trigger action

Layer / File(s) Summary
Update trigger steps
jenkins/trigger/action.yaml
The action uses actions/setup-python v7 and actions/github-script v9. The Slack notification uses slack-github-action v4.1.0 with chat.postMessage, a token input, and a JSON payload.

PR comment action

Layer / File(s) Summary
Update token and comment steps
pr-comment/action.yaml
The action uses hashicorp/vault-action v4 and actions/github-script v9. Its existing inputs, conditions, and script are unchanged.

Vault certificate action

Layer / File(s) Summary
Update Vault login
vault/cert/action.yaml
The Vault login step uses hashicorp/vault-action v4 instead of v3.

Estimated code review effort: 2 (Simple) | ~10 minutes

Suggested reviewers: metju-ac, chrisbonilla95

Merge Risk: Minimal · up to 3c806

This PR bumps third-party action versions and migrates the Slack failure notification to the v4 inputs. No concrete defect was found, so the change looks safe to merge. Self-hosted runners still need a recent runner version for the Node 24 actions.

Pre-merge checks: Passed 4

Check name Status Explanation
Description Check Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check Passed The title names the dependency bump for third-party actions, and every bumped action appears in the changeset: slack-github-action v4, vault-action v4, github-script v9, setup-python v7, and checkout …
Linked Issues check Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check Passed Check skipped because no linked issues were found for this pull request.
Full details: Title check

Explanation

The title names the dependency bump for third-party actions, and every bumped action appears in the changeset: slack-github-action v4, vault-action v4, github-script v9, setup-python v7, and checkout v7. It does not mention the maven-settings-action bump in fossa/pr-scan, which is a minor omission and does not make the title misleading. The title is a single line, but at 113 characters it is long and lists every action, which reduces readability.

  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

A rabbit checks each action’s tag,
Then hops along with a carrot bag.
Slack gets a payload, neat and clear,
New versions settle in this year.
The rabbit bounds through green fields bright.

Recent review info

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: Organization UI
  • Review profile: CHILL
  • Plan: Essentials
  • Run ID: 7f1c34f2-9a34-4dba-83d4-bc4eb0493699
Commits

Reviewing files that changed from the base of the PR and between c833a28 and 3c8066d.

Files selected for processing: 5

  • .github/workflows/git-ai-notes.yaml
  • fossa/pr-scan/action.yml
  • jenkins/trigger/action.yaml
  • pr-comment/action.yaml
  • vault/cert/action.yaml

Included review availability: This review used your included allowance. 4 included reviews remain after this review. Your included PR review attempts over the past 7 days set your current allowance at 5 reviews per hour.

…, maven-settings

- hashicorp/vault-action v3 -> v4 (pr-comment, vault/cert): node24 runtime,
  leading-slash secret path fix; inputs unchanged
- actions/github-script v7 -> v9 (jenkins/trigger, pr-comment): scripts
  use neither require('@actions/github') nor their own getOctokit
- actions/setup-python v6 -> v7 (jenkins/trigger): only python-version is
  passed; the removed pip-install input is not used
- actions/checkout v6.1.0 -> v7.0.1 SHA pin (git-ai-notes workflow)
- s4u/maven-settings-action v4.0.0 -> v4.1.0 (fossa/pr-scan): generated
  repository profile now enabled via activeProfiles

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@petr-klemsinsky petr-klemsinsky changed the title chore(jenkins-trigger): bump slack-github-action to v4.1.0 chore(deps): bump third-party actions (slack v4, vault-action v4, github-script v9, setup-python v7, checkout v7) Dec 3, 2026
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