Skip to content

Commit

Permalink
fix(ci): Ping myself in a comment when automated flake.lock PRs come in
Browse files Browse the repository at this point in the history
  • Loading branch information
mrjones2014 committed Aug 15, 2024
1 parent c2567c5 commit 1c97826
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .github/workflows/update-flake.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,3 +21,10 @@ jobs:
title: "[automation] update flake dependencies"
branch: "automation/update-flake-dependencies"
token: ${{ secrets.UPDATE_FLAKE_TOKEN }}
- name: Ping me in a comment on the PR
run: |
PR_NUMBER=${{ github.event.pull_request.number }}
COMMENT="Ping @mrjones2014"
GITHUB_TOKEN=${{ secrets.GITHUB_TOKEN }}
COMMENT_URL="https://api.github.com/repos/${{ github.repository }}/issues/${PR_NUMBER}/comments"
curl -s -H "Authorization: token ${GITHUB_TOKEN}" -X POST $COMMENT_URL -d "{\"body\":\"$COMMENT\"}"

0 comments on commit 1c97826

Please sign in to comment.