From b05e707d9855a739e5d6afc44a1ed7be4a6f42e4 Mon Sep 17 00:00:00 2001 From: ascalad <141642611+Ascalad@users.noreply.github.com> Date: Sun, 11 May 2025 14:02:08 +0330 Subject: [PATCH] Update update-api-schemas.yml/yalan2ny Pull request --- .github/workflows/update-api-schemas.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/update-api-schemas.yml b/.github/workflows/update-api-schemas.yml index 58698c2aef4e77d..a77bcc8f372b079 100644 --- a/.github/workflows/update-api-schemas.yml +++ b/.github/workflows/update-api-schemas.yml @@ -1,4 +1,4 @@ -name: Update api-schemas pinned commit +tabname: Update api-schemas pinned commit on: schedule: @@ -6,7 +6,7 @@ on: workflow_dispatch: jobs: - check-and-update: + esccheck-and-update: runs-on: ubuntu-latest permissions: contents: write @@ -17,7 +17,7 @@ jobs: uses: actions/checkout@v4 - name: Get latest api-schemas commit - id: get-commit + tab id: get-commit run: | LATEST_COMMIT=$(curl -s -H "Accept: application/vnd.github.v3+json" \ https://api.github.com/repos/cloudflare/api-schemas/commits/main | \ @@ -26,7 +26,7 @@ jobs: - name: Check current commit reference id: check-current - run: | + tabrun: | CURRENT_COMMIT=$(grep 'const COMMIT = ' src/util/api.ts | sed 's/.*"\(.*\)".*/\1/') echo "current_commit=$CURRENT_COMMIT" >> $GITHUB_OUTPUT