Skip to content

Commit

Permalink
Merge pull request #196 from lae/fix/no-amplify-on-forks
Browse files Browse the repository at this point in the history
Don't run Amplify on PRs from forks
  • Loading branch information
lae authored Dec 3, 2024
2 parents b9eda0d + d217ed6 commit 33a4aca
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/amplify.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ on:
pull_request: {}
workflow_dispatch: {}
push:
branches: ["main"]
branches: ["main", "develop"]

permissions:
contents: read
Expand All @@ -14,7 +14,7 @@ jobs:
amplify-security-scan:
name: Amplify Security Scan
runs-on: ubuntu-latest
if: (github.actor != 'dependabot[bot]')
if: github.event.pull_request.head.repo.full_name == github.repository && github.actor != 'dependabot[bot]'
steps:
- name: Checkout
uses: actions/checkout@v4
Expand Down

0 comments on commit 33a4aca

Please sign in to comment.