GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — docs: fix three GitHub Actions examples that fail when copied by simonvanlierde · Pull Request #832 · pyOpenSci/python-package-guide

Conversation

@simonvanlierde

@simonvanlierde simonvanlierde commented Oct 23, 2026

Copy link
Copy Markdown
Contributor

Hi!

Three workflow examples fail when copied: one isn't valid YAML, one pins a checkout commit that doesn't exist, and one runs a nox session the nox page never defines.

  • tutorials/trusted-publishing.md: in Step 3, uses:, with: and run: sat two spaces deeper than name:, so the YAML doesn't parse. I lined them up, and moved checkout and setup-python to v7 to match the example workflow further down the page.
  • tests/run-tests.md: the checkout SHA is 39 characters, and GitHub has no such commit. It now pins v7.0.1, the same SHA as examples/pure-hatch.
  • tests/tests-ci.md: nox -s tests-<version> is now test-<version>, the session run-tests-nox.md defines. I also bumped checkout, setup-python and codecov-action to v7; codecov's README says v7 needs token: ${{ secrets.CODECOV_TOKEN }}.

Tests: nox -s docs-test passes, and so do the translated builds. Every YAML block on the trusted-publishing page parses. I left Python 3.9 in both matrices (end of life since October 2025), since dropping it is your call.

Best,

Simon

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@simonvanlierde
docs: fix three GitHub Actions examples that fail when copied
4e6dcff
- trusted-publishing: align step keys so the Step 3 YAML parses, and
  move its checkout and setup-python to v7, as the example workflow uses
- run-tests: pin actions/checkout to a commit that exists (v7.0.1)
- tests-ci: run the nox session the nox page defines (test, not tests),
  and update checkout, setup-python and codecov-action
@netlify

netlify Bot commented Oct 23, 2026 •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown

✅ Deploy Preview for python-package-guide ready!

Name Link
🔨 Latest commit 71160c0
🔍 Latest deploy log https://app.netlify.com/projects/python-package-guide/deploys/6ae10685a96a6b3ac206ed1b
😎 Deploy Preview https://deploy-preview-832--python-package-guide.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.
🤖 Make changes Run an agent on this branch

To edit notification comments on pull requests, go to your Netlify project configuration.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@simonvanlierde
Merge branch 'main' into fix-actions-examples
71160c0

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

Reviewers

No reviews

Uh oh!

There was an error while loading. Please reload this page.

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Uh oh!

There was an error while loading. Please reload this page.

1 participant

@simonvanlierde
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
You are visitor 01402520 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.