From a1851d1bb5beeb71f279e292bb3bd0db907faa53 Mon Sep 17 00:00:00 2001 From: Hubert Bugaj Date: Fri, 6 Mar 2026 09:54:35 +0100 Subject: [PATCH] chore: add issues on parity report failures --- .github/RPC_PARITY_REPORT_ISSUE_TEMPLATE.md | 8 ++++++++ .github/workflows/rpc-parity-report.yml | 12 ++++++++++++ 2 files changed, 20 insertions(+) create mode 100644 .github/RPC_PARITY_REPORT_ISSUE_TEMPLATE.md diff --git a/.github/RPC_PARITY_REPORT_ISSUE_TEMPLATE.md b/.github/RPC_PARITY_REPORT_ISSUE_TEMPLATE.md new file mode 100644 index 000000000000..4995579806ba --- /dev/null +++ b/.github/RPC_PARITY_REPORT_ISSUE_TEMPLATE.md @@ -0,0 +1,8 @@ +--- +title: "[automated] RPC parity report test failure @ {{ date | date('D/M/YY HH:mm') }}" +labels: ["Bug"] +--- + +## Description + +Latest RPC parity report test failed. Please [check the logs]({{ env.WORKFLOW_URL }}) for more information. diff --git a/.github/workflows/rpc-parity-report.yml b/.github/workflows/rpc-parity-report.yml index 67980a6c68a6..88648271fe82 100644 --- a/.github/workflows/rpc-parity-report.yml +++ b/.github/workflows/rpc-parity-report.yml @@ -44,6 +44,18 @@ jobs: docker system df docker system df --verbose df -h + - name: Set WORKFLOW_URL + if: always() + run: | + export WORKFLOW_URL="${GITHUB_SERVER_URL}/${GITHUB_REPOSITORY}/actions/runs/${GITHUB_RUN_ID}" + echo ${WORKFLOW_URL} + echo "WORKFLOW_URL=${WORKFLOW_URL}" >> $GITHUB_ENV + - uses: JasonEtco/create-an-issue@v2 + if: github.ref == 'refs/heads/main' && failure() + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + with: + filename: .github/RPC_PARITY_REPORT_ISSUE_TEMPLATE.md - uses: jdx/mise-action@v3 - run: mise add_conformance_report - run: mise run docs:format