chore: supprime la a11y checklist pour les PR non fork

chore/forks-ci
Alice Dahan 2024-12-13 13:45:30 +01:00
parent 905ea2c0f1
commit 0a65c64d4e
1 changed files with 2 additions and 2 deletions

View File

@ -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 }}