Skip to content

Commit 38fd381

Browse files
mahlau-flexyaugenst-flex
authored andcommitted
feat: fixed commitlint check in github actions
1 parent 7889fe6 commit 38fd381

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

.github/workflows/tidy3d-python-client-tests.yml

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -163,7 +163,7 @@ jobs:
163163
lint-commit-messages:
164164
needs: determine-test-scope
165165
runs-on: ubuntu-latest
166-
name: veryify-commit-linting
166+
name: lint-commit-messages
167167
steps:
168168
- name: Check out source code
169169
uses: actions/checkout@v4
@@ -534,10 +534,7 @@ jobs:
534534
exit 1 # Given remote-tests always run after a PR is approved
535535
elif [[ "${{ needs.local-tests.result }}" != 'success' ]]; then
536536
echo "❌ local-tests failed or were skipped."
537-
elif [[ "${{ needs.determine-test-scope.outputs.pr_approval_state }}" == 'true' && github.event.pull_request ]]; then
538-
echo "❌ PR requires approval."
539-
exit 1
540-
elif [[ github.event_name == 'merge_group' && "${{ needs.lint-commit-messages.result }}" != 'success' ]]; then
537+
elif [[ "${{ github.event_name }}" == 'merge_group' && "${{ needs.lint-commit-messages.result }}" != 'success' ]]; then
541538
echo "❌ Linting of commit messages failed or was skipped."
542539
exit 1
543540
fi

0 commit comments

Comments
 (0)