Skip to content

Commit

Permalink
Test breaking change issue creation
Browse files Browse the repository at this point in the history
  • Loading branch information
samuelburnham committed Mar 14, 2024
1 parent 77ebdc7 commit d8990f4
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 6 deletions.
3 changes: 3 additions & 0 deletions .github/SOLIDITY_COMPAT_ISSUE.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,6 @@ Compatibility with the [Arecibo](https://github.com/lurk-lab/arecibo) dependency
Check the [Solidity compatibility workflow run](__WORKFLOW_URL__) for details.

This issue was raised by the workflow at __WORKFLOW_FILE__.

> [!NOTE]
> This is a test
10 changes: 5 additions & 5 deletions .github/workflows/solidity.yml
Original file line number Diff line number Diff line change
Expand Up @@ -135,19 +135,19 @@ jobs:
${{ env.WORKFLOW_URL }}
# Substitutes env vars for their values in `SOLIDITY_COMPAT_ISSUE.md`
- uses: falnyr/replace-env-vars-action@master
if: steps.solidity-test.outcome != 'success' && (github.event_name != 'pull_request' || github.event.action == 'enqueued')
if: steps.solidity-test.outcome != 'success'
env:
WORKFLOW_URL: ${{ env.WORKFLOW_URL }}
WORKFLOW_FILE: ${{ env.WORKFLOW_FILE }}
COMMIT: ${{ env.COMMIT }}
COMMIT_URL: ${{ env.COMMIT_URL }}
PR_URL: ${{ env.PR_URL }}
with:
filename: .github/templates/SOLIDITY_COMPAT_ISSUE.md
filename: .github/SOLIDITY_COMPAT_ISSUE.md
# Finds the last open issue matching given labels
- name: Find the last open compatibility issue
id: last-issue
if: steps.solidity-test.outcome != 'success' && (github.event_name != 'pull_request' || github.event.action == 'enqueued')
if: steps.solidity-test.outcome != 'success'
uses: micalevisk/last-issue-action@v2
with:
repository: lurk-lab/solidity-verifier
Expand All @@ -159,13 +159,13 @@ jobs:
automated issue
# Update existing issue in `solidity-verifier` or create new one
- uses: peter-evans/create-issue-from-file@v5
if: steps.solidity-test.outcome != 'success' && (github.event_name != 'pull_request' || github.event.action == 'enqueued')
if: steps.solidity-test.outcome != 'success'
with:
token: ${{ secrets.REPO_TOKEN }}
repository: lurk-lab/solidity-verifier
issue-number: ${{ steps.last-issue.outputs.issue-number }}
title: ":rotating_light: Arecibo compatibility is broken"
content-filepath: .github/templates/SOLIDITY_COMPAT_ISSUE.md
content-filepath: .github/SOLIDITY_COMPAT_ISSUE.md
labels: |
compatibility
debt
Expand Down
2 changes: 1 addition & 1 deletion src/provider/tests/ipa_pc.rs
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ label[0] = 0x54;
label[1] = 0x65;
label[2] = 0x73;
label[3] = 0x74;
label[4] = 0x45;
label[4] = 0x46;
label[5] = 0x76;
label[6] = 0x61;
label[7] = 0x6c;
Expand Down

0 comments on commit d8990f4

Please sign in to comment.