Skip to content

chore: restrict release action trigger on "migrations-semver/*.sql" #29

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jun 24, 2025

Conversation

tianzhou
Copy link
Contributor

No description provided.

@tianzhou tianzhou requested review from RainbowDashy and Copilot June 24, 2025 09:30
Copy link

@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR updates the release-action workflow to only trigger on pushes to main when SQL migration files under migrations-semver change.

  • Adds a paths filter restricting runs to migrations-semver/*.sql
  • Ensures the workflow is invoked only for relevant database migration updates
Comments suppressed due to low confidence (2)

.github/workflows/release-action.yml:7

  • [nitpick] Consider adding a brief comment above this block explaining why the workflow is restricted to migration SQL files to aid future maintainers.
    paths:

.github/workflows/release-action.yml:8

  • If migration files may reside in subdirectories, use "migrations-semver/**/*.sql" to ensure all nested SQL files trigger this workflow.
      - "migrations-semver/*.sql"

@tianzhou tianzhou merged commit 2865645 into main Jun 24, 2025
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.

1 participant