Conversation
Argus reviewAuto-review is off for this repo. Tick the box below to run a review on this PR.
Estimated cost
Tip: you can also comment |
|
Important Review skippedAuto reviews are disabled on this repository. Please check the settings in the CodeRabbit UI or the ⚙️ Run configurationConfiguration used: Repository: qBraid/pyqasm/.coderabbit.yaml Review profile: CHILL Plan: Advanced Run ID: You can disable this status message by setting the Use the checkbox below for a quick retry:
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
|
👋 Hey there! It looks like the changelog might need an update. Please take a moment to edit the
|
| name: Tell qBraid/docs about the release | ||
| # Bumps versions.json in qBraid/docs so docs for this release move into the | ||
| # Stable docs. Never fails the release. | ||
| needs: pypi-publish | ||
| runs-on: ubuntu-latest | ||
| continue-on-error: true | ||
| steps: | ||
| - name: Send package-released event | ||
| env: | ||
| GH_TOKEN: ${{ secrets.DOCS_DISPATCH_TOKEN }} | ||
| PKG: pyqasm | ||
| run: | | ||
| if [ -z "$GH_TOKEN" ]; then echo "DOCS_DISPATCH_TOKEN is not set; skipping"; exit 0; fi | ||
| sleep 60 # PyPI's JSON API can trail the upload briefly | ||
| VERSION=$(curl -fsSL "https://pypi.org/pypi/${PKG}/json" | jq -r .info.version) | ||
| echo "Notifying qBraid/docs: ${PKG} ${VERSION}" | ||
| gh api repos/qBraid/docs/dispatches -f event_type=package-released \ | ||
| -f "client_payload[package]=${PKG}" -f "client_payload[version]=${VERSION}" |
Codecov Report✅ All modified and coverable lines are covered by tests. 📢 Thoughts on this report? Let us know! |
Adds a
notify-docsjob that runs afterpypi-publish. It tells qBraid/docs which version just reached PyPI, and qBraid/docs then opens a PR bumping itsversions.json. Merging that PR moves this release's docs from Latest (tracksmain) into Stable (latest PyPI release). See qBraid/docs#336 for the Stable/Latest setup.continue-on-error: true, and it skips cleanly if the secret is missing, so it can never fail or block a release.Needs an org or repo secret
DOCS_DISPATCH_TOKEN: a fine-grained token, or a GitHub App token, with Contents: read and write onqBraid/docs. The GitHub API requires that permission to send arepository_dispatch. Until the secret exists, the job logs a skip.