Don't recreate Default product when config database already has products (#1386) #63
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Git Fixup Commit Check | |
| on: | |
| pull_request: | |
| branches: [ master ] | |
| types: [ opened, synchronize, reopened ] | |
| jobs: | |
| check_fixups: | |
| name: Check for fixup commits | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout code | |
| uses: actions/checkout@v4 | |
| with: | |
| fetch-depth: 0 | |
| - name: Verify commit messages | |
| run: | | |
| echo "Checking commit messages for fixup commits... " | |
| FIXUPS=$(git log ${{ github.event.pull_request.base.sha }}..${{ github.event.pull_request.head.sha }} --oneline | grep -E "^[a-f0-9]+ fixup!" || true) | |
| if [ -n "$FIXUPS" ]; then | |
| echo "ERROR: Found 'fixup!' commits in this pull request. Please squash them before merging!" | |
| echo "Found items:" | |
| echo "$FIXUPS" | |
| exit 1 | |
| fi | |
| echo "No fixup! commits found!" |