You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# **What it does**: On 'Update OpenAPI Descriptions' PRs opened by github-openapi-bot, this workflow runs the script to generate the decorated OpenAPI files and commit them to the PR.
4
-
# **Why we have it**: So we can consume OpenAPI changes, decorate them, and publish them to the REST API docs.
3
+
# **What it does**: Once a day, this workflow syncs the dereferenced files from github/rest-api-description and creates a pull request if there are updates to any of the static files we generate from the OpenAPI.
4
+
# **Why we have it**: So we can consume OpenAPI changes.
5
5
# **Who does it impact**: Anyone making OpenAPI changes in `github/github`, and wanting to get them published on the docs site.
6
6
7
7
on:
8
-
pull_request:
9
-
# This prevents the workflow from running continuously. We only want
10
-
# this workflow to run once on the initial open.
11
-
types:
12
-
- opened
8
+
workflow_dispatch:
9
+
schedule:
10
+
- cron: '20 16 * * *'# Run every day at 16:20 UTC / 8:20 PST
'👋 humans. This PR updates the OpenAPI description with the latest changes. (Synced from github/rest-api-description@${{ steps.rest-api-description.outputs.HEAD_SHA }})
93
84
94
-
env:
95
-
# Disable pre-commit hooks; they don't play nicely with add-and-commit
96
-
HUSKY: '0'
85
+
If CI does not pass or other problems arise, contact #docs-engineering on slack.'
0 commit comments