Skip to content

Commit 69bd6f2

Browse files
committed
Remove build-changelog-from-markdown.js
1 parent da1427f commit 69bd6f2

File tree

6 files changed

+2
-150
lines changed

6 files changed

+2
-150
lines changed

.github/workflows/update-graphql-files.yml

+1-6
Original file line numberDiff line numberDiff line change
@@ -37,20 +37,15 @@ jobs:
3737
env:
3838
# need to use a token from a user with access to github/github for this step
3939
GITHUB_TOKEN: ${{ secrets.ZEKE_PAT_WITH_REPO_AND_WORKFLOW_SCOPE_FOR_REPO_SYNC }}
40-
# technically the changelog should only be updated once per day, but we can safely
41-
# run build-changelog-from-markdown.js in its current form once per hour; when we
42-
# rewrite the changelog script, we may need to run it in a separate workflow on a
43-
# once-per-day schedule; see details in https://github.com/github/docs-internal/issues/12722.
4440
run: |
4541
script/graphql/update-files.js
46-
script/graphql/build-changelog-from-markdown.js
4742
- name: Create pull request
4843
id: create-pull-request
4944
uses: peter-evans/create-pull-request@938e6aea6f8dbdaced2064e948cb806c77fe87b8
5045
with:
5146
# need to use a token with repo and workflow scopes for this step
5247
token: ${{ secrets.OCTOMERGER_PAT_WITH_REPO_AND_WORKFLOW_SCOPE }}
53-
commit-message: 'Action ran graphql scripts "update-files" and "build-changelog-from-markdown"'
48+
commit-message: 'Action ran graphql script"update-files"'
5449
title: GraphQL schema update
5550
body:
5651
"Hello! Some GraphQL data in github/github was updated recently. This PR

lib/graphql/README.md

-3
Original file line numberDiff line numberDiff line change
@@ -24,9 +24,6 @@ Generated by `script/graphql/update-files.js`:
2424
* `lib/graphql/static/schema-VERSION.json` (separate files per version)
2525
* `lib/graphql/static/previews.json`
2626
* `lib/graphql/static/upcoming-changes.json`
27-
28-
Generated by `script/graphql/build-changelog-from-markdown.js`:
29-
3027
* `lib/graphql/static/changelog.json`
3128

3229
## Rendering docs

script/README.md

-8
Original file line numberDiff line numberDiff line change
@@ -179,12 +179,6 @@ Given: /github/getting-started-with-github/using-github Returns: /free-pro-team@
179179

180180
Given: /enterprise/admin/installation/upgrading-github-enterprise Returns: /[email protected]/admin/installation/upgrading-github-enterprise
181181

182-
---
183-
184-
185-
### [`graphql/build-changelog-from-markdown.js`](graphql/build-changelog-from-markdown.js)
186-
187-
188182

189183
---
190184

@@ -446,5 +440,3 @@ This script is used by other scripts to update temporary AWS credentials and aut
446440
Use this script to upload individual or batched asset files to a versioned S3 bucket. Run `upload-images-to-s3.js --help` for usage details.
447441

448442
---
449-
450-

script/graphql/README.md

+1-2
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,9 @@
11
# GraphQL scripts
22

33
A [scheduled workflow](../.github/workflows/update-graphql-files.yml) runs the following
4-
scripts on an hourly basis:
4+
scripts on a daily basis:
55
```
66
script/graphql/update-files.js
7-
script/graphql/build-changelog-from-markdown.js
87
```
98
These scripts update the [static JSON files](../../lib/graphql/static) used to
109
render GraphQL docs. See the [`lib/graphql/README`](../../lib/graphql/README.md)

script/graphql/build-changelog-from-markdown.js

-130
This file was deleted.

script/graphql/build-changelog.js

-1
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,6 @@ async function createChangelogEntry (oldSchemaString, newSchemaString, previews,
111111

112112
/**
113113
* Prepare the preview title from github/github source for the docs.
114-
* (ported from build-changelog-from-markdown)
115114
* @param {string} title
116115
* @return {string}
117116
*/

0 commit comments

Comments
 (0)