1
0
mirror of synced 2026-01-01 09:04:46 -05:00
Commit Graph

55 Commits

Author SHA1 Message Date
Robert Sese
6914be3e13 Make script executable (#23235) 2021-11-30 19:50:40 +00:00
Grace Park
0ee54e6284 make executable (#23232) 2021-11-30 19:22:20 +00:00
Grace Park
029dfd32a2 Migrate Prod build deploy to actions-script (#23228)
* revert to regular runner and migrate js to actions-scripts

* add prod deploy migration

* update .js

* add run_id
2021-11-30 19:02:31 +00:00
Grace Park
b77b195a6c Migrate Content Changes Table Workflow github-script code (#23198)
* moving content changes table to actions-script

* rename js file

* using context for neater code
2021-11-30 18:12:17 +00:00
Robert Sese
23ca5459dd Move from github-script to standalone script for staging undeploy (#23190)
* Move from github-script to standalone script for staging undeploy

* Add necessary env variables
2021-11-30 01:26:26 +00:00
Rachael Sewell
d6e56f369f github -> octokit (#23188) 2021-11-29 14:55:24 -08:00
Rachael Sewell
fce7e3cbb9 add run id env var (#23187) 2021-11-29 14:44:34 -08:00
Peter Bengtsson
224194b6d3 Migrate from actionsgithub script to own scripts staging deploy (#23184)
* migrate from actions/github-script to own scripts (staging deploy)

* make it executable

* remove need to --no-save install 'esm'

* don't use self-hosted runner so we get latest OS (2.285.0)

* remove pointless try/catch
2021-11-29 22:19:41 +00:00
Matt Pollard
c0cacb8004 Use "Contributor" (#23146) 2021-11-26 14:00:01 +01:00
Matt Pollard
bda92e7077 Update name of "Author" field in script that adds pull requests to review project (#23145) 2021-11-26 13:46:20 +01:00
Kevin Heis
5b1ac53379 A few things that Prettier seemed to miss (#23005) 2021-11-19 18:32:20 +00:00
Rachael Sewell
580c38b56a use repo variable and checkout repo in workflow (#22994) 2021-11-19 17:54:45 +00:00
Rachael Sewell
ca614134cb Simple merge queue (#22992) 2021-11-18 20:41:08 -08:00
Rachael Sewell
16cabecb78 fix syntax error in workflow (#22984) 2021-11-18 14:43:36 -08:00
Rachael Sewell
0cbf48b6aa replace context with env value (#22978) 2021-11-18 14:22:02 -08:00
Rachael Sewell
5b8cb34e4b remove old automerge method (#22941) 2021-11-18 09:47:46 -08:00
Lucas Costi
bf9963f9da Update engineering GHES deperecation steps (#22391) 2021-10-25 19:36:04 +00:00
Kevin Heis
967276b326 Update deprecation-issue.md (#22326) 2021-10-20 21:53:33 +00:00
Sarah Edwards
52b035f637 Strip all non-alphanumeric characters from mutation ID (#22214) 2021-10-15 22:31:02 +00:00
Rachael Sewell
970c16e1c5 Bump priority and add batch label so we can plan for deprecations (#22139) 2021-10-12 19:57:54 +00:00
Sarah Edwards
4c95de7b4b works if contributor has no issues or PRs in docs repo (#21937)
Co-authored-by: James M. Greene <JamesMGreene@github.com>
2021-10-06 22:09:04 +00:00
Sarah Edwards
4eb672aca4 fix sizes (#21859) 2021-10-01 20:05:15 +00:00
Sarah Edwards
f2347b7192 Adjust due date and xs size for function to add items to review board (#21846) 2021-10-01 08:55:23 -07:00
Ramya Parimi
e12d988c76 Automate triaging to content review board on adding waiting for review label (#21825)
* os-ready-for-review

* include grapqhl issue

* populate size, feature, first-time contributor (#21810)

* turnaround -> 3 & 2

* Update .github/workflows/os-ready-for-review.yml

Co-authored-by: Sarah Edwards <skedwards88@github.com>

* Update .github/workflows/os-ready-for-review.yml

Co-authored-by: Sarah Edwards <skedwards88@github.com>

* Update .github/workflows/os-ready-for-review.yml

Co-authored-by: Sarah Edwards <skedwards88@github.com>

* Update .github/workflows/os-ready-for-review.yml

Co-authored-by: Sarah Edwards <skedwards88@github.com>

* Update .github/workflows/os-ready-for-review.yml

Co-authored-by: Sarah Edwards <skedwards88@github.com>

* prettier

Co-authored-by: skedwards88 <skedwards88@github.com>
2021-10-01 06:26:02 -05:00
Lucas Costi
a250849924 Update GHES release issue template (#21552)
Co-authored-by: Felicity Chapman <felicitymay@github.com>
2021-09-21 01:54:21 +00:00
Rachael Sewell
a9c2c8eeae fix deprecation label spelling (#21474) 2021-09-13 18:12:03 +00:00
Rachael Sewell
94e3c092d3 English search sync (#21446) 2021-09-13 17:30:08 +00:00
Melanie Yarbrough
65ec6a5f5b Add docs-content issue maintenance step (#21382)
Co-authored-by: Sarah Edwards <skedwards88@github.com>
Co-authored-by: Rachael Sewell <rachmari@github.com>
Co-authored-by: Lucas Costi <lucascosti@users.noreply.github.com>
2021-09-10 13:21:57 -04:00
Sarah Edwards
e15ddfd1ed remove = from mutation ids to avoid graphql parse error (#21394) 2021-09-10 17:11:31 +00:00
Rachael Sewell
556457d843 updated openapi dev check to trigger on script updates (#21139) 2021-08-25 17:14:04 -07:00
Rachael Sewell
df16267a8f remove cached-index-names file and dry run sync used for Algolia (#21133) 2021-08-25 22:04:26 +00:00
Sarah Edwards
ab4ef61f9d Update scripts for populating docs-content review board (#20970) 2021-08-23 18:06:06 +00:00
Rachael Sewell
9a96a2699f Deprecation workflow updates (#20962) 2021-08-18 23:05:04 +00:00
Lucas Costi
ba3ce5cbfb Update the enterprise release issue template (#20828) 2021-08-12 23:33:11 +00:00
Sarah Edwards
841b05b504 Add PRs that are labeled with ready-for-doc-review to review board (#20770) 2021-08-12 18:45:20 +00:00
Rachael Sewell
72f0606377 split query into separate repos (#20816) 2021-08-11 16:35:07 -04:00
Rachael Sewell
47a8f1614a update repos for deprecation and release issues (#20464) 2021-08-11 16:03:08 -04:00
Kevin Heis
1ed18e1448 Clear out some non-fn references to Algolia (#20592)
* Clear out some non-fn references to Algolia

* Update .github/workflows/dry-run-sync-search-indices.yml

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

* Update contributing/search.md

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

Co-authored-by: James M. Greene <JamesMGreene@github.com>
2021-07-29 20:20:55 +00:00
Sarah Edwards
5d576fcd28 fix date error (#20597) 2021-07-29 19:28:32 +00:00
Kevin Heis
0b1ff73a46 Update some readFileSync to await readFile with top level await (#20525)
* Update some readFileSync to await readFile with top level await

* More updates

* Update all-products.js

* Use 'lib/readfile-async.js' in runtime files for better performance

* Remove unnecessary use of 'for await...of' loops

* Revert to importing 'fs/promises'

Co-authored-by: James M. Greene <jamesmgreene@github.com>
2021-07-29 16:45:46 +00:00
Sarah Edwards
1e0f6f473f update import to be ESM compatible (#20523) 2021-07-26 14:51:26 -07:00
Sarah Edwards
f7af358edc Update workflow to add docs-reviewers review requests to docs-content review board (#20388) 2021-07-26 21:05:36 +00:00
Rachael Sewell
d9b75d1e58 Deprecate 2.21 script updates (#20454) 2021-07-21 21:22:38 +00:00
Kevin Heis
8a56437c93 Pretty format (#20352)
* Update prettier flow to include JS

* Run prettier

* ...run prettier
2021-07-14 14:35:01 -07:00
Kevin Heis
42e785b0a8 Migrate CommonJS to ESM (#20301)
* First run of script

* Get the app running --- ish

* Get NextJS working

* Remove `node:`

* Get more tests passing in unit directory

* Update FailBot test to use nock

* Update test.yml

* Update Dockerfile

* tests/content fixes

* Update page.js

* Update build-changelog.js

* updating tests/routing

* Update orphan-tests.js

* updating tests/rendering

* Update .eslintrc.js

* Update .eslintrc.js

* Install jest/globals

* "linting" tests

* staging update to server.mjs

* Change '.github/allowed-actions.js' to a ESM export

* Lint

* Fixes for the main package.json

* Move Jest to be last in the npm test command so we can pass args

* Just use 'npm run lint' in the npm test command

* update algolia label script

* update openapi script

* update require on openapi

* Update enterprise-algolia-label.js

* forgot JSON.parse

* Update lunr-search-index.js

* Always explicitly include process.cwd() for JSON file reads pathed from project root

* update graphql/update-files.js script

* Update other npm scripts using jest to pass ESM NODE_OPTIONS

* Update check-for-enterprise-issues-by-label.js for ESM

* Update create-enterprise-issue.js for ESM

* Import jest global for browser tests

* Convert 'script/deploy' to ESM

Co-authored-by: Grace Park <gracepark@github.com>
Co-authored-by: James M. Greene <jamesmgreene@github.com>
2021-07-14 13:49:18 -07:00
Rachael Sewell
988881fc67 Update create-enterprise-issue.js (#20203)
Co-authored-by: James M. Greene <JamesMGreene@github.com>
2021-06-29 20:37:10 +00:00
Rachael Sewell
bdf724c922 Update a few enterprise release steps (#19072) 2021-06-15 15:07:15 -07:00
Sarah Edwards
6a1ec6db99 Add script and workflow to add docs-reviewer reqests to the FR board (#19226) 2021-05-10 23:31:23 +00:00
Sarah Edwards
61a3d38584 update ghes template with api changes (#18689) 2021-04-12 16:23:51 +00:00
Sarah Schneider
107b8e5bc0 Move scheduled tasks code into docs repo (#17926)
Co-authored-by: Rachael Sewell <rachmari@github.com> - https://github.com/github/docs-internal/pull/18453
2021-04-02 12:42:41 -07:00