We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f95fb36 commit 0b756e4Copy full SHA for 0b756e4
.github/workflows/analyze.yml
@@ -1,10 +1,10 @@
1
name: Analyze
2
3
-on:
4
- push:
5
- branches:
6
- - main
7
- pull_request:
+on:
+ push:
+ branches:
+ - main
+ pull_request:
8
9
jobs:
10
Analyze:
@@ -45,7 +45,15 @@ jobs:
45
needs: [Analyze]
46
steps:
47
- uses: actions/checkout@v4
48
+ - name: Configure AWS credentials for dependabot
49
+ if: ${{ github.actor == 'dependabot[bot]' }}
50
+ uses: aws-actions/configure-aws-credentials@v4
51
+ with:
52
+ aws-access-key-id: ${{ secrets.DEPENDABOT_AWS_ACCESS_KEY_ID }}
53
+ aws-secret-access-key: ${{ secrets.DEPENDABOT_AWS_SECRET_ACCESS_KEY }}
54
+ aws-region: us-west-2
55
- name: Configure AWS credentials
56
+ if: ${{ github.actor != 'dependabot[bot]' }}
57
uses: aws-actions/configure-aws-credentials@v4
58
with:
59
aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID }}
0 commit comments