We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 19e9295 + 3d39bbe commit ea20979Copy full SHA for ea20979
.github/workflows/stats_lambda.yml
@@ -1,4 +1,4 @@
1
-# This workflow executes a Lamdba function that records metrics for each merged PR.
+# This workflow executes a Lamdba function that records metrics for each successfully merged PR.
2
#
3
# For more information, see:
4
# https://github.com/marketplace/actions/invoke-aws-lambda
@@ -19,9 +19,10 @@ jobs:
19
if: github.event.pull_request.merged == true
20
runs-on: ubuntu-latest
21
steps:
22
+ - name: Convert event Payload
23
- uses: actions/checkout@v2
24
- run: echo "JSON_PAYLOAD={\"commit\" :\"${{ env.COMMIT }}\"}, {\"author\" :\"${{ env.PR_AUTHOR }}\"}" >> $GITHUB_ENV
- - name: Invoke runTheNumbers
25
+ - name: Invoke 'runTheNumbers' Lambda function
26
uses: gagoar/invoke-aws-lambda@master
27
with:
28
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
0 commit comments