diff --git a/.github/workflows/amplify.yml b/.github/workflows/amplify.yml index a0a2963..dabe0ca 100644 --- a/.github/workflows/amplify.yml +++ b/.github/workflows/amplify.yml @@ -1,22 +1,22 @@ +--- +name: Amplify Security +on: + pull_request: {} + workflow_dispatch: {} + push: + branches: ["main"] - name: Amplify Security - on: - pull_request: {} - workflow_dispatch: {} - push: - branches: ["master", "main"] +permissions: + contents: read + id-token: write - permissions: - contents: read - id-token: write - - jobs: - amplify-security-scan: - name: Amplify Security Scan - runs-on: ubuntu-latest - if: (github.actor != 'dependabot[bot]') - steps: - - name: Checkout - uses: actions/checkout@v4 - - name: Amplify Runner - uses: amplify-security/runner-action@v0.1.0 +jobs: + amplify-security-scan: + name: Amplify Security Scan + runs-on: ubuntu-latest + if: (github.actor != 'dependabot[bot]') + steps: + - name: Checkout + uses: actions/checkout@v4 + - name: Amplify Runner + uses: amplify-security/runner-action@v0.2.0