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

493 Commits

Author SHA1 Message Date
Robert Sese
060119bdd7 Require helper scripts (#21322) 2021-09-07 10:07:02 -05:00
Robert Sese
889b8a4556 Don't persist credentials (#21321) 2021-09-03 17:40:28 -04:00
Mike Surowiec
b51253251f Docker: Clone base branch instead of selective files (#21317)
* clone base branch instead of selective files
2021-09-03 16:54:55 -04:00
Robert Sese
6752962153 Remove commented out steps and keep scripts/ (#21315) 2021-09-03 16:21:51 -04:00
Robert Sese
31fa5d14f9 Unique Docker workflows concurrency group (#21312)
* Unique concurrency group for Docker deploy

* Unique concurrency group for Docker deploy
2021-09-03 19:59:01 +00:00
James M. Greene
3614efff2d Update renamed Octokit function from 'createStatus' to 'createCommitStatus' (#21310) 2021-09-03 14:14:15 -05:00
Robert Sese
1be942c989 Fix directory path (#21309) 2021-09-03 19:02:21 +00:00
James M. Greene
fe767f3da0 Actions staging deployment with Status updates instead of Check Runs (#21283)
* Update Staging deployment workflow to create Status updates

* Update local Staging deployment script to create Status updates

Co-authored-by: Rachael Sewell <rachmari@github.com>
2021-09-03 18:55:24 +00:00
Robert Sese
f0ca29ed46 branches filter applies to base branch on PR (#21306) 2021-09-03 18:37:27 +00:00
Mike Surowiec
5536ec60de fix: docker branch name match for workflow run (#21303) 2021-09-03 14:17:32 -04:00
James M. Greene
0a83ea7869 Fix syntax in Actions staging deploy (#21281)
* Fix syntax error

* Convert dates sent to API to ISO format

* Add details_url with link to Actions run log

Co-authored-by: Rachael Sewell <rachmari@github.com>
2021-09-03 13:13:59 -05:00
Robert Sese
cbfba14ac1 Docker image deploy to Heroku (#21248)
* Start parallel Docker image deploy workflows

Co-authored-by: Mike Surowiec <mikesurowiec@users.noreply.github.com>
Co-authored-by: James M. Greene <JamesMGreene@users.noreply.github.com>

* Add early access content build stage

Co-authored-by: Mike Surowiec <mikesurowiec@users.noreply.github.com>

* Create Heroku App script and workflow steps

* Tag the image for Heroku

* Push the image and grab the image ID

* Set app name and image id outputs

* Add parallel deploy script for Docker

* Scope workflow run to 'docker-' and release image to Heroku

* Update .github/workflows/staging-build-pr-docker.yml

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

* Exclude Docker workflow

* Cleanup Docker deploys

* Use action sha

Co-authored-by: Mike Surowiec <mikesurowiec@users.noreply.github.com>
Co-authored-by: James M. Greene <JamesMGreene@users.noreply.github.com>
Co-authored-by: James M. Greene <JamesMGreene@github.com>
2021-09-03 16:34:48 +00:00
James M. Greene
b680991468 Fix JS syntax errors (#21278) 2021-09-03 00:00:03 -05:00
James M. Greene
40b376edc1 Revisions to path parsing (#21277) 2021-09-02 23:50:48 -05:00
James M. Greene
f315d49344 Reduce checkout to a single file for efficiency (#21262) 2021-09-02 17:38:03 +00:00
Rachael Sewell
b1a3250686 Update staging-deploy-pr.yml (#21250) 2021-09-01 22:44:14 +00:00
James M. Greene
581bf4529e Un-hard-code repo in deployment Checks API calls (#21246) 2021-09-01 14:40:58 -07:00
James M. Greene
cd1f56005d Small tidying up of Actions deployment for staging (#21221) 2021-09-01 20:19:04 +00:00
Rachael Sewell
1d97c125f0 fix sha ref and Unexpected identifier (#21228)
* fix sha ref and Unexpected identifier

* Update .github/workflows/staging-deploy-pr.yml

Co-authored-by: James M. Greene <JamesMGreene@github.com>
2021-09-01 17:40:28 +00:00
Grace Park
23f4ea59d5 Updating Content Changes Table (#21130)
* Updating table

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

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

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

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

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

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

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

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

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

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

* updating links

Co-authored-by: James M. Greene <JamesMGreene@github.com>
Co-authored-by: Felicity Chapman <felicitymay@github.com>
Co-authored-by: Kevin Heis <heiskr@users.noreply.github.com>
2021-09-01 15:55:39 +00:00
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