Skip to content

Commit

Permalink
ci: check pr-title
Browse files Browse the repository at this point in the history
  • Loading branch information
jorgepiloto committed Nov 13, 2024
1 parent f763bcb commit 0717f92
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions .github/workflows/ci_cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,9 +40,20 @@ jobs:
bot-user: ${{ secrets.PYANSYS_CI_BOT_USERNAME }}
bot-email: ${{ secrets.PYANSYS_CI_BOT_EMAIL }}

pr-name:
if: github.event_name == 'pull_request'
name: Check the name of the PR
runs-on: ubuntu-latest
steps:
- name: Check commit name
uses: ansys/actions/check-pr-title@v8
with:
token: ${{ secrets.GITHUB_TOKEN }}

code-style:
name: "Code style"
runs-on: ubuntu-latest
needs: pr-name
steps:
- uses: ansys/actions/code-style@v8
with:
Expand Down Expand Up @@ -81,6 +92,7 @@ jobs:
doc-style:
name: "Documentation style"
runs-on: ubuntu-latest
needs: pr-name
steps:
- name: PyAnsys documentation style checks
uses: ansys/actions/doc-style@v8
Expand Down

0 comments on commit 0717f92

Please sign in to comment.