aboutsummaryrefslogtreecommitdiff
path: root/.github/workflows/infer.yml
diff options
context:
space:
mode:
Diffstat (limited to '.github/workflows/infer.yml')
-rw-r--r--.github/workflows/infer.yml5
1 files changed, 3 insertions, 2 deletions
diff --git a/.github/workflows/infer.yml b/.github/workflows/infer.yml
index 7a035a42..049b9d3b 100644
--- a/.github/workflows/infer.yml
+++ b/.github/workflows/infer.yml
@@ -1,12 +1,13 @@
name: Infer
on:
- - pull_request
+ - pull_request_target
- workflow_dispatch
+permissions: {}
jobs:
inferering:
runs-on: ubuntu-latest
-
+ if: "!contains(github.event.head_commit.message, '[no infer]')"
steps:
- uses: actions/checkout@v3
name: Checkout feature