Skip to content

Fix Pages workflow trigger to include workflow file changes#2

Draft
Copilot wants to merge 2 commits intomainfrom
copilot/fix-workflow-action-issues
Draft

Fix Pages workflow trigger to include workflow file changes#2
Copilot wants to merge 2 commits intomainfrom
copilot/fix-workflow-action-issues

Conversation

Copy link

Copilot AI commented Jan 10, 2026

Pages deployment workflow wasn't running automatically on push because the paths filter only included website/**. When the workflow file was added in .github/workflows/, it didn't match the filter.

Changes

  • Added .github/workflows/pages.yml to the paths trigger filter
on:
  push:
    branches: ["main"]
    paths:
      - 'website/**'
      - '.github/workflows/pages.yml'  # Added

The manual workflow_dispatch trigger still works as before.

Original prompt

On workflows, why isn't my website deploying - the actions are not running


💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.

Co-authored-by: lh <66773+lh@users.noreply.github.com>
Copilot AI changed the title [WIP] Fix actions not running on deployment workflows Fix Pages workflow trigger to include workflow file changes Jan 10, 2026
Copilot finished work on behalf of lh January 10, 2026 15:04
Copilot AI requested a review from lh January 10, 2026 15:04
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