Skip to content

ci: reference cicd-workflows by release tag and fix daily workflow permissions - #424

Draft
clanghans wants to merge 2 commits into
eclipse-score:mainfrom
etas-contrib:ci/update-cicd-workflows
Draft

clanghans wants to merge 2 commits into
eclipse-score:mainfrom
etas-contrib:ci/update-cicd-workflows

Conversation

@clanghans

@clanghans clanghans commented Nov 16, 2026 •

Copy link
Copy Markdown
Contributor

Improvement

Description

Reference the reusable workflows of eclipse-score/cicd-workflows by release tag wherever possible, and fix the permanently failing Daily Maintenance workflow.

1. Release tags (ci: reference cicd-workflows by release tag where possible)

Caller Reusable workflow Before After
on-pr.yml on-pr.yml on-pr/v0.0.0 v0.0.3
license_check.yml license-check.yml 8d80e8d # v0.0.3 v0.0.3
docs.yml docs.yml 8d80e8d # v0.0.3 v0.0.3
docs-publish.yml docs-publish.yml 8d80e8d # v0.0.3 v0.0.3
daily.yml daily.yml 8d80e8d # v0.0.3 v0.0.3
test_linux.yml tests.yml 2396c21 2396c21 + TODO
test_qnx.yml qnx-build.yml 2396c21 2396c21 + TODO

tests.yml / qnx-build.yml stay on the commit hash for now: 2396c21 is 54 commits newer than the latest release v0.0.3, and v0.0.3 lacks the fetch-attempts / fetch-retry-delay inputs used by test_qnx.yml. A new release is requested in eclipse-score/cicd-workflows#297; the TODO points there.

on-pr.yml at v0.0.3 still provides the inputs we pass (skip-pre-commit, skip-bzlmod-lock).

2. Fix Daily Maintenance (ci(daily): grant permissions required by reusable daily workflow)

All recent scheduled runs end in startup_failure (e.g. 43781198439). The caller grants only contents/pages/id-token, but the reusable workflow's stale-prs job requests issues: write + pull-requests: write. Called workflows cannot escalate beyond the caller's grants.

actionlint 1.7.12: no new findings compared to main.

Note: license_check.yml runs on pull_request_target and daily.yml on schedule, so their changes only take effect after merge.

Follow-up: #425 restores the missing //:license-check target (the license check currently fails silently).

Related ticket

closes [ISSUE-NUMBER] (improvement ticket)

@github-actions

github-actions Bot commented Nov 16, 2026 •

Copy link
Copy Markdown
Contributor

License Check Results

🚀 The license check job ran with the Bazel command:

bazel run --lockfile_mode=error //:license-check

Status: ⚠️ Needs Review

Click to expand output
[License Check Output]
Extracting Bazel installation...
Starting local Bazel server (8.6.0) and connecting to it...
INFO: Invocation ID: 2c30845d-cf68-4c37-87fa-bb05d89220b0
Computing main repo mapping: 
Computing main repo mapping: 
DEBUG: Rule 'abseil-cpp+' indicated that a canonical reproducible form can be obtained by modifying arguments integrity = "sha256-m3oGQwXp/ZTRJP+mzDWFkutCtdpYj7TgfQklSqQAhts="
DEBUG: Repository abseil-cpp+ instantiated at:
  <builtin>: in <toplevel>
Repository rule http_archive defined at:
  /home/runner/.bazel/external/bazel_tools/tools/build_defs/repo/http.bzl:431:31: in <toplevel>
Computing main repo mapping: 
DEBUG: Rule 'protobuf+' indicated that a canonical reproducible form can be obtained by modifying arguments integrity = "sha256-w6Cp7OiTLjHDtzbi2xixxC5wcM2biBOIsm0BqnHiTKI="
DEBUG: Repository protobuf+ instantiated at:
  <builtin>: in <toplevel>
Repository rule http_archive defined at:
  /home/runner/.bazel/external/bazel_tools/tools/build_defs/repo/http.bzl:431:31: in <toplevel>
DEBUG: Rule 'grpc+' indicated that a canonical reproducible form can be obtained by modifying arguments integrity = "sha256-CvN7gAlTEwtHwHW1ZoPuYL3D7aPDf8YAQZP1tWl1ggQ="
DEBUG: Repository grpc+ instantiated at:
  <builtin>: in <toplevel>
Repository rule http_archive defined at:
  /home/runner/.bazel/external/bazel_tools/tools/build_defs/repo/http.bzl:431:31: in <toplevel>
WARNING: For repository 'score_bazel_platforms', the root module requires module version score_bazel_platforms@0.1.2, but got score_bazel_platforms@1.1.0 in the resolved dependency graph. Please update the version in your MODULE.bazel or set --check_direct_dependencies=off
WARNING: For repository 'rules_cc', the root module requires module version rules_cc@0.2.22, but got rules_cc@0.2.25 in the resolved dependency graph. Please update the version in your MODULE.bazel or set --check_direct_dependencies=off
WARNING: For repository 'flatbuffers', the root module requires module version flatbuffers@25.12.19, but got flatbuffers@25.12.19.bcr.1 in the resolved dependency graph. Please update the version in your MODULE.bazel or set --check_direct_dependencies=off
WARNING: For repository 'score_process_description', the root module requires module version score_process_description@2.2.2, but got score_process_description@2.2.4 in the resolved dependency graph. Please update the version in your MODULE.bazel or set --check_direct_dependencies=off
Computing main repo mapping: 
Loading: 
Loading: 1 packages loaded
Loading: 1 packages loaded
    currently loading: 
Loading: 1 packages loaded
    currently loading: 
Loading: 1 packages loaded
    currently loading: 
WARNING: Target pattern parsing failed.
ERROR: Skipping '//:license-check': no such target '//:license-check': target 'license-check' not declared in package '' defined by /home/runner/work/inc_security_crypto/inc_security_crypto/BUILD
ERROR: no such target '//:license-check': target 'license-check' not declared in package '' defined by /home/runner/work/inc_security_crypto/inc_security_crypto/BUILD
INFO: Elapsed time: 13.498s
INFO: 0 processes.
ERROR: Build did NOT complete successfully
ERROR: Build failed. Not running target

- on-pr.yml: on-pr/v0.0.0 -> v0.0.3 (inputs skip-pre-commit and
  skip-bzlmod-lock exist in v0.0.3)
- daily/docs/docs-publish/license_check: commit hash of v0.0.3 -> v0.0.3

tests.yml and qnx-build.yml stay on 2396c21: it is 54 commits newer
than v0.0.3, and v0.0.3 lacks the fetch-attempts/fetch-retry-delay
inputs used by test_qnx.yml. A new release was requested in
eclipse-score/cicd-workflows#297; marked with a TODO.

Signed-off-by: Chris Langhans <chris.langhans@etas.com>
Scheduled Daily Maintenance runs end in startup_failure: the caller
only grants contents/pages/id-token, but the reusable workflow's
stale-prs job requests issues: write and pull-requests: write. Called
workflows cannot escalate beyond the caller's grants.

Signed-off-by: Chris Langhans <chris.langhans@etas.com>
@clanghans
clanghans force-pushed the ci/update-cicd-workflows branch from f7f8a6f to bac0d8b Compare November 16, 2026 14:37
@clanghans clanghans changed the title ci: track eclipse-score/cicd-workflows main and fix daily workflow permissions ci: reference cicd-workflows by release tag and fix daily workflow permissions Nov 16, 2026
@github-actions

Copy link
Copy Markdown
Contributor

Documentation preview for this pull request is available at:
pr-424: https://eclipse-score.github.io/inc_security_crypto/pr-424/

This branch is waiting to be deployed

1 waiting deployment
workflow-approval — bac0d8b5 Waiting Nov 16, 2026 by clanghans via Build and Test x86_64-qnx / approval #1054
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Backlog

Development

Successfully merging this pull request may close these issues.

1 participant