chore: supprime la a11y checklist pour les PR non fork
parent
905ea2c0f1
commit
0a65c64d4e
|
@ -4,7 +4,7 @@ on:
|
|||
types: [opened, synchronize]
|
||||
jobs:
|
||||
add-a11y-check-if-necessary:
|
||||
name: Add A11Y check
|
||||
if: github.event.pull_request.head.repo.full_name != github.repository
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
|
@ -25,7 +25,7 @@ jobs:
|
|||
comment-author: 'github-actions[bot]'
|
||||
body-includes: accessibilité
|
||||
- name: Create comment
|
||||
if: github.event.pull_request.head.repo.full_name == github.repository && steps.changed-files-specific.outputs.any_changed == 'true' && steps.find-comment.outputs.comment-id == ''
|
||||
if: steps.changed-files-specific.outputs.any_changed == 'true' && steps.find-comment.outputs.comment-id == ''
|
||||
uses: peter-evans/create-or-update-comment@v3
|
||||
with:
|
||||
issue-number: ${{ github.event.pull_request.number }}
|
||||
|
|
Loading…
Reference in New Issue