Skip to content

Align docs workflow tag trigger with testpypi pattern#14

Draft
Copilot wants to merge 2 commits intomainfrom
copilot/trigger-on-tag
Draft

Align docs workflow tag trigger with testpypi pattern#14
Copilot wants to merge 2 commits intomainfrom
copilot/trigger-on-tag

Conversation

Copy link
Contributor

Copilot AI commented Feb 9, 2026

The docs workflow was triggering on all tags (*) while testpypi workflow triggers only on version tags (v*.*.*). This causes unnecessary documentation builds for non-version tags.

Changes

  • Updated .github/workflows/docs.yml tag pattern from '*' to 'v*.*.*'
  • Added inline comment for clarity

Before

on:
  push:
    branches:
      - main
    tags:
      - '*'
  workflow_dispatch:

After

on:
  push:
    branches:
      - main
    tags:
      - 'v*.*.*'  # only trigger on version tags
  workflow_dispatch:

Both workflows now trigger on the same semantic versioning tag pattern, preventing docs builds on arbitrary tags while maintaining sphinx-multiversion functionality for release versions.

Original prompt

Do i need to trigger on tag this a/


✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.

Co-authored-by: digreatbrian <119015367+digreatbrian@users.noreply.github.com>
Copilot AI changed the title [WIP] Add trigger for actions on tag events Align docs workflow tag trigger with testpypi pattern Feb 9, 2026
Copilot AI requested a review from digreatbrian February 9, 2026 17:48
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.

2 participants