Skip to content

Commit 4ac695f

Browse files
committed
lint amplify workflow
1 parent a71ec74 commit 4ac695f

File tree

1 file changed

+20
-20
lines changed

1 file changed

+20
-20
lines changed

.github/workflows/amplify.yml

Lines changed: 20 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,22 @@
1+
---
2+
name: Amplify Security
3+
on:
4+
pull_request: {}
5+
workflow_dispatch: {}
6+
push:
7+
branches: ["main"]
18

2-
name: Amplify Security
3-
on:
4-
pull_request: {}
5-
workflow_dispatch: {}
6-
push:
7-
branches: ["master", "main"]
9+
permissions:
10+
contents: read
11+
id-token: write
812

9-
permissions:
10-
contents: read
11-
id-token: write
12-
13-
jobs:
14-
amplify-security-scan:
15-
name: Amplify Security Scan
16-
runs-on: ubuntu-latest
17-
if: (github.actor != 'dependabot[bot]')
18-
steps:
19-
- name: Checkout
20-
uses: actions/checkout@v4
21-
- name: Amplify Runner
22-
uses: amplify-security/[email protected]
13+
jobs:
14+
amplify-security-scan:
15+
name: Amplify Security Scan
16+
runs-on: ubuntu-latest
17+
if: (github.actor != 'dependabot[bot]')
18+
steps:
19+
- name: Checkout
20+
uses: actions/checkout@v4
21+
- name: Amplify Runner
22+
uses: amplify-security/[email protected]

0 commit comments

Comments
 (0)