Is it possible for the sql file path to come from another branch?

Open
#240 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
35/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Stale
Tech stack
github-actions, sql
Domain
ci-cd, databases

Research direction

Start with the azure/sql-action@v2.2.1 workflow input handling and how GitHub Actions resolves the path value in the example. Determine whether a branch-qualified SQL path is supported; done means providing a confirmed answer or documenting the supported way to run a script from another branch.

Written by the indexing model from the issue text.

Description

need-to-triage

I want the sql server to run a script from a specific branch:

  • name: run-sql
    uses: azure/sql-action@v2.2.1
    with:
    connection-string: '${{ secrets.CONNECT_STRING }}'
    path: 'my-repo/audit/my-script.sql@feature/branch/20240811
    action: 'publish'

Is this possible?

Dominant language
TypeScript
Stars
142
Forks
73
Avg merge
9d 18h
Merged PRs (30d)
2

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from Azure/sql-action

All issues in Azure/sql-action

Similar issues

More TypeScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.