Skip to content

VERY experimental Nintendo Switch 2 emulator

C++

[ci] Fix license-header workflow

crueterb2d16cb3dd26
diff --git a/.github/workflows/license-header.yml b/.github/workflows/license-header.yml
index 416f0af881..13ed6f34c6 100644
--- a/.github/workflows/license-header.yml
+++ b/.github/workflows/license-header.yml
@@ -1,7 +1,7 @@
name: eden-license
on:
- pull_request_target:
+ pull_request:
branches: [ master ]
jobs:
@@ -13,9 +13,8 @@ jobs:
fetch-depth: 0
- name: Fetch
- run: git fetch origin
+ run: git fetch origin master:master
- # TODO: fix the script
- name: Make script executable
run: chmod +x ./.ci/license-header.rb