diff --git a/.github/workflows/amplify.yml b/.github/workflows/amplify.yml index 17a1013..267a8ba 100644 --- a/.github/workflows/amplify.yml +++ b/.github/workflows/amplify.yml @@ -4,7 +4,7 @@ on: pull_request: {} workflow_dispatch: {} push: - branches: ["main"] + branches: ["main", "develop"] permissions: contents: read @@ -14,9 +14,9 @@ jobs: amplify-security-scan: name: Amplify Security Scan runs-on: ubuntu-latest - if: (github.actor != 'dependabot[bot]') + if: (!github.event.pull_request.head.repo.fork && github.actor != 'dependabot[bot]') steps: - name: Checkout - uses: actions/checkout@v4 + uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 - name: Amplify Runner uses: amplify-security/runner-action@926f003f3c9695a93cbc4e2f1e64eb784dcacbfc # v0.2.0