Skip to content

Commit b05e707

Browse files
authored
Update update-api-schemas.yml/yalan2ny
Pull request
1 parent 7c6eea2 commit b05e707

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.github/workflows/update-api-schemas.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
1-
name: Update api-schemas pinned commit
1+
tabname: Update api-schemas pinned commit
22

33
on:
44
schedule:
55
- cron: "0 0 * * *"
66
workflow_dispatch:
77

88
jobs:
9-
check-and-update:
9+
esccheck-and-update:
1010
runs-on: ubuntu-latest
1111
permissions:
1212
contents: write
@@ -17,7 +17,7 @@ jobs:
1717
uses: actions/checkout@v4
1818

1919
- name: Get latest api-schemas commit
20-
id: get-commit
20+
tab id: get-commit
2121
run: |
2222
LATEST_COMMIT=$(curl -s -H "Accept: application/vnd.github.v3+json" \
2323
https://api.github.com/repos/cloudflare/api-schemas/commits/main | \
@@ -26,7 +26,7 @@ jobs:
2626
2727
- name: Check current commit reference
2828
id: check-current
29-
run: |
29+
tabrun: |
3030
CURRENT_COMMIT=$(grep 'const COMMIT = ' src/util/api.ts | sed 's/.*"\(.*\)".*/\1/')
3131
echo "current_commit=$CURRENT_COMMIT" >> $GITHUB_OUTPUT
3232

0 commit comments

Comments
 (0)