Skip to content

Commit

Permalink
Merge pull request #3 from brmur/main
Browse files Browse the repository at this point in the history
Update stats_lambda.yml
  • Loading branch information
brmur authored Jun 21, 2024
2 parents 19e9295 + 3d39bbe commit ea20979
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/stats_lambda.yml
Original file line number Diff line number Diff line change
@@ -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
Expand All @@ -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 }}
Expand Down

0 comments on commit ea20979

Please sign in to comment.