Symptom
Every PR targeting scylla-4.x produces the following CI failure:
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.
Root cause
.github/workflows/call_jira_sync.yml delegates to a reusable workflow in an external repository:
uses: scylladb/github-automation/.github/workflows/main_pr_events_jira_sync.yml@7b9848eb304fd3af1e757fe3c3c1ed497515f0fc
Inside that reusable workflow, actions/checkout is referenced without a full commit SHA:
uses: actions/checkout@v4 # ← violates org allowed-actions policy
GitHub applies the scylladb org policy (all actions must be pinned to a full 40-character commit SHA) even to actions used inside externally-called reusable workflows. This causes every PR event that triggers call_jira_sync.yml to fail.
Scope
- Affected:
scylla-4.x (the only branch carrying call_jira_sync.yml)
- Not affected:
scylla-3.x (no call_jira_sync.yml there)
Fix
Two-part fix:
scylladb/github-automation — pin actions/checkout@v4 to its full commit SHA (34e114876b0b11c390a56381ad16ebd13914f8d5, i.e. v4.3.1) in main_pr_events_jira_sync.yml
scylladb/java-driver (scylla-4.x) — update the pinned commit reference in call_jira_sync.yml to the commit that contains the above fix
Symptom
Every PR targeting
scylla-4.xproduces the following CI failure:Root cause
.github/workflows/call_jira_sync.ymldelegates to a reusable workflow in an external repository:Inside that reusable workflow,
actions/checkoutis referenced without a full commit SHA:GitHub applies the
scylladborg policy (all actions must be pinned to a full 40-character commit SHA) even to actions used inside externally-called reusable workflows. This causes every PR event that triggerscall_jira_sync.ymlto fail.Scope
scylla-4.x(the only branch carryingcall_jira_sync.yml)scylla-3.x(nocall_jira_sync.ymlthere)Fix
Two-part fix:
scylladb/github-automation— pinactions/checkout@v4to its full commit SHA (34e114876b0b11c390a56381ad16ebd13914f8d5, i.e.v4.3.1) inmain_pr_events_jira_sync.ymlscylladb/java-driver(scylla-4.x) — update the pinned commit reference incall_jira_sync.ymlto the commit that contains the above fix