From df87201d8604a5a7f17e0c712fb5e84974cb0033 Mon Sep 17 00:00:00 2001 From: chrismaz11 Date: Tue, 17 Mar 2026 22:59:57 -0500 Subject: [PATCH] fix(ci): remove stale demo workflow drift --- .github/workflows/demo.yml | 4 +- .github/workflows/trustsignal-demo.yml | 58 -------------------------- 2 files changed, 2 insertions(+), 60 deletions(-) delete mode 100644 .github/workflows/trustsignal-demo.yml diff --git a/.github/workflows/demo.yml b/.github/workflows/demo.yml index 62e9e8b..a615ccd 100644 --- a/.github/workflows/demo.yml +++ b/.github/workflows/demo.yml @@ -40,7 +40,7 @@ jobs: echo "" echo " - name: Verify artifact with TrustSignal" echo " id: trustsignal" - echo " uses: TrustSignal-dev/TrustSignal-Verify-Artifact@v0.1.0" + echo " uses: TrustSignal-dev/TrustSignal-Verify-Artifact@v0.2.0" echo " with:" echo " api_base_url: https://api.trustsignal.dev" echo " api_key: \${{ secrets.TRUSTSIGNAL_API_KEY }}" @@ -72,7 +72,7 @@ jobs: echo "" echo " - name: Verify known digest with TrustSignal" echo " id: trustsignal" - echo " uses: TrustSignal-dev/TrustSignal-Verify-Artifact@v0.1.0" + echo " uses: TrustSignal-dev/TrustSignal-Verify-Artifact@v0.2.0" echo " with:" echo " api_base_url: https://api.trustsignal.dev" echo " api_key: \${{ secrets.TRUSTSIGNAL_API_KEY }}" diff --git a/.github/workflows/trustsignal-demo.yml b/.github/workflows/trustsignal-demo.yml deleted file mode 100644 index d97c9f1..0000000 --- a/.github/workflows/trustsignal-demo.yml +++ /dev/null @@ -1,58 +0,0 @@ -name: TrustSignal Demo - -# Trigger manually from the Actions tab, or by pushing to the demo branch. -on: - workflow_dispatch: - push: - branches: - - demo/trustsignal-action - -jobs: - trustsignal-demo: - name: TrustSignal Verify Artifact — Demo - runs-on: ubuntu-latest - permissions: - contents: read - - steps: - - name: Checkout repository - uses: actions/checkout@v4 - - - name: Create demo artifact - run: | - mkdir -p dist - printf 'TrustSignal demo artifact\nrepo: %s\nrun: %s\n' \ - "$GITHUB_REPOSITORY" "$GITHUB_RUN_ID" > dist/demo-artifact.txt - echo "Artifact written to dist/demo-artifact.txt" - cat dist/demo-artifact.txt - - - name: Print artifact SHA-256 - run: | - echo "────────────────────────────────────────────────────────────" - echo " artifact : dist/demo-artifact.txt" - echo " SHA-256 : $(sha256sum dist/demo-artifact.txt | cut -d' ' -f1)" - echo "────────────────────────────────────────────────────────────" - - - name: Verify artifact with TrustSignal - id: trustsignal - uses: TrustSignal-dev/TrustSignal-Verify-Artifact@v0.1.0 - with: - api_base_url: ${{ secrets.TRUSTSIGNAL_API_BASE_URL }} - api_key: ${{ secrets.TRUSTSIGNAL_API_KEY }} - artifact_path: dist/demo-artifact.txt - source: github-actions - fail_on_mismatch: "true" - - - name: Print verification summary - run: | - echo "────────────────────────────────────────────────────────────" - echo " TrustSignal Verification Summary" - echo "────────────────────────────────────────────────────────────" - echo " artifact path : dist/demo-artifact.txt" - echo " artifact hash : $(sha256sum dist/demo-artifact.txt | cut -d' ' -f1)" - echo " status : ${{ steps.trustsignal.outputs.status }}" - echo " verification_id : ${{ steps.trustsignal.outputs.verification_id }}" - echo " receipt_id : ${{ steps.trustsignal.outputs.receipt_id }}" - echo "────────────────────────────────────────────────────────────" - echo " TrustSignal verification completed ✓" - echo "────────────────────────────────────────────────────────────"