Skip to content

ci: update github-automation ref to fix unpinned actions/checkout in call_jira_sync.yml#912

Merged
dkropachev merged 1 commit into
scylladb:scylla-4.xfrom
nikagra:ci/fix-unpinned-checkout-in-jira-sync
May 29, 2026
Merged

ci: update github-automation ref to fix unpinned actions/checkout in call_jira_sync.yml#912
dkropachev merged 1 commit into
scylladb:scylla-4.xfrom
nikagra:ci/fix-unpinned-checkout-in-jira-sync

Conversation

@nikagra
Copy link
Copy Markdown

@nikagra nikagra commented May 28, 2026

What

Update the pinned commit reference in call_jira_sync.yml to a version of scylladb/github-automation that pins actions/checkout to a full commit SHA.

-    uses: scylladb/github-automation/.github/workflows/main_pr_events_jira_sync.yml@7b9848eb304fd3af1e757fe3c3c1ed497515f0fc # main
+    uses: scylladb/github-automation/.github/workflows/main_pr_events_jira_sync.yml@ef3a6238c30003cbab9a339c32e5112f6889a197 # main

Why

Every PR targeting scylla-4.x was failing with:

Error: The action actions/checkout@v4 is not allowed in scylladb/java-driver
because all actions must be pinned to a full-length commit SHA.

The scylladb org policy requires all actions to be pinned to a full 40-character commit SHA. This policy is enforced even inside externally-called reusable workflows. The reusable workflow main_pr_events_jira_sync.yml at the previously pinned commit (7b9848eb…) used actions/checkout@v4, which triggered the policy check.

The new commit (ef3a6238…) contains the fix: scylladb/github-automation#192.

Notes

Closes: #911

The reusable workflow main_pr_events_jira_sync.yml in scylladb/github-automation
used actions/checkout@v4 (a tag ref), which violates the scylladb org policy
requiring all actions to be pinned to full commit SHAs.

This caused every PR targeting scylla-4.x to fail with:
  Error: The action actions/checkout@v4 is not allowed in scylladb/java-driver
  because all actions must be pinned to a full-length commit SHA.

Update the pinned SHA to ef3a6238c30003cbab9a339c32e5112f6889a197 which pins
actions/checkout to 34e114876b0b11c390a56381ad16ebd13914f8d5 (v4.3.1).

Fixes: scylladb#911
Upstream fix: scylladb/github-automation#192
@coderabbitai
Copy link
Copy Markdown

coderabbitai Bot commented May 28, 2026

Review Change Stack

Caution

Review failed

The pull request is closed.

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro Plus

Run ID: 4786e21f-6b9d-4840-b6f6-9fd405296810

📥 Commits

Reviewing files that changed from the base of the PR and between 5a61e12 and bf6e3b2.

📒 Files selected for processing (1)
  • .github/workflows/call_jira_sync.yml

📝 Walkthrough

Walkthrough

The pull request updates .github/workflows/call_jira_sync.yml to reference a newer pinned commit of the reusable scylladb/github-automation workflow. The external workflow now includes a pinned actions/checkout action (set to full commit SHA 34e114876b0b11c390a56381ad16ebd13914f8d5 for v4.3.1) to comply with the scylladb organization's security policy requiring all actions to use full 40-character commit SHAs.


Comment @coderabbitai help to get the list of available commands and usage tips.

@dkropachev dkropachev marked this pull request as ready for review May 29, 2026 00:07
@dkropachev dkropachev merged commit e280db0 into scylladb:scylla-4.x May 29, 2026
23 of 26 checks passed
@nikagra nikagra deleted the ci/fix-unpinned-checkout-in-jira-sync branch May 29, 2026 10:22
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.

CI: all PRs targeting scylla-4.x fail due to unpinned actions/checkout@v4 in call_jira_sync.yml

2 participants