1
0
mirror of synced 2025-12-22 11:26:57 -05:00
Commit Graph

259 Commits

Author SHA1 Message Date
Sarah Schneider
1b5153cda1 add retrying step and add better formatting 2020-11-19 11:35:16 -05:00
Sarah Schneider
dfda276317 update formatting 2020-11-18 22:07:14 -05:00
Sarah Schneider
ac3d2bab56 update relative paths 2020-11-18 19:52:34 -05:00
Sarah Schneider
84fa4ed512 rename 2020-11-18 19:52:25 -05:00
Robert Mosolgo
7e07c1c831 Add build-changelog script, load schemas and create a diff 2020-11-18 17:08:56 -05:00
Sarah Schneider
8e1fc5415c ran script/update-readme.js 2020-11-18 17:08:07 -05:00
Sarah Schneider
32873110f8 delete old scripts and reorg GHES scripts into subdirs 2020-11-18 16:57:58 -05:00
Sarah Schneider
23e614f3cc Merge branch 'main' into few-more-archival-script-tweaks 2020-11-18 11:12:07 -05:00
James M. Greene
d402a60833 Merge branch 'main' into hidden-docs-alt 2020-11-17 17:56:25 -06:00
Jason Etcovitch
8f2b4eb450 Merge branch 'main' into repo-sync 2020-11-17 18:02:58 -05:00
Nick Schonning
b6de7c6887 chore: Convert Standard to eslint-config-standard (#1328)
* chore: Move standard to ESLint config

* fix: auto-fix ESLint indent issues

* fix: ESLint prefer-regex-literals

* fix: ESLint array-callback-return

- .filter must return a boolean value
- .map replaced with forEach when the value isn't used

* fix: ESLint no-extra-semi
2020-11-17 16:18:18 -05:00
Sarah Schneider
0762631e27 include redirects from old version paths 2020-11-17 15:18:08 -05:00
James M. Greene
909db6fcf4 Update EA cloning script to rely on the current git branch 2020-11-17 14:13:14 -06:00
Sarah Schneider
fdc6ffc574 change paths to use new version format 2020-11-17 13:12:44 -05:00
Kevin Heis
890e86cc46 Merge branch 'main' into hidden-docs-alt 2020-11-17 09:58:45 -08:00
Sarah Schneider
48413d961c fix encoding bug 2020-11-17 11:58:48 -05:00
James M. Greene
367685b166 Update symlinking script to support unlinking 2020-11-16 19:59:15 -06:00
Kevin Heis
dd02bfa007 Merge main 2020-11-16 10:07:53 -08:00
Melanie Yarbrough
971d9313a4 Add release banner script to readme (#16461)
* Add release banner script to readme

* Update script/README.md
2020-11-13 13:51:39 -05:00
Sarah Schneider
712003941f Release candidate banner script (#16427)
* remove middleware that sets notification flags

* move all notification handling into includes/header-notification.html

* update tests

* add release candidate header notification

* add release candidate banner text

* new script to add or remove a release candidate banner

* Update script/release-banner.js

Co-authored-by: Matt Pollard <mattpollard@users.noreply.github.com>

* clarify error message

* empty commit to rerun CI

Co-authored-by: Matt Pollard <mattpollard@users.noreply.github.com>
2020-11-13 12:12:53 -05:00
James M. Greene
af3a7f37bf Remove unused require in script 2020-11-13 10:30:43 -06:00
Sarah Schneider
39bad0ec87 Script to update v3 and v4 links (#16434)
* add script

* add README to content-migrations subdir
2020-11-12 13:48:17 -05:00
James M. Greene
fc917569b4 Add script to symlink to local early-access repo 2020-11-11 00:58:16 -06:00
James M. Greene
050ff6dcbc Update for early-access under assets/images/ 2020-11-10 16:46:10 -06:00
James M. Greene
5b6d704db7 Rename clone-early-access script 2020-11-10 16:01:35 -06:00
Sarah Schneider
ce33df1cd3 New broken link report (#16412)
* add linkinator npm package

* add new script that uses Linkinator

* reorg the excluded links file and update comments

* replace blc artifacts with linkinator artifacts in .gitignore

* update the scheduled workflow to use the new script

* dismantle BLC scripts

* add workflow_dispatch event so we can test this manually

* npm uninstall broken-link-checker

* use different exit codes depending on whether broken links are found
2020-11-10 15:28:44 -05:00
James M. Greene
81fda0e207 Cloning script refinements and future planning 2020-11-09 14:38:41 -06:00
James M. Greene
e1f3f6457e Merge branch 'main' into hidden-docs-alt 2020-11-09 13:09:52 -06:00
Sarah Schneider
cf82c63698 Script to create webhook payload files for a new version (#16393)
* new script to create webhook payload files for new version

* version does not have to be a GHES version

* remove newline
2020-11-06 16:15:05 -05:00
Sarah Schneider
26e00904ea add some error handling around common issues (#16387) 2020-11-06 13:51:25 -05:00
James M. Greene
ed3baeb5dc Update to use new github/docs-early-access repo 2020-11-05 11:56:27 -06:00
James M. Greene
105bf42f87 Try removing the x-access-token username from the Git URL 2020-11-03 11:27:20 -06:00
James M. Greene
d00f43758c Remove debugging statements 2020-11-03 10:59:08 -06:00
James M. Greene
1ea1396b62 Split debugging statement 2020-11-03 10:54:30 -06:00
James M. Greene
3e097158a9 Add debugging log to cloning script 2020-11-03 10:49:18 -06:00
James M. Greene
3008ad1b70 Update all heroku-prebuild refs to heroku-postbuild 2020-11-03 10:30:11 -06:00
James M. Greene
9720574a1b Add a username to the Git repo string for more completeness 2020-11-03 10:08:14 -06:00
James M. Greene
521d11b6a4 Merge branch 'main' into hidden-docs-alt 2020-11-02 18:03:48 -06:00
Laura Coursen
a3e1733aa1 GitHub AE (GHAE) (#16090) 2020-11-02 15:12:44 -06:00
Sarah Schneider
63e3f917c6 Merge branch 'main' of https://github.com/github/docs-internal into hidden-docs-alt 2020-11-02 14:21:19 -05:00
Lucas Costi
4936dacc7f Update openapi preview script to clean tmp dir (#16232) 2020-10-27 12:24:19 -07:00
Sarah Schneider
df545e8de8 update var refs in script 2020-10-26 09:52:51 -04:00
Sarah Schneider
ea9b161d3f change GITHUB_DOCUBOT_REPO_PAT to DOCUBOT_REPO_PAT 2020-10-23 14:00:02 -04:00
Sarah Schneider
16f9fc7b73 use the new yml config file for setting the EA branch 2020-10-23 12:23:47 -04:00
Sarah Schneider
896db3d788 comment out branch check for now 2020-10-23 10:29:20 -04:00
Sarah Schneider
129641c359 add separate clone script to be run as heroku-prebuild script or locally by docs writers 2020-10-22 11:20:09 -04:00
Zeke Sikelianos
5f7243c3ff improve script for resetting translated files (#16099)
* improve script for resetting translated files

* update script/README.md

Co-authored-by: Chiedo John <2156688+chiedo@users.noreply.github.com>
2020-10-16 15:16:56 -04:00
Jason Etcovitch
efed031ea4 Add copy button to code blocks (#16052)
* Add deps

* Setup copy events

* Updoot

* Tweak styling

* Do a lil' proof-of-concept

* Updoot @github-docs/render-content

* Use SCSS variables for custom styles

* Adjust docs

* Ignore clipboard in check-deps

* Add copy annotation to quickstart workflow sample

Co-authored-by: Cynthia Rich <crichID@users.noreply.github.com>
2020-10-16 10:55:35 -04:00
Sarah Schneider
da60aa51e1 Support enterpriseServerVersions in Liquid statements (#16058)
* remove outdated and redundant context.enterpriseVersions and add new context.enterpriseServerVersions

* update references from context.enterpriseVersions -> context.enterpriseServerReleases

* add test

* also test oldest supported enterprise version in addition to the latest

* Script to update not-free-pro-team conditionals (#16060)

* script to update not-free-pro-team conditionals

* change string to regex so we can do replace all

* remove stray test.only

* Update middleware/context.js

Co-authored-by: James M. Greene <JamesMGreene@github.com>

* Update tests/unit/page.js

Co-authored-by: James M. Greene <JamesMGreene@github.com>

* Update tests/unit/page.js

Co-authored-by: James M. Greene <JamesMGreene@github.com>

* Update tests/fixtures/page-versioned-for-all-enterprise-releases.md

Co-authored-by: James M. Greene <JamesMGreene@github.com>

Co-authored-by: James M. Greene <JamesMGreene@github.com>
2020-10-15 16:20:41 -04:00
Lucas Costi
e33eb21fe6 Update OpenAPI script bundle command (#16044) 2020-10-15 16:17:06 +10:00