From d8990f468d42d87611659382906dad5578cd7aeb Mon Sep 17 00:00:00 2001 From: Samuel Burnham <45365069+samuelburnham@users.noreply.github.com> Date: Thu, 14 Mar 2024 13:40:54 -0400 Subject: [PATCH] Test breaking change issue creation --- .github/SOLIDITY_COMPAT_ISSUE.md | 3 +++ .github/workflows/solidity.yml | 10 +++++----- src/provider/tests/ipa_pc.rs | 2 +- 3 files changed, 9 insertions(+), 6 deletions(-) diff --git a/.github/SOLIDITY_COMPAT_ISSUE.md b/.github/SOLIDITY_COMPAT_ISSUE.md index ce9f92e2d..e669af174 100644 --- a/.github/SOLIDITY_COMPAT_ISSUE.md +++ b/.github/SOLIDITY_COMPAT_ISSUE.md @@ -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 diff --git a/.github/workflows/solidity.yml b/.github/workflows/solidity.yml index 0fa2198b5..d2e2b5171 100644 --- a/.github/workflows/solidity.yml +++ b/.github/workflows/solidity.yml @@ -135,7 +135,7 @@ 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 }} @@ -143,11 +143,11 @@ jobs: 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 @@ -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 diff --git a/src/provider/tests/ipa_pc.rs b/src/provider/tests/ipa_pc.rs index 3c41dafb8..58b3e571a 100644 --- a/src/provider/tests/ipa_pc.rs +++ b/src/provider/tests/ipa_pc.rs @@ -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;