diff --git a/.github/workflows/shellcheck-action.yml b/.github/workflows/shellcheck-action.yml index 4058fba..6956365 100644 --- a/.github/workflows/shellcheck-action.yml +++ b/.github/workflows/shellcheck-action.yml @@ -16,7 +16,7 @@ on: jobs: shellcheck: runs-on: ubuntu-latest - + if: github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name != github.event.pull_request.base.repo.full_name steps: - name: Checkout repository uses: actions/checkout@v4 diff --git a/.github/workflows/test-action.yml b/.github/workflows/test-action.yml index 04b67fa..c8b4581 100644 --- a/.github/workflows/test-action.yml +++ b/.github/workflows/test-action.yml @@ -18,7 +18,7 @@ on: jobs: test: runs-on: ubuntu-latest - + if: github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name != github.event.pull_request.base.repo.full_name steps: - name: Checkout repository uses: actions/checkout@v4