Skip to content

Commit

Permalink
Update stats_lambda.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
brmur authored Jun 21, 2024
1 parent 1b7983a commit 80f5efe
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/stats_lambda.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,14 +12,15 @@ on: # yamllint disable-line rule:truthy
workflow_dispatch:
env:
COMMIT: ${{github.event.pull_request.head.sha}}
PR_AUTHOR: ${{ github.event.pull_request.user.login }}
jobs:
if_merged:
name: Generate Repo Statistics
if: github.event.pull_request.merged == true
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- run: echo "JSON_PAYLOAD={\"commit\" :\"${{ env.COMMIT }}\"}" >> $GITHUB_ENV
- run: echo "JSON_PAYLOAD={\"commit\" :\"${{ env.COMMIT }}\"}, {\"author\" :\"${{ env.PR_AUTHOR }}\"}" >> $GITHUB_ENV
- name: Invoke runTheNumbers
uses: gagoar/invoke-aws-lambda@master
with:
Expand Down

0 comments on commit 80f5efe

Please sign in to comment.