Skip to content

Commit b32d3fe

Browse files
committed
wording
1 parent 2e83ea5 commit b32d3fe

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

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

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
1-
name: Update API Schemas Commit
1+
name: Update api-schemas pinned commit
22

33
on:
44
schedule:
5-
- cron: '0 0 * * *' # Run daily at midnight UTC
6-
workflow_dispatch: # Allow manual triggering
5+
- cron: "0 0 * * *"
6+
workflow_dispatch:
77

88
jobs:
99
check-and-update:
@@ -38,19 +38,19 @@ jobs:
3838
git config --global user.email 'github-actions[bot]@users.noreply.github.com'
3939
BRANCH_NAME="update-api-schemas-$(date +%Y%m%d-%H%M%S)"
4040
git checkout -b $BRANCH_NAME
41-
41+
4242
# Update the commit reference
4343
NEW_COMMIT="${{ steps.get-commit.outputs.latest_commit }}"
4444
sed -i "s/const COMMIT = \".*\"/const COMMIT = \"$NEW_COMMIT\"/" src/util/api.ts
45-
45+
4646
# Commit and push changes
4747
git add src/util/api.ts
48-
git commit -m "chore: update api-schemas commit to $NEW_COMMIT"
48+
git commit -m "[Docs Site] Update pinned api-schemas commit to $NEW_COMMIT"
4949
git push origin $BRANCH_NAME
50-
50+
5151
# Create pull request
5252
gh pr create \
53-
--title "chore: update api-schemas commit reference" \
53+
--title "[Docs Site] Update pinned api-schemas commit" \
5454
--body "This PR updates the api-schemas commit reference to the latest version ($NEW_COMMIT)." \
5555
--base main \
5656
--head $BRANCH_NAME

0 commit comments

Comments
 (0)