Skip to content

Commit

Permalink
ci: Adapt to squash workflow
Browse files Browse the repository at this point in the history
With the squash workflow, pull requests are squashed and the PR title
is used as the commit message in main. Therefore, only the PR title
needs to be conventional.
  • Loading branch information
mbelak-dtml committed Jul 24, 2023
1 parent df18a0f commit 69169a4
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -56,5 +56,9 @@ jobs:
run: |
curl -sSfL https://github.com/convco/convco/releases/download/${{ env.CONVCO_VERSION }}/convco-ubuntu.zip | zcat > /usr/local/bin/convco
chmod +x /usr/local/bin/convco
- name: Check
- name: Check pull request title
if: github.event_name == 'pull_request'
run: echo "${{ github.event.pull_request.title }}" | convco check --from-stdin
- name: Check all commits
if: github.ref == 'refs/heads/main'
run: convco check

0 comments on commit 69169a4

Please sign in to comment.