Skip to content

Commit

Permalink
Add checkout step to staging migrations workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
sjoerdbeentjes committed Oct 2, 2024
1 parent 6647a22 commit f9e738f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/staging-migrations.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ jobs:
id: check_changes
run: |
git fetch origin main
git checkout ${{ github.ref_name }}
if git diff --name-only origin/main...HEAD | grep -q '^migrations/'; then
echo "changes=true" >> $GITHUB_ENV
Expand Down

0 comments on commit f9e738f

Please sign in to comment.