Skip to content

Commit

Permalink
notify after trigger
Browse files Browse the repository at this point in the history
  • Loading branch information
jprochazk committed Apr 12, 2024
1 parent bdf8019 commit c96ec04
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions .github/workflows/on_pr_comment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,3 +25,17 @@ jobs:
needs: [parse-command]
if: needs.parse-command.outputs.command == 'full-check'
uses: ./.github/workflows/on_push_main.yml

notify-pr:
needs: [parse-command]
if: needs.parse-command.outputs.command == 'full-check'
runs-on: ubuntu-latest
steps:
- name: Create PR comment
# https://github.com/mshick/add-pr-comment
uses: mshick/[email protected]
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
message-id: "pr-${{ github.event.issue.number }}-${{ github.run_id }}"
message: |
Started a full build: https://github.com/${{ github.repository }}/actions/runs/${{ github.run_id }}

0 comments on commit c96ec04

Please sign in to comment.