99 timeout-minutes : 5
1010 steps :
1111 - name : Harden Runner
12- uses : step-security/harden-runner@v2
12+ uses : step-security/harden-runner@4d991eb9b905ef189e4c376166672c3f2f230481 # v2.11.0
1313 with :
1414 egress-policy : audit
1515
16- - uses : actions/checkout@v4
16+ - uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
1717 - name : Get DynamoDB Item
1818 id : config
19- uses : step-security/dynamodb-actions@v1
19+ uses : step-security/dynamodb-actions@0b116fa64bf24e8baef26c12b3bc548a91c61f51 # v1.2.3
2020 env :
2121 AWS_DEFAULT_REGION : us-west-2
2222 AWS_REGION : us-west-2
3939 run : |
4040 jq '.commit' <<< '${{ steps.config.outputs.item }}'
4141 - name : Delete DynamoDB Item
42- uses : step-security/dynamodb-actions@v1
42+ uses : step-security/dynamodb-actions@0b116fa64bf24e8baef26c12b3bc548a91c61f51 # v1.2.3
4343 env :
4444 AWS_DEFAULT_REGION : us-west-2
4545 AWS_REGION : us-west-2
5252 key : |
5353 { key: "foo" }
5454 - name : Put DynamoDB Item (JSON input)
55- uses : step-security/dynamodb-actions@v1
55+ uses : step-security/dynamodb-actions@0b116fa64bf24e8baef26c12b3bc548a91c61f51 # v1.2.3
5656 env :
5757 AWS_DEFAULT_REGION : us-west-2
5858 AWS_REGION : us-west-2
7171 stars: 12345
7272 }
7373 - name : Put DynamoDB Item (File Input)
74- uses : step-security/dynamodb-actions@v1
74+ uses : step-security/dynamodb-actions@0b116fa64bf24e8baef26c12b3bc548a91c61f51 # v1.2.3
7575 env :
7676 AWS_DEFAULT_REGION : us-west-2
7777 AWS_REGION : us-west-2
8383 table : dynamodb-actions-test
8484 file : fixtures/item.json
8585 - name : BatchPut DynamoDB Item (JSON input)
86- uses : step-security/dynamodb-actions@v1
86+ uses : step-security/dynamodb-actions@0b116fa64bf24e8baef26c12b3bc548a91c61f51 # v1.2.3
8787 env :
8888 AWS_DEFAULT_REGION : us-west-2
8989 AWS_REGION : us-west-2
@@ -105,7 +105,7 @@ jobs:
105105 value: "baz"
106106 }]
107107 - name : BatchPut DynamoDB Item (File Input)
108- uses : step-security/dynamodb-actions@v1
108+ uses : step-security/dynamodb-actions@0b116fa64bf24e8baef26c12b3bc548a91c61f51 # v1.2.3
109109 env :
110110 AWS_DEFAULT_REGION : us-west-2
111111 AWS_REGION : us-west-2
0 commit comments