diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 3e1e8c5..7ef61da 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -13,6 +13,7 @@ jobs: contents: read steps: - uses: actions/checkout@v4 + if: ${{ github.event.action == 'opened' || github.event.action == 'reopened' || github.event.action == 'synchronize' }} with: repository: ${{ github.event.pull_request.head.repo.full_name }} ref: ${{ github.event.pull_request.head.ref }} @@ -29,4 +30,4 @@ jobs: with: type: 'static-apache' set-env: true - environment: 'review' + environment: 'review' \ No newline at end of file