1
0
mirror of synced 2025-12-30 03:01:36 -05:00
Commit Graph

473 Commits

Author SHA1 Message Date
Kevin Heis
5b55f5cac3 Update sync-search-indices.yml (#21125) 2021-09-01 08:05:15 -07:00
Rachael Sewell
3fc0fa7012 add check suite for deploy workflow (#21210)
Co-authored-by: James M. Greene <JamesMGreene@github.com>
2021-08-31 23:02:32 +00:00
James M. Greene
41bd23742e Fix multiline 'if' syntax to not return false positives (#21220) 2021-08-31 17:17:55 +00:00
Matt Pollard
921848e3a7 Revise comment (#21218) 2021-08-31 15:14:00 +00:00
James M. Greene
736b6a6d03 Fix multiline 'if' syntax to not return false positives (#21219) 2021-08-31 14:50:41 +00:00
James M. Greene
f8dd1ae768 Dump debug output for Actions workflow_run event (#21214) 2021-08-30 21:24:09 -05:00
James M. Greene
535e30c208 Include .npmrc file in builds to omit optionalDeps (#21192) 2021-08-30 14:53:45 +00:00
James M. Greene
577362f6ac Remove Heroku auth token from build source upload (#21187) 2021-08-27 19:51:29 +00:00
James M. Greene
697cfe8da4 Force the npm install of 'esm' to work (#21168) 2021-08-26 18:45:31 +00:00
James M. Greene
fecd0932ef Work around creating tar in scanned directory (#21161) 2021-08-26 16:36:48 +00:00
James M. Greene
4c54198fa5 Fix 'tar' flag ordering for quirky GNU tar (#21158)
See: https://unix.stackexchange.com/a/149498
2021-08-26 16:08:47 +00:00
James M. Greene
559e5f3289 Use the 'script/package.json' file for the early access cloning flow (#21156) 2021-08-26 09:55:22 -05:00
Rachael Sewell
556457d843 updated openapi dev check to trigger on script updates (#21139) 2021-08-25 17:14:04 -07:00
James M. Greene
17d663826b Add GITHUB_TOKEN for single file checkout (#21135) 2021-08-25 16:13:25 -05:00
James M. Greene
08db1c970c Refactor Staging deployment workflow to support open source PRs (#20459)
* Add a Staging build workflow

* Remove all commented out code from build workflow

It will be handled in https://github.com/github/docs-engineering/issues/726

* Use pinned version of upload-artifact action

* Tweaks to build

* Minor deployment script refactoring

* Update the Staging deployment workflow

* Missed refactoring tweak

* Add relevant comments

* Update Heroku app naming convention for Actions deploy to include 'gha-' prefix

* Update Heroku app ConfigVars and SourceBlob for optional prebuilt app

* Remove obsolete 'dist/' dir from PR build artifact

See https://github.com/github/docs-internal/pull/20405

* Ensure a new enough version of npm is used

* Switch to creating a tarball for upload

* Remove obsolete 'layouts' dir from file list

* Ditch the verbosity for 'tar'... too many files

* Add tarball support to deploy

* Add esm workaround to deploy script

See https://github.com/actions/github-script/issues/168

* Temporarily ignore staging deploy workflow from workflow linter

* Update deployment to use a Heroku Build Source instead of a GitHub Actions Artifact

* Update undeploy workflow to use ESM workaround

See https://github.com/actions/github-script/issues/168

* Add 'esm' package to optionalDependencies to better support workaround

See https://github.com/actions/github-script/issues/168

* Add Slack notifications for workflow failures

* Wrap AppSetup polling in try-catch

* Improve dyno monitoring

* Rename 'script/deploy' to have a .js extension #esm

* Update script references to include the extension

* Use non-deprecated Sources API for Heroku

* Use normal quotes

* Stub in a step to mark deployment inactive after timing out

* Apply suggestions from code review

Co-authored-by: Rachael Sewell <rachmari@github.com>

Co-authored-by: Rachael Sewell <rachmari@github.com>
2021-08-25 20:45:51 +00:00
James M. Greene
6e6f857395 More instructive comment in potentially spammy issues (#21110)
* More instructive comment in spammy issue comments

Co-authored-by: Janice <janiceilene@github.com>
2021-08-25 19:53:17 +00:00
Grace Park
b3d03b1fec Content Table Comment Update: only content/ and no index files (#21094)
* update to only include content directory at correct level and not include index files

* remove index.md

* update to use filename to only look at content/ dir

* update directory
2021-08-25 16:30:02 +00:00
Robert Sese
6429172b7b No comment on repo sync PRs (#21096) 2021-08-25 15:23:30 +00:00
Grace Park
5e88976227 Bug Fix: Content Table Changes, updating to add filters (#21084)
* updating to add filters

* make test changes not in content directory

* remove workflow dispatch

* removing echo

* update body-includes wording to match new changes

* removing test change

* add line
2021-08-24 13:13:34 -07:00
Grace Park
4cca977ac4 GitHub Action Content Table Changes (#21077)
* Creating actions for adding staging and article links to PR for content writers

* Ran prettier

* update capitalization in yml file

* Update .github/workflows/content-changes-table-comment.yml

Co-authored-by: Rachael Sewell <rachmari@github.com>

* Update .github/workflows/content-changes-table-comment.yml

Co-authored-by: Rachael Sewell <rachmari@github.com>

* Update .github/actions-scripts/get-content-changes-table.js

Co-authored-by: Rachael Sewell <rachmari@github.com>

* Updating fc to findComment

* Update .github/actions-scripts/get-content-changes-table.js

Co-authored-by: Rachael Sewell <rachmari@github.com>

* updating constant

* updating fetch depth

* Updating yml file and removing script

* Adding actions commit for github-script

* updating table info

* Using mel's wording

* update allowed actions

* Update .github/workflows/content-changes-table-comment.yml

Co-authored-by: Felicity Chapman <felicitymay@github.com>

* linting

* update

* Testing content change

* removing tests

* updating npm install

* back to ci

* adding setup node step

Co-authored-by: Rachael Sewell <rachmari@github.com>
Co-authored-by: Felicity Chapman <felicitymay@github.com>
2021-08-24 10:39:22 -07:00
Grace Park
4f7d5c53bc Revert "Creating Action for adding staging and article links to PR for conte… (#19561)" (#21075)
This reverts commit d8f7b45e38.
2021-08-24 10:18:02 -07:00
Grace Park
d8f7b45e38 Creating Action for adding staging and article links to PR for conte… (#19561)
* Creating actions for adding staging and article links to PR for content writers

* Ran prettier

* update capitalization in yml file

* Update .github/workflows/content-changes-table-comment.yml

Co-authored-by: Rachael Sewell <rachmari@github.com>

* Update .github/workflows/content-changes-table-comment.yml

Co-authored-by: Rachael Sewell <rachmari@github.com>

* Update .github/actions-scripts/get-content-changes-table.js

Co-authored-by: Rachael Sewell <rachmari@github.com>

* Updating fc to findComment

* Update .github/actions-scripts/get-content-changes-table.js

Co-authored-by: Rachael Sewell <rachmari@github.com>

* updating constant

* updating fetch depth

* Updating yml file and removing script

* Adding actions commit for github-script

* updating table info

* Using mel's wording

* update allowed actions

* Update .github/workflows/content-changes-table-comment.yml

Co-authored-by: Felicity Chapman <felicitymay@github.com>

* linting

* update

* Testing content change

* removing tests

* updating npm install

* back to ci

Co-authored-by: Rachael Sewell <rachmari@github.com>
Co-authored-by: Felicity Chapman <felicitymay@github.com>
2021-08-24 09:45:52 -07:00
Matt Pollard
ce1ad02809 Add comment to explain job status checks (#21036) 2021-08-24 07:36:46 +00:00
Matt Pollard
9f5232b18a Be more careful about finding previous report (#20831) 2021-08-23 09:04:43 +00:00
Rachael Sewell
e47879ab67 Trying out the contains option again (#20967) 2021-08-19 09:59:14 -07:00
Robert Sese
0b2ff2f4fa Comment and fail on public unallowed contributions (#20823)
* Remove pr review steps

* Fix array commas

* Leave comment and fail workflow
2021-08-12 20:56:29 +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
Grace Park
00df8e0b28 Updating workflow to bypass labels with sync-english-index (#20806) 2021-08-11 16:58:52 -04:00
Rachael Sewell
72f0606377 split query into separate repos (#20816) 2021-08-11 16:35:07 -04:00
Rachael Sewell
2678c69a42 remove dry run sync search workflow (#20706) 2021-08-11 20:22:16 +00:00
Rachael Sewell
47a8f1614a update repos for deprecation and release issues (#20464) 2021-08-11 16:03:08 -04:00
Rachael Sewell
832d8f5d77 use docubot token to enable CI tests (#20813) 2021-08-11 19:43:37 +00:00
Rachael Sewell
baad897f07 update enterprise search index workflow (#20812) 2021-08-11 19:37:55 +00:00
Kevin Heis
ba4c21851f Sync search: try pull before commit (#20807) 2021-08-11 19:27:53 +00:00
Rachael Sewell
b641556a82 Remove test lang and version (#20800)
Co-authored-by: Kevin Heis <heiskr@users.noreply.github.com>
2021-08-11 16:50:24 +00:00
Rachael Sewell
941fceb716 fix quote placement (#20797) 2021-08-11 10:01:13 -04:00
Rachael Sewell
0f847cd1d2 pull before pushing (#20780) 2021-08-10 14:12:26 -07:00
Rachael Sewell
8c71ca1a48 test with lang and version (#20772) 2021-08-10 18:49:48 +00:00
Rachael Sewell
e7558d24da update search sync workflow (#20768) 2021-08-10 18:42:06 +00:00
Rachael Sewell
66340e6f0a Checkout head_ref (#20750) 2021-08-10 01:12:38 +00:00
Rachael Sewell
56a4ebaa94 checkout the branch not commit sha (#20748) 2021-08-10 00:39:18 +00:00
Rachael Sewell
6a6472162b add files separately (#20747) 2021-08-10 00:25:43 +00:00
Grace Park
49ee805977 Add Dockerfile.openapi_decorator to unallowed contributor list (#20733)
* add Dockerfile.openapi_decorator to unallowed contributor list

* adding Dockerfile.openapi_decorator to badFilesArr

* Add to paths as well

* Update .github/workflows/triage-unallowed-contributions.yml

Co-authored-by: Kevin Heis <heiskr@users.noreply.github.com>

* Update .github/workflows/triage-unallowed-contributions.yml

Co-authored-by: Kevin Heis <heiskr@users.noreply.github.com>

* Update .github/workflows/triage-unallowed-contributions.yml

Co-authored-by: Kevin Heis <heiskr@users.noreply.github.com>

Co-authored-by: Kevin Heis <heiskr@users.noreply.github.com>
2021-08-09 23:57:25 +00:00
Rachael Sewell
c56171b5d9 add --set-upstream (#20745) 2021-08-10 09:51:24 +10:00
Rachael Sewell
846274e14d Manually commit changes (#20744) 2021-08-09 15:55:54 -07:00
Rachael Sewell
3904ab7935 use lfs push all cmd (#20742) 2021-08-09 18:02:57 -04:00
Rachael Sewell
eecc1113cc remove lanuage and version (#20734) 2021-08-09 17:51:57 -04:00
Rachael Sewell
ff393c8a1f remove push to public repo (#20729) 2021-08-09 12:24:06 -04:00
Rachael Sewell
1eedcd4d4b replace checkout of public repo (#20727) 2021-08-09 11:12:33 -04:00
Rachael Sewell
b8b9e26241 Remove paths filter (#20712) 2021-08-05 22:36:53 +00:00