Skip to content

Commit 6cdbd44

Browse files
ran-isenbergRan Isenberg
and
Ran Isenberg
authored
security: more fixes (#670)
Co-authored-by: Ran Isenberg <ran.isenberg@ranthebuilder.cloud>
1 parent 763584a commit 6cdbd44

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

.github/workflows/serverless-service.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ jobs:
3939
pip install -r dev_requirements.txt
4040
pip install -r lambda_requirements.txt
4141
- name: configure aws credentials
42-
uses: aws-actions/configure-aws-credentials@v2
42+
uses: aws-actions/configure-aws-credentials@5fd3084fc36e372ff1fff382a39b10d03659f355 # v2.2.0
4343
with:
4444
role-to-assume: ${{ secrets.AWS_ROLE }}
4545
role-session-name: samplerolesession
@@ -69,7 +69,7 @@ jobs:
6969
run: |
7070
make pipeline-tests
7171
- name: Codecov
72-
uses: codecov/codecov-action@v3
72+
uses: codecov/codecov-action@eaaf4bedf32dbdc6b720b63067d99c4d77d6047d # v3.1.4
7373
with:
7474
files: ./coverage.xml
7575
name: aws-lambda-handler-cookbook-codecov
@@ -86,6 +86,8 @@ jobs:
8686
name: generate_docs_on_main
8787
runs-on: ubuntu-latest
8888
needs: [build]
89+
permissions:
90+
contents: write # for docs push
8991
if: contains('refs/heads/main', github.ref)
9092
steps:
9193
- name: Check out repository code

0 commit comments

Comments
 (0)