Skip to content

feat: remove legacy library from homepage #241

feat: remove legacy library from homepage

feat: remove legacy library from homepage #241

Workflow file for this run

name: Commitizen
on:
merge_group:
pull_request:
concurrency:
group: pr-${{ github.workflow }}-${{ github.head_ref }}
cancel-in-progress: true
jobs:
check_pr_title:
if: github.event_name == 'pull_request'
uses: dfinity/ci-tools/.github/workflows/check-pr-title.yaml@main
check_commit_messages:
if: github.event_name == 'merge_group'
uses: dfinity/ci-tools/.github/workflows/check-commit-messages.yaml@main
commitizen:
name: commitizen:required
runs-on: ubuntu-latest
needs: [check_pr_title, check_commit_messages]
if: always()
steps:
- name: Check previous jobs
run: |
if [[ "${{ needs.check_pr_title.result }}" == "success" || "${{ needs.check_pr_title.result }}" == "skipped" ]] &&
[[ "${{ needs.check_commit_messages.result }}" == "success" || "${{ needs.check_commit_messages.result }}" == "skipped" ]]; then
echo "All required jobs passed or were skipped."
else
echo "One or more jobs failed."
exit 1
fi