From 8e133fec33723e9efa4f64749688a7861660e607 Mon Sep 17 00:00:00 2001 From: Yaroslav Kukharuk Date: Mon, 30 Jun 2025 19:04:58 +0800 Subject: [PATCH 1/3] . --- .github/workflows/test-action.yml | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/.github/workflows/test-action.yml b/.github/workflows/test-action.yml index eaa6500..3521d04 100644 --- a/.github/workflows/test-action.yml +++ b/.github/workflows/test-action.yml @@ -12,17 +12,12 @@ on: jobs: build: runs-on: ubuntu-latest - name: "Run sync of ${{ matrix.network }} testnet" steps: - name: Show GitHub context env: GITHUB_CONTEXT: ${{ toJson(github) }} run: echo "$GITHUB_CONTEXT" shell: bash - - name: Log stuff - run: | - echo "Network: ${{ matrix.network }}" - echo "Checkpoint sync URL: ${{ matrix.checkpoint-sync-url }}" - name: Get Job ID id: get_job_id @@ -38,10 +33,3 @@ jobs: echo "github: &{{ github }}" # if: github.ref == 'refs/heads/main' # && (github.event_name == 'push' || (github.event_name == 'pull_request_target' && github.event.action == 'labeled' && github.event.label.name == 'cortex')) - - - name: Use Job ID - run: | - JOB_ID=${{ steps.get_job_id.outputs.JOB_ID }} - JOB_URL="https://github.com/${{ github.repository }}/actions/runs/${{ github.run_id }}/jobs/$JOB_ID" - echo "Job URL: $JOB_URL" - # Use $JOB_URL in your notification From 6837240dadf92c5f8db53ce11af943eb89362ae2 Mon Sep 17 00:00:00 2001 From: Yaroslav Kukharuk Date: Mon, 30 Jun 2025 19:09:11 +0800 Subject: [PATCH 2/3] . --- .github/workflows/test-action.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/test-action.yml b/.github/workflows/test-action.yml index 3521d04..2f5e4bc 100644 --- a/.github/workflows/test-action.yml +++ b/.github/workflows/test-action.yml @@ -1,6 +1,7 @@ name: Action on: pull_request: + types: [opened, synchronize, reopened, labeled] branches: - master push: From f5a757f4cf700d6cce07817fb561fc6153802ec2 Mon Sep 17 00:00:00 2001 From: Yaroslav Kukharuk Date: Mon, 30 Jun 2025 19:10:31 +0800 Subject: [PATCH 3/3] . --- .github/workflows/test-action.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/test-action.yml b/.github/workflows/test-action.yml index 2f5e4bc..bde14df 100644 --- a/.github/workflows/test-action.yml +++ b/.github/workflows/test-action.yml @@ -30,7 +30,7 @@ jobs: - name: test run: | - echo "ref: &{{github.ref}}" - echo "github: &{{ github }}" + echo "ref: ${{github.ref}}" + echo "github: ${{ github }}" # if: github.ref == 'refs/heads/main' # && (github.event_name == 'push' || (github.event_name == 'pull_request_target' && github.event.action == 'labeled' && github.event.label.name == 'cortex'))