Skip to content

Commit

Permalink
Test comment action
Browse files Browse the repository at this point in the history
  • Loading branch information
samuelburnham committed Feb 6, 2024
1 parent 37463d5 commit 651c942
Showing 1 changed file with 30 additions and 0 deletions.
30 changes: 30 additions & 0 deletions .github/workflows/create-comment.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
name: End to end integration tests

on:
pull_request:

jobs:
integration-tests-e2e:
name: E2E verification
runs-on: buildjet-16vcpu-ubuntu-2204
steps:
- name: Exit if base branch is `main`
if: ${{ github.base_ref == 'main' }}
run: |
echo "Cannot run end2end integration tests on PR targeting `main`"
exit 1
continue-on-error: false

- uses: actions/checkout@v4
with:
submodules: recursive

- name: Comment on successful run
uses: peter-evans/create-or-update-comment@v3
with:
issue-number: ${{ github.event.issue.number }}
body: |
End-to-end `!test` action succeeded! :rocket:
https://github.com/lurk-lab/solidity-verifier/actions/runs/${{ github.run_id }}

0 comments on commit 651c942

Please sign in to comment.