From a06d760eab188168403997b93ab4494a94c5042d Mon Sep 17 00:00:00 2001 From: davidra Date: Tue, 27 May 2025 09:36:35 +0200 Subject: [PATCH 1/7] Workflow Trigger For Grisp Crypto Auth --- .../workflows/on_grispcryptoauth_release.yaml | 34 +++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 .config/workflows/on_grispcryptoauth_release.yaml diff --git a/.config/workflows/on_grispcryptoauth_release.yaml b/.config/workflows/on_grispcryptoauth_release.yaml new file mode 100644 index 0000000..99bb646 --- /dev/null +++ b/.config/workflows/on_grispcryptoauth_release.yaml @@ -0,0 +1,34 @@ +name: On Grisp Crypto Auth Release + +on: + release: + types: [published] + +jobs: + trigger-otp-build: + runs-on: ubuntu-latest + steps: + - name: Trigger OTP package build + run: | + curl -s https://raw.githubusercontent.com/erlang/otp/master/otp_versions.table \ + | grep '^OTP-' \ + | cut -d' ' -f1 \ + | sed 's/OTP-//' \ + | sort -V \ + | awk -F. '{ + major_version = $1; + latest[major_version] = $0; + } + END { + for (m in latest) print latest[m]; + }' \ + | sort -Vr \ + | head -n 4 \ + | while read OTP_VER; do + echo "Triggering for OTP: $OTP_VER" + curl -L -X POST \ + -H "Authorization: Bearer ${{ secrets.GITHUB_TOKEN }}" \ + -H "Accept: application/vnd.github.everest-preview+json" \ + https://api.github.com/repos/grisp/grisp/dispatches \ + -d "{\"event_type\":\"grispcryptoauth-release\",\"client_payload\":{\"otp\":\"\\\\\\\"${OTP_VER}\\\\\\\"\",\"unit\":false,\"integration\":true}}" + done \ No newline at end of file From 5938327ae6b83c702ab123706d467d1e912ea7e8 Mon Sep 17 00:00:00 2001 From: davidra Date: Tue, 27 May 2025 15:32:47 +0200 Subject: [PATCH 2/7] Package generation --- .../workflows/on_grispcryptoauth_release.yaml | 2 +- .config/workflows/otp-package.yaml | 188 ++++++++++++++++++ 2 files changed, 189 insertions(+), 1 deletion(-) create mode 100644 .config/workflows/otp-package.yaml diff --git a/.config/workflows/on_grispcryptoauth_release.yaml b/.config/workflows/on_grispcryptoauth_release.yaml index 99bb646..6d30e63 100644 --- a/.config/workflows/on_grispcryptoauth_release.yaml +++ b/.config/workflows/on_grispcryptoauth_release.yaml @@ -29,6 +29,6 @@ jobs: curl -L -X POST \ -H "Authorization: Bearer ${{ secrets.GITHUB_TOKEN }}" \ -H "Accept: application/vnd.github.everest-preview+json" \ - https://api.github.com/repos/grisp/grisp/dispatches \ + https://api.github.com/repos/grisp/grisp_cryptoauth/dispatches \ -d "{\"event_type\":\"grispcryptoauth-release\",\"client_payload\":{\"otp\":\"\\\\\\\"${OTP_VER}\\\\\\\"\",\"unit\":false,\"integration\":true}}" done \ No newline at end of file diff --git a/.config/workflows/otp-package.yaml b/.config/workflows/otp-package.yaml new file mode 100644 index 0000000..d510e54 --- /dev/null +++ b/.config/workflows/otp-package.yaml @@ -0,0 +1,188 @@ +name: OTP Package on new Grisp Crypto Auth Release + +on: + repository_dispatch: + types: + - grispcryptoauth-release + +jobs: + define-matrix: + runs-on: ubuntu-latest + outputs: + otp-version: ${{ steps.matrix-def.outputs.otp-version }} + steps: + - name: Matrix Definition + id: matrix-def + run: | + echo "otp-version=${{ github.event.client_payload.otp }}" >> "$GITHUB_OUTPUT" + + otp-gen-matrix: + runs-on: ubuntu-latest + needs: define-matrix + container: + # This image is based on debian:bookworm + # but we need to make erlef/setup-beam@v1 happy + # so we set 'ubuntu22' (jammy), which is the most similar, as ImageOS + image: grisp/grisp2-rtems-toolchain + env: + ImageOS: 'ubuntu22' + strategy: + matrix: + otp: ["${{ fromJson(needs.define-matrix.outputs.otp-version) }}"] + deps: ['grisp, grisp_cryptoauth'] + rebar3: ['3'] + fail-fast: false + outputs: + report: ${{ steps.report.outputs.report }} + build_status: ${{ steps.build.outcome }} + otp: ${{ matrix.otp }} + deps: ${{ matrix.deps }} + steps: + - uses: erlef/setup-beam@v1 + with: + otp-version: ${{matrix.otp}} + rebar3-version: ${{ matrix.rebar3 }} + + - name: Install GRiSP Plugin + run: | + mkdir -p ${HOME}/.config/rebar3/ + echo "{plugins, [rebar3_hex,rebar3_grisp]}." > ${HOME}/.config/rebar3/rebar.config + rebar3 + + - name: Generate Dummy Project + run: | + rebar3 grisp configure -i false --otp_version="=${{matrix.otp}}" --dest="_deploy" + mkdir robot/_deploy + sed -i 's/grisp/${{matrix.deps}}/g' robot/src/robot.app.src + sed -i '/{deps, \[/,/\]}.*/{ + N + N + s/{deps, \[\n[[:space:]]*grisp\n\]}.*/{deps, [${{matrix.deps}}]}./ + }' robot/rebar.config + cat robot/rebar.config + + - name: Try to Deploy + id: deploy + continue-on-error: true + working-directory: robot + run: | + rebar3 grisp deploy + + - name: Build OTP + id: build + if: ${{ steps.deploy.outcome == 'failure' }} + working-directory: robot + continue-on-error: true + run: | + sed -i '/{grisp, \[/a\ + '"{build, [{toolchain, [{directory, \"/grisp2-rtems-toolchain\"}]}]}," rebar.config + cat rebar.config + rebar3 grisp build --tar + PKG_NAME=$(ls _grisp/grisp2/otp/${{matrix.otp}}/package) + echo "pkg_name=$PKG_NAME" >> $GITHUB_ENV + + - name: Deploy test + if: ${{ steps.build.outcome == 'success' }} + id: deploy-test + working-directory: robot + run: | + rebar3 grisp deploy + + - name: Upload as GitHub Artifact + id: artifact-upload + if: ${{ steps.deploy-test.outcome == 'success' }} + uses: actions/upload-artifact@v4 + with: + name: ${{env.pkg_name}} + path: robot/_grisp/grisp2/otp/${{matrix.otp}}/package/${{env.pkg_name}} + + create-issue: + runs-on: ubuntu-latest + needs: otp-gen-matrix + if: needs.otp-gen-matrix.outputs.build_status == 'failure' + steps: + - name: Create GitHub Issue + run: | + echo "Creating GitHub issue for failed OTP build..." + curl -L -X POST \ + -H "Accept: application/vnd.github+json" \ + -H "Authorization: Bearer ${{ secrets.GITHUB_TOKEN }}" \ + -H "X-GitHub-Api-Version: 2022-11-28" \ + https://api.github.com/repos/Fantarina/grisp_cryptoauth/issues \ + -d "$(jq -n \ + --arg title "Failed package build for OTP-${{ needs.otp-gen-matrix.outputs.otp }}" \ + --arg body "Prebuilt package build failed:\n OTP Version: ${{ needs.otp-gen-matrix.outputs.otp }}\n Applications: [${{ needs.otp-gen-matrix.outputs.deps }}]\nWorkflow Run: https://github.com/grisp_cryptoauth/grisp/actions/runs/${{ github.run_id }}" \ + --argjson labels '["otp-build"]' \ + '{title: $title, body: $body, labels: $labels}')" + + upload_artifacts: + runs-on: ubuntu-latest + needs: [define-matrix, otp-gen-matrix] + strategy: + matrix: + otp: ["${{ fromJson(needs.define-matrix.outputs.otp-version) }}"] + deps: ['grisp, grisp_cryptoauth'] + rebar3: ['3'] + outputs: + artifacts: ${{ steps.matrix-def.outputs.otp-version }} + steps: + - uses: erlef/setup-beam@v1 + with: + otp-version: ${{matrix.otp}} + rebar3-version: ${{ matrix.rebar3 }} + + - name: Install GRiSP Plugin + run: | + mkdir -p ${HOME}/.config/rebar3/ + echo "{plugins, [rebar3_hex,rebar3_grisp]}." > ${HOME}/.config/rebar3/rebar.config + rebar3 + + - name: Generate Dummy Project + run: | + rebar3 grisp configure -i false --otp_version="=${{matrix.otp}}" --dest="_deploy" + mkdir robot/_deploy + sed -i 's/grisp/${{matrix.deps}}/g' robot/src/robot.app.src + sed -i '/{deps, \[/,/\]}.*/{ + N + N + s/{deps, \[\n[[:space:]]*grisp\n\]}.*/{deps, [${{matrix.deps}}]}./ + }' robot/rebar.config + cat robot/rebar.config + + - name: Get Package Name + id: deploy + working-directory: robot + run: | + sed -i '/{grisp, \[/a\ + '"{build, []}," rebar.config + rebar3 grisp report + PKG_HASH=$(grep -o '<<"[0-9a-f]\{64\}">>' _grisp/report/hash.txt | tail -n 1 | sed 's/[<">]//g') + PKG_NAME=grisp_otp_build_${{matrix.otp}}_${PKG_HASH}.tar.gz + echo "pkg_name=$PKG_NAME" >> $GITHUB_ENV + + - name: Download Package Artifact + id: artifact-download + uses: actions/download-artifact@v4 + with: + name: ${{env.pkg_name}} + + - name: Upload to S3 + if: ${{ steps.artifact-download.outcome == 'success' }} + env: + AWS_ACCESS_KEY_ID: ${{ secrets.GRISP_S3_ACCESS_KEY_ID }} + AWS_SECRET_ACCESS_KEY: ${{ secrets.GRISP_S3_SECRET_ACCESS_KEY }} + AWS_DEFAULT_REGION: "us-east-1" + run: | + aws s3 cp --acl public-read --storage-class INTELLIGENT_TIERING \ + ${{env.pkg_name}} \ + s3://grisp/platforms/grisp2/otp/ + + slack-message: + runs-on: ubuntu-latest + needs: [define-matrix, otp-gen-matrix, upload_artifacts] + steps: + - name: Notify Slack channels through Zapier Webhook + run: | + curl ${{secrets.ZAPIER_GRISP_OTP_PACKAGE_WEBHOOK}} \ + -H "Content-Type: application/json; charset=utf-8" \ + -d '[{"otp":${{ needs.define-matrix.outputs.otp-version }}}]' From ab5c10f7288cd00bd1b2052e14b280f5d0c5369e Mon Sep 17 00:00:00 2001 From: davidra Date: Tue, 27 May 2025 15:43:34 +0200 Subject: [PATCH 3/7] Fix: Repo name --- {.config => .github}/workflows/on_grispcryptoauth_release.yaml | 0 {.config => .github}/workflows/otp-package.yaml | 0 2 files changed, 0 insertions(+), 0 deletions(-) rename {.config => .github}/workflows/on_grispcryptoauth_release.yaml (100%) rename {.config => .github}/workflows/otp-package.yaml (100%) diff --git a/.config/workflows/on_grispcryptoauth_release.yaml b/.github/workflows/on_grispcryptoauth_release.yaml similarity index 100% rename from .config/workflows/on_grispcryptoauth_release.yaml rename to .github/workflows/on_grispcryptoauth_release.yaml diff --git a/.config/workflows/otp-package.yaml b/.github/workflows/otp-package.yaml similarity index 100% rename from .config/workflows/otp-package.yaml rename to .github/workflows/otp-package.yaml From 93e0ae5d562e34c787db6090a464df5afdacfa53 Mon Sep 17 00:00:00 2001 From: davidra Date: Wed, 28 May 2025 10:46:39 +0200 Subject: [PATCH 4/7] FIx: github issue creation --- .../workflows/on_grispcryptoauth_release.yaml | 2 +- .github/workflows/otp-package.yaml | 82 ++++++++----------- .github/workflows/token | 0 3 files changed, 33 insertions(+), 51 deletions(-) create mode 100644 .github/workflows/token diff --git a/.github/workflows/on_grispcryptoauth_release.yaml b/.github/workflows/on_grispcryptoauth_release.yaml index 6d30e63..e297bcc 100644 --- a/.github/workflows/on_grispcryptoauth_release.yaml +++ b/.github/workflows/on_grispcryptoauth_release.yaml @@ -29,6 +29,6 @@ jobs: curl -L -X POST \ -H "Authorization: Bearer ${{ secrets.GITHUB_TOKEN }}" \ -H "Accept: application/vnd.github.everest-preview+json" \ - https://api.github.com/repos/grisp/grisp_cryptoauth/dispatches \ + https://api.github.com/repos/Fantarina/grisp_cryptoauth/dispatches \ -d "{\"event_type\":\"grispcryptoauth-release\",\"client_payload\":{\"otp\":\"\\\\\\\"${OTP_VER}\\\\\\\"\",\"unit\":false,\"integration\":true}}" done \ No newline at end of file diff --git a/.github/workflows/otp-package.yaml b/.github/workflows/otp-package.yaml index d510e54..8bf9322 100644 --- a/.github/workflows/otp-package.yaml +++ b/.github/workflows/otp-package.yaml @@ -1,4 +1,4 @@ -name: OTP Package on new Grisp Crypto Auth Release +name: OTP Package on new Grisp Release on: repository_dispatch: @@ -15,7 +15,6 @@ jobs: id: matrix-def run: | echo "otp-version=${{ github.event.client_payload.otp }}" >> "$GITHUB_OUTPUT" - otp-gen-matrix: runs-on: ubuntu-latest needs: define-matrix @@ -30,25 +29,20 @@ jobs: matrix: otp: ["${{ fromJson(needs.define-matrix.outputs.otp-version) }}"] deps: ['grisp, grisp_cryptoauth'] - rebar3: ['3'] + rebar3: ['3.24.0'] fail-fast: false outputs: report: ${{ steps.report.outputs.report }} - build_status: ${{ steps.build.outcome }} - otp: ${{ matrix.otp }} - deps: ${{ matrix.deps }} steps: - uses: erlef/setup-beam@v1 with: otp-version: ${{matrix.otp}} rebar3-version: ${{ matrix.rebar3 }} - - name: Install GRiSP Plugin run: | mkdir -p ${HOME}/.config/rebar3/ echo "{plugins, [rebar3_hex,rebar3_grisp]}." > ${HOME}/.config/rebar3/rebar.config - rebar3 - + rebar3 update - name: Generate Dummy Project run: | rebar3 grisp configure -i false --otp_version="=${{matrix.otp}}" --dest="_deploy" @@ -60,14 +54,12 @@ jobs: s/{deps, \[\n[[:space:]]*grisp\n\]}.*/{deps, [${{matrix.deps}}]}./ }' robot/rebar.config cat robot/rebar.config - - name: Try to Deploy id: deploy continue-on-error: true working-directory: robot run: | rebar3 grisp deploy - - name: Build OTP id: build if: ${{ steps.deploy.outcome == 'failure' }} @@ -80,14 +72,23 @@ jobs: rebar3 grisp build --tar PKG_NAME=$(ls _grisp/grisp2/otp/${{matrix.otp}}/package) echo "pkg_name=$PKG_NAME" >> $GITHUB_ENV - + - name: Create GitHub Issue + if: ${{ steps.build.outcome == 'failure' }} + run: | + apt-get update && apt-get install -y curl + curl -L -X POST \ + -H "Accept: application/vnd.github+json" \ + -H "Authorization: Bearer ${{ secrets.GITHUB_TOKEN }}" \ + -H "X-GitHub-Api-Version: 2022-11-28" \ + https://api.github.com/repos/grisp/grisp/issues \ + -d '{"title":"Failed package build for OTP-${{matrix.otp}}","body":"Prebuilt package build failed:\n OTP Version: ${{matrix.otp}}\n Applications: [${{matrix.deps}}]\nWorkflow Run: https://github.com/grisp/grisp/actions/runs/${{github.run_id}}", "labels":["otp-build"]}' + exit 1 - name: Deploy test if: ${{ steps.build.outcome == 'success' }} id: deploy-test working-directory: robot run: | rebar3 grisp deploy - - name: Upload as GitHub Artifact id: artifact-upload if: ${{ steps.deploy-test.outcome == 'success' }} @@ -95,26 +96,6 @@ jobs: with: name: ${{env.pkg_name}} path: robot/_grisp/grisp2/otp/${{matrix.otp}}/package/${{env.pkg_name}} - - create-issue: - runs-on: ubuntu-latest - needs: otp-gen-matrix - if: needs.otp-gen-matrix.outputs.build_status == 'failure' - steps: - - name: Create GitHub Issue - run: | - echo "Creating GitHub issue for failed OTP build..." - curl -L -X POST \ - -H "Accept: application/vnd.github+json" \ - -H "Authorization: Bearer ${{ secrets.GITHUB_TOKEN }}" \ - -H "X-GitHub-Api-Version: 2022-11-28" \ - https://api.github.com/repos/Fantarina/grisp_cryptoauth/issues \ - -d "$(jq -n \ - --arg title "Failed package build for OTP-${{ needs.otp-gen-matrix.outputs.otp }}" \ - --arg body "Prebuilt package build failed:\n OTP Version: ${{ needs.otp-gen-matrix.outputs.otp }}\n Applications: [${{ needs.otp-gen-matrix.outputs.deps }}]\nWorkflow Run: https://github.com/grisp_cryptoauth/grisp/actions/runs/${{ github.run_id }}" \ - --argjson labels '["otp-build"]' \ - '{title: $title, body: $body, labels: $labels}')" - upload_artifacts: runs-on: ubuntu-latest needs: [define-matrix, otp-gen-matrix] @@ -122,21 +103,20 @@ jobs: matrix: otp: ["${{ fromJson(needs.define-matrix.outputs.otp-version) }}"] deps: ['grisp, grisp_cryptoauth'] - rebar3: ['3'] + rebar3: ['3.24.0'] outputs: artifacts: ${{ steps.matrix-def.outputs.otp-version }} + upload-output: ${{ steps.set-upload-output.outputs.upload-output }} steps: - uses: erlef/setup-beam@v1 with: otp-version: ${{matrix.otp}} rebar3-version: ${{ matrix.rebar3 }} - - name: Install GRiSP Plugin run: | mkdir -p ${HOME}/.config/rebar3/ echo "{plugins, [rebar3_hex,rebar3_grisp]}." > ${HOME}/.config/rebar3/rebar.config rebar3 - - name: Generate Dummy Project run: | rebar3 grisp configure -i false --otp_version="=${{matrix.otp}}" --dest="_deploy" @@ -148,8 +128,7 @@ jobs: s/{deps, \[\n[[:space:]]*grisp\n\]}.*/{deps, [${{matrix.deps}}]}./ }' robot/rebar.config cat robot/rebar.config - - - name: Get Package Name + - name: Build Package id: deploy working-directory: robot run: | @@ -159,14 +138,23 @@ jobs: PKG_HASH=$(grep -o '<<"[0-9a-f]\{64\}">>' _grisp/report/hash.txt | tail -n 1 | sed 's/[<">]//g') PKG_NAME=grisp_otp_build_${{matrix.otp}}_${PKG_HASH}.tar.gz echo "pkg_name=$PKG_NAME" >> $GITHUB_ENV - - name: Download Package Artifact id: artifact-download uses: actions/download-artifact@v4 + continue-on-error: true with: name: ${{env.pkg_name}} - + - name: Download from S3 if artifact not found + id: download-s3 + if: steps.artifact-download.outcome == 'failure' + env: + AWS_ACCESS_KEY_ID: ${{ secrets.GRISP_S3_ACCESS_KEY_ID }} + AWS_SECRET_ACCESS_KEY: ${{ secrets.GRISP_S3_SECRET_ACCESS_KEY }} + AWS_DEFAULT_REGION: "us-east-1" + run: | + aws s3 cp s3://grisp/platforms/grisp2/otp/${{env.pkg_name}} . - name: Upload to S3 + id: upload-s3 if: ${{ steps.artifact-download.outcome == 'success' }} env: AWS_ACCESS_KEY_ID: ${{ secrets.GRISP_S3_ACCESS_KEY_ID }} @@ -176,13 +164,7 @@ jobs: aws s3 cp --acl public-read --storage-class INTELLIGENT_TIERING \ ${{env.pkg_name}} \ s3://grisp/platforms/grisp2/otp/ - - slack-message: - runs-on: ubuntu-latest - needs: [define-matrix, otp-gen-matrix, upload_artifacts] - steps: - - name: Notify Slack channels through Zapier Webhook - run: | - curl ${{secrets.ZAPIER_GRISP_OTP_PACKAGE_WEBHOOK}} \ - -H "Content-Type: application/json; charset=utf-8" \ - -d '[{"otp":${{ needs.define-matrix.outputs.otp-version }}}]' + - name: Set S3 upload output + if: ${{ steps.upload-s3.outcome == 'success' }} + run: echo "upload-output=true" >> $GITHUB_OUTPUT + id: set-upload-output \ No newline at end of file diff --git a/.github/workflows/token b/.github/workflows/token new file mode 100644 index 0000000..e69de29 From 39e0147e28ecdff198bc5fb0c587562b81171ba6 Mon Sep 17 00:00:00 2001 From: davidra Date: Wed, 28 May 2025 10:55:03 +0200 Subject: [PATCH 5/7] FIx: wrong repo for issue creation --- .github/workflows/otp-package.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/otp-package.yaml b/.github/workflows/otp-package.yaml index 8bf9322..aea0f32 100644 --- a/.github/workflows/otp-package.yaml +++ b/.github/workflows/otp-package.yaml @@ -80,7 +80,7 @@ jobs: -H "Accept: application/vnd.github+json" \ -H "Authorization: Bearer ${{ secrets.GITHUB_TOKEN }}" \ -H "X-GitHub-Api-Version: 2022-11-28" \ - https://api.github.com/repos/grisp/grisp/issues \ + https://api.github.com/repos/Fantarina/grisp_cryptoauth/issues \ -d '{"title":"Failed package build for OTP-${{matrix.otp}}","body":"Prebuilt package build failed:\n OTP Version: ${{matrix.otp}}\n Applications: [${{matrix.deps}}]\nWorkflow Run: https://github.com/grisp/grisp/actions/runs/${{github.run_id}}", "labels":["otp-build"]}' exit 1 - name: Deploy test From bf5bba846680d39f571def16c6d624790bb8da46 Mon Sep 17 00:00:00 2001 From: davidra Date: Wed, 28 May 2025 11:01:23 +0200 Subject: [PATCH 6/7] Put back original repo --- .github/workflows/on_grispcryptoauth_release.yaml | 2 +- .github/workflows/otp-package.yaml | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/on_grispcryptoauth_release.yaml b/.github/workflows/on_grispcryptoauth_release.yaml index e297bcc..6d30e63 100644 --- a/.github/workflows/on_grispcryptoauth_release.yaml +++ b/.github/workflows/on_grispcryptoauth_release.yaml @@ -29,6 +29,6 @@ jobs: curl -L -X POST \ -H "Authorization: Bearer ${{ secrets.GITHUB_TOKEN }}" \ -H "Accept: application/vnd.github.everest-preview+json" \ - https://api.github.com/repos/Fantarina/grisp_cryptoauth/dispatches \ + https://api.github.com/repos/grisp/grisp_cryptoauth/dispatches \ -d "{\"event_type\":\"grispcryptoauth-release\",\"client_payload\":{\"otp\":\"\\\\\\\"${OTP_VER}\\\\\\\"\",\"unit\":false,\"integration\":true}}" done \ No newline at end of file diff --git a/.github/workflows/otp-package.yaml b/.github/workflows/otp-package.yaml index aea0f32..bfd0f79 100644 --- a/.github/workflows/otp-package.yaml +++ b/.github/workflows/otp-package.yaml @@ -80,8 +80,8 @@ jobs: -H "Accept: application/vnd.github+json" \ -H "Authorization: Bearer ${{ secrets.GITHUB_TOKEN }}" \ -H "X-GitHub-Api-Version: 2022-11-28" \ - https://api.github.com/repos/Fantarina/grisp_cryptoauth/issues \ - -d '{"title":"Failed package build for OTP-${{matrix.otp}}","body":"Prebuilt package build failed:\n OTP Version: ${{matrix.otp}}\n Applications: [${{matrix.deps}}]\nWorkflow Run: https://github.com/grisp/grisp/actions/runs/${{github.run_id}}", "labels":["otp-build"]}' + https://api.github.com/repos/grisp/grisp_cryptoauth/issues \ + -d '{"title":"Failed package build for OTP-${{matrix.otp}}","body":"Prebuilt package build failed:\n OTP Version: ${{matrix.otp}}\n Applications: [${{matrix.deps}}]\nWorkflow Run: https://github.com/grisp/grisp_cryptoauth/actions/runs/${{github.run_id}}", "labels":["otp-build"]}' exit 1 - name: Deploy test if: ${{ steps.build.outcome == 'success' }} From f3bedc65420bc01cbfe54f2393e05cfdd1fd0321 Mon Sep 17 00:00:00 2001 From: davidra Date: Wed, 28 May 2025 11:07:32 +0200 Subject: [PATCH 7/7] Removed token file --- .github/workflows/token | 0 1 file changed, 0 insertions(+), 0 deletions(-) delete mode 100644 .github/workflows/token diff --git a/.github/workflows/token b/.github/workflows/token deleted file mode 100644 index e69de29..0000000