v1.7.0
·
16 commits
to refs/heads/main
since this release
QueryCommandInput for Latest from PR @milldr (#16)
what
- Use a
QueryCommandInputinstead of aScanCommandInputto get the latest change from a PR - Remove
Limitfrom PR command
why
QueryCommandInputshould be used withQueryCommandto filter and pull the latest DynamoDB table entry- Without this change, the action always fails to find the plan entry even if the entry is valid
{"message":"The plan for demo-new in the stack plat-use2-sandbox for pr 22 does not exist."}
- Limit will only return the most recent result before filtering. This means only the most recent planfile will be returned across all PRs, not our specific PR
A single Query operation will read up to the maximum number of items set (if using the Limit parameter) or a maximum of 1 MB of data and then apply any filtering to the results using FilterExpression.