aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCody Robibero <cody@robibe.ro>2024-09-06 11:46:22 -0600
committerGitHub <noreply@github.com>2024-09-06 19:46:22 +0200
commit5929a04bea514a1f4860aef3dc6021a6d8ec5d16 (patch)
tree9d8298812b11083c228d926afc5cdc41583efc27
parentccfd8fa66c1b6ae0d5d99db50cafbd00ece07832 (diff)
Only run on pull_request_target, use jellyfin-bot (#12599)
-rw-r--r--.github/workflows/ci-compat.yml4
1 files changed, 3 insertions, 1 deletions
diff --git a/.github/workflows/ci-compat.yml b/.github/workflows/ci-compat.yml
index 12532a13b..c6e655d08 100644
--- a/.github/workflows/ci-compat.yml
+++ b/.github/workflows/ci-compat.yml
@@ -1,7 +1,6 @@
name: ABI Compatibility
on:
pull_request_target:
- pull_request:
permissions: {}
@@ -68,6 +67,7 @@ jobs:
pull-requests: write # to create or update comment (peter-evans/create-or-update-comment)
name: ABI - Difference
+ if: ${{ github.event_name == 'pull_request_target' }}
runs-on: ubuntu-latest
needs:
- abi-head
@@ -119,6 +119,7 @@ jobs:
issue-number: ${{ github.event.pull_request.number }}
comment-id: ${{ steps.find-comment.outputs.comment-id }}
edit-mode: replace
+ token: ${{ secrets.JF_BOT_TOKEN }}
body: |
<!--abi-diff-workflow-comment-->
<details>
@@ -137,6 +138,7 @@ jobs:
issue-number: ${{ github.event.pull_request.number }}
comment-id: ${{ steps.find-comment.outputs.comment-id }}
edit-mode: replace
+ token: ${{ secrets.JF_BOT_TOKEN }}
body: |
<!--abi-diff-workflow-comment-->
<details>