[ci] Add /test pre-commit slash command
- /test pre-commit triggers pre-commit via workflow_call - Posts commit status to PR head SHA so check appears on PR page - Mergify check-success~=pre-commit condition can now be satisfied
This commit is contained in:
@@ -14,7 +14,7 @@ permissions:
|
||||
|
||||
jobs:
|
||||
pre-commit:
|
||||
if: github.event.pull_request.draft != true
|
||||
if: github.event_name == 'workflow_call' || github.event.pull_request.draft != true
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
|
||||
Reference in New Issue
Block a user