diff --git a/.github/workflows/pr-check.yaml b/.github/workflows/pr-check.yaml index 290356b..e0b28e2 100644 --- a/.github/workflows/pr-check.yaml +++ b/.github/workflows/pr-check.yaml @@ -1,7 +1,7 @@ name: PR Check on: pull_request: - types: [opened, edited, synchronize] + types: [opened, edited, reopened, synchronize] # Disable permissions for all available scopes permissions: {} @@ -10,5 +10,14 @@ jobs: validate-pr-title: name: Validate PR title permissions: + contents: read pull-requests: write - uses: 3ware/workflows/.github/workflows/pr-title.yaml@5cf20b3ba1cfdbe501dd2595dfb4ade9360641d8 # v3.1.0 + uses: 3ware/workflows/.github/workflows/pr-title.yaml@61d14ca4e861fc9c11acacc7d80a10a78775a4e3 # 4.11.0 + + enforce-all-checks: + name: Checks + needs: [validate-pr-title] + permissions: + checks: read + uses: 3ware/workflows/.github/workflows/wait-for-checks.yaml@37f05222a05a0d46fa5f97a681c03fcd2b9acf5c # 4.9.0 + secrets: inherit