Skip to content

[DND-2101] Pin third-party actions, declare token permissions, add LICENSE, onboard Renovate - #292

Merged
GuySaar8 merged 1 commit into
masterfrom
GuySaar8/DND-2101-pin-actions-permissions-license-renovate
Nov 24, 2026
Merged

GuySaar8 merged 1 commit into
masterfrom
GuySaar8/DND-2101-pin-actions-permissions-license-renovate

Conversation

@GuySaar8

Copy link
Copy Markdown
Contributor

Pins third-party actions, limits the workflow token, adds a LICENSE and onboards Renovate. Tracked in DND-2101 (no GitHub issue).

  • Actions pinned to a commit SHA in test-examples.yml, with the version kept as a # vX comment: actions/checkout v3 → v7, actions/setup-python v4 → v7, actions/cache v3 → v6, actions/upload-artifact v4 → v7. Python stays on 3.10.
  • Workflow token: test-examples.yml gets permissions: contents: read. It only checks out the repo and runs the examples.
  • Removed examples-nata.yaml: it only triggered on pushes to CM-9290-investigate-concurrent-futures-…, a branch that no longer exists, so it could never run.
  • LICENSE: adds Apache 2.0, the same text as comet-ml/opik-examples. The repo had none.
  • Renovate: adds .github/renovate.json extending the shared comet-ml/renovate-config preset, which keeps the actions pinned and opens PRs for new versions.

Not changed here: test-examples.yml still uses the deprecated set-output command and lists one matrix entry twice; both predate this PR. The workflow already fails on some examples on master (e.g. the last PR run had 16 failing jobs), so judge this PR's run against that.

🤖 Generated with Claude Code

…CENSE, onboard Renovate

test-examples: pin checkout (v3 -> v7), setup-python (v4 -> v7), cache
(v3 -> v6) and upload-artifact (v4 -> v7) to the commits of the versions
the rest of the org runs, and give the workflow a read-only token.

Remove examples-nata.yaml: it only ran on pushes to a branch that no
longer exists, so it could never run.

Add an Apache 2.0 LICENSE (as in opik-examples) and .github/renovate.json
so Renovate keeps the pins current.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@GuySaar8
GuySaar8 requested review from liyaka and obezpalko November 24, 2026 20:43
@GuySaar8
GuySaar8 merged commit 6af666d into master Nov 24, 2026
29 of 51 checks passed
@GuySaar8
GuySaar8 deleted the GuySaar8/DND-2101-pin-actions-permissions-license-renovate branch November 24, 2026 21:53
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