Skip to content

ci: align release workflows with crawlee-python - #1255

Open
vdusek wants to merge 3 commits into
masterfrom
ci/automation-environment
Open

vdusek wants to merge 3 commits into
masterfrom
ci/automation-environment

Conversation

@vdusek

@vdusek vdusek commented Nov 25, 2026 •

Copy link
Copy Markdown
Contributor

Align the workflows with apify/crawlee-python#2489, so the service account token is only in jobs that need it:

Environment Secrets Jobs
automation APIFY_SERVICE_ACCOUNT_GITHUB_TOKEN changelog update (beta and stable), versioned docs commit, docs theme commit, CloudFront invalidation, scheduled model regeneration
docs APIFY_SIGNING_TOKEN, SEGMENT_TOKEN docs build
pypi none PyPI publish
github-pages none docs deploy
  • The CloudFront invalidation moves out of deploy_docs into its own job, so github-pages holds no secrets.
  • The changelog update gets the changelog from the git-cliff-changelog artifact instead of the deprecated changelog input. Re-running only the failed jobs of a release after the artifact expires (7 days) fails, so re-run the whole workflow then.
  • The stable release runs the docs release only from master. github-pages deploys only from master, and in automation the docs theme commit would otherwise land on a release-v* branch before the deploy fails.

Before merging, an admin needs to:

  1. Create the automation and docs environments with custom branch policies master and release-v*, as pypi has.
  2. Sync the secrets into them from Doppler. APIFY_SIGNING_TOKEN and SEGMENT_TOKEN also stay repository secrets, because doc_check in _checks.yaml reads APIFY_SIGNING_TOKEN without an environment.
  3. After the merge, remove APIFY_SERVICE_ACCOUNT_GITHUB_TOKEN from the pypi and github-pages environments.

✍️ Drafted by Claude Code

@vdusek vdusek added adhoc Ad-hoc unplanned task added during the sprint. t-tooling Issues with this label are in the ownership of the tooling team. labels Nov 25, 2026
@vdusek vdusek self-assigned this Nov 25, 2026
@codecov

codecov Bot commented Nov 25, 2026 •

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 95.69%. Comparing base (f9f8ac2) to head (813d6a5).

Additional details and impacted files
@@           Coverage Diff           @@
##           master    #1255   +/-   ##
=======================================
  Coverage   95.69%   95.69%           
=======================================
  Files          65       65           
  Lines        6787     6787           
=======================================
  Hits         6495     6495           
  Misses        292      292           
Flag Coverage Δ
integration 90.65% <ø> (+0.02%) ⬆️
unit 91.38% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@vdusek
vdusek marked this pull request as ready for review November 25, 2026 14:08
@vdusek
vdusek requested a review from Pijukatel November 25, 2026 14:08

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

adhoc Ad-hoc unplanned task added during the sprint. t-tooling Issues with this label are in the ownership of the tooling team.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant