feat(company-context): configure for Markster CPA outreach campaign #98
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: Validate Markster OS | |
| on: | |
| push: | |
| pull_request: | |
| jobs: | |
| validate: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v4 | |
| with: | |
| fetch-depth: 0 | |
| - name: Set up Python | |
| uses: actions/setup-python@v5 | |
| with: | |
| python-version: "3.11" | |
| - name: Run validator | |
| run: python3 tools/validate_markster_os.py | |
| - name: Validate commit messages in pull requests | |
| if: github.event_name == 'pull_request' | |
| env: | |
| BASE_SHA: ${{ github.event.pull_request.base.sha }} | |
| HEAD_SHA: ${{ github.event.pull_request.head.sha }} | |
| run: | | |
| git log --format=%s "${BASE_SHA}..${HEAD_SHA}" | while IFS= read -r subject; do | |
| [ -z "$subject" ] && continue | |
| python3 tools/validate_commit_message.py --message "$subject" | |
| done |