Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 2 additions & 9 deletions .github/workflows/style-check.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: Code Style Check

on: [push, pull_request_target]
on: [push, pull_request]

jobs:
eslint_check_upload:
Expand All @@ -11,9 +11,6 @@ jobs:

steps:
- uses: actions/checkout@v4
with:
repository: ${{ github.event.pull_request.head.repo.full_name }}
ref: ${{ github.head_ref }}
- name: Setup Node
uses: actions/setup-node@v3
with:
Expand All @@ -37,7 +34,7 @@ jobs:

annotation:
# Skip the annotation action in push events
if: github.event_name == 'pull_request_target'
if: github.event_name == 'pull_request'
permissions:
checks: write
needs: eslint_check_upload
Expand All @@ -62,9 +59,6 @@ jobs:
name: Format Check
steps:
- uses: actions/checkout@v3
with:
repository: ${{ github.event.pull_request.head.repo.full_name }}
ref: ${{ github.head_ref }}
- name: Setup Node
uses: actions/setup-node@v3
with:
Expand All @@ -85,7 +79,6 @@ jobs:
steps:
- uses: actions/checkout@v3
with:
repository: ${{ github.event.pull_request.head.repo.full_name }}
ref: ${{ github.head_ref }}
- name: Setup Node
uses: actions/setup-node@v3
Expand Down
Loading