@@ -2,8 +2,6 @@ name: CI
on:
push:
branches: [ "main" ]
- pull_request_target:
- branches: [ "main" ]
pull_request:
jobs:
@@ -13,6 +11,8 @@ jobs:
- uses: actions/checkout@v3
with:
fetch-depth: 1
+ - name: Fetch main branch
+ run: git fetch origin main --depth=1
- name: Config Git User
run: |
git config --local user.name "dragooncjw"