Skip to content

Commit

Permalink
Switch to pull_request_target
Browse files Browse the repository at this point in the history
Signed-off-by: Cédric Ollivier <[email protected]>
  • Loading branch information
collivier committed Jan 14, 2025
1 parent 3ff4845 commit 367b652
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion .github/workflows/actions.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ on:
- '!**.md'
- '!docs/*'
- '!doc-lint/*'
pull_request:
pull_request_target:
paths:
- '**'
- '!**.md'
Expand All @@ -24,6 +24,14 @@ jobs:
outputs:
matrix: ${{ steps.set-matrix.outputs.matrix }}
steps:
- name: Get User Permission
id: checkAccess
uses: actions-cool/check-user-permission@v2
with:
require: write
username: ${{ github.triggering_actor }}
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Checkout code
uses: actions/checkout@v4
with:
Expand Down

0 comments on commit 367b652

Please sign in to comment.