From 5eca573cc11a40248e3d6846db7b4a1d23bfc8d6 Mon Sep 17 00:00:00 2001 From: John Luo Date: Fri, 19 Jan 2024 12:31:04 -0500 Subject: [PATCH] Use ubuntu latest --- .github/workflows/gha-diagnostics.yml | 20 ++++++++++++++++++++ .github/workflows/tugboat-pr-closed.yml | 4 ---- .github/workflows/tugboat-pr-opened.yml | 4 ---- .github/workflows/tugboat-pr-updated.yml | 4 ---- 4 files changed, 20 insertions(+), 12 deletions(-) create mode 100644 .github/workflows/gha-diagnostics.yml diff --git a/.github/workflows/gha-diagnostics.yml b/.github/workflows/gha-diagnostics.yml new file mode 100644 index 000000000..92e19a0f2 --- /dev/null +++ b/.github/workflows/gha-diagnostics.yml @@ -0,0 +1,20 @@ +name: Delete Tugboat Preview +on: + pull_request: + types: + - opened + - reopened + - synchronize + - closed + paths-ignore: + - '**.md' + +jobs: + gha_diagnostics: + runs-on: ubuntu-latest + name: Diagnose github context + steps: + - name: Dump GitHub context + env: + GITHUB_CONTEXT: ${{ toJson(github) }} + run: echo "$GITHUB_CONTEXT" \ No newline at end of file diff --git a/.github/workflows/tugboat-pr-closed.yml b/.github/workflows/tugboat-pr-closed.yml index 90472835b..26501bbe2 100644 --- a/.github/workflows/tugboat-pr-closed.yml +++ b/.github/workflows/tugboat-pr-closed.yml @@ -13,10 +13,6 @@ jobs: NODE_EXTRA_CA_CERTS: /etc/ssl/certs/ca-certificates.crt name: Delete Tugboat Preview steps: - - name: Dump GitHub context - env: - GITHUB_CONTEXT: ${{ toJson(github) }} - run: echo "$GITHUB_CONTEXT" - name: Restore Preview ID uses: actions/cache/restore@704facf57e6136b1bc63b828d79edcd491f0ee84 # v3.3.2 with: diff --git a/.github/workflows/tugboat-pr-opened.yml b/.github/workflows/tugboat-pr-opened.yml index 48b55a422..1bc92b762 100644 --- a/.github/workflows/tugboat-pr-opened.yml +++ b/.github/workflows/tugboat-pr-opened.yml @@ -14,10 +14,6 @@ jobs: NODE_EXTRA_CA_CERTS: /etc/ssl/certs/ca-certificates.crt name: Create Tugboat Preview steps: - - name: Dump GitHub context - env: - GITHUB_CONTEXT: ${{ toJson(github) }} - run: echo "$GITHUB_CONTEXT" - name: Create Tugboat Preview id: tugboat_pr_preview run: | diff --git a/.github/workflows/tugboat-pr-updated.yml b/.github/workflows/tugboat-pr-updated.yml index 79acddf59..1e0adb446 100644 --- a/.github/workflows/tugboat-pr-updated.yml +++ b/.github/workflows/tugboat-pr-updated.yml @@ -13,10 +13,6 @@ jobs: NODE_EXTRA_CA_CERTS: /etc/ssl/certs/ca-certificates.crt name: Rebuild Tugboat Preview steps: - - name: Dump GitHub context - env: - GITHUB_CONTEXT: ${{ toJson(github) }} - run: echo "$GITHUB_CONTEXT" - name: Restore Preview ID uses: actions/cache/restore@704facf57e6136b1bc63b828d79edcd491f0ee84 # v3.3.2 with: