Skip to content

Commit

Permalink
Add branch as argument
Browse files Browse the repository at this point in the history
  • Loading branch information
aranke committed Jan 30, 2025
1 parent 08b00ec commit 72f356a
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .github/workflows/schema-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,12 @@ on:
# paths-ignore: [ '.changes/**', '.github/**', 'tests/**', '**.md', '**.yml' ]

workflow_dispatch:
inputs:
target_branch:
description: "The branch to check against"
type: string
default: 'main'
required: true

# no special access is needed
permissions: read-all
Expand All @@ -43,6 +49,7 @@ jobs:
uses: actions/checkout@v4
with:
path: ${{ env.DBT_REPO_DIRECTORY }}
ref: ${{ inputs.target_branch }}

- name: Check for changes in core/dbt/artifacts
# https://github.com/marketplace/actions/paths-changes-filter
Expand Down

0 comments on commit 72f356a

Please sign in to comment.