From 3d39bbeb480a039374f4007a3adfbc8fff7b3e29 Mon Sep 17 00:00:00 2001 From: Brian Murray <40031786+brmur@users.noreply.github.com> Date: Fri, 21 Jun 2024 12:04:22 +0100 Subject: [PATCH] Update stats_lambda.yml --- .github/workflows/stats_lambda.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/stats_lambda.yml b/.github/workflows/stats_lambda.yml index 93f6d80c187..98903d63f72 100644 --- a/.github/workflows/stats_lambda.yml +++ b/.github/workflows/stats_lambda.yml @@ -1,4 +1,4 @@ -# 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. # # For more information, see: # https://github.com/marketplace/actions/invoke-aws-lambda @@ -19,9 +19,10 @@ jobs: if: github.event.pull_request.merged == true runs-on: ubuntu-latest steps: + - name: Convert event Payload - uses: actions/checkout@v2 - run: echo "JSON_PAYLOAD={\"commit\" :\"${{ env.COMMIT }}\"}, {\"author\" :\"${{ env.PR_AUTHOR }}\"}" >> $GITHUB_ENV - - name: Invoke runTheNumbers + - name: Invoke 'runTheNumbers' Lambda function uses: gagoar/invoke-aws-lambda@master with: AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}