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

114 Commits

Author SHA1 Message Date
Rachael Sewell
a60db5d2b9 Revert "fix: show content table preview urls after deploy" (#29853) 2022-08-11 16:53:59 +00:00
Evan Bonsignori
d341c808bf verify URL health before adding to table 2022-08-08 15:26:30 -07:00
Matt Pollard
0e7a3409dd Update label applied to issue for technical steps that apply to GitHub Enterprise Server releases (#29613) 2022-08-05 08:20:52 +00:00
docubot
7ec3fe9758 Merge branch 'main' into localization/reset-broken-files 2022-08-03 18:09:17 -04:00
Hector Alfaro
2a806d998d Merge branch 'main' into localization/reset-broken-files 2022-08-03 18:04:39 -04:00
Hector Alfaro
ceb5c03d46 fix PR link to Microsoft-specific CSV file 2022-08-03 17:54:19 -04:00
Evan Bonsignori
1d258e6311 change enterprise release label 2022-08-03 13:23:11 -07:00
Rachael Sewell
de6a358d53 update deprecation steps (#28826) 2022-08-03 19:17:35 +00:00
Peter Bengtsson
2ebfb60b4b refactor how archived frontmatter fallbacks work (#28170)
* refactor how archived frontmatter fallbacks work

* delete no-longer used file

* avoid the mention

* Update lib/redirects/README.md

Co-authored-by: Sarah Schneider <sarahs@users.noreply.github.com>

Co-authored-by: Sarah Schneider <sarahs@users.noreply.github.com>
2022-07-12 20:23:05 +00:00
Hector Alfaro
d243bbae4c Use translated content from the Microsoft repos (#28703)
* use content repos provided by msft

* remove additional languages for parity

* remove body from translation PRs
2022-07-12 17:31:47 +00:00
Hector Alfaro
518677a7b1 Content changes table: Add a max size (#28224)
add a max size for content changes table
2022-06-03 17:23:39 +00:00
Peter Bengtsson
952c0d417a cope with removed files in content-changes-table-comment.js (#27979)
* cope with removed files in content-changes-table-comment.js

* handle content changes files async

Co-authored-by: Hector Alfaro <hectorsector@github.com>
2022-05-31 14:59:49 +00:00
Peter Bengtsson
e2ec55c7d8 use shorthand to calm codeql warnings (#27882)
* use shorthand to calm codeql warnings

* there was more
2022-05-21 18:50:56 +00:00
Robert Sese
f802528af7 Localization: duplicate translation workflow for testing with msft repos (#27790)
* duplicate translation workflow for msft repos

* use duplicate script for creating translation pr

* comment out unsued functions

Co-authored-by: Hector Alfaro <hectorsector@github.com>
2022-05-18 12:05:03 -05:00
Robert Sese
b0641c98af GHES release checklist update: push LFS objects before merging the PR (#27618)
Push LFS objects before merging the PR
2022-05-12 15:28:13 +00:00
Hector Alfaro
fda78bb36d expose short version list in lib/all-versions.js 2022-05-05 16:12:14 -04:00
Hector Alfaro
bd090873ee log out an error when we can't parse version frontmatter 2022-05-05 14:27:07 -04:00
Hector Alfaro
d5f4fcf0ee replace hacky search with includes 2022-05-05 14:23:26 -04:00
Hector Alfaro
c3a9580903 add comments, account for feature-versioned-only content files 2022-05-05 10:51:34 -04:00
Hector Alfaro
a56200369c refactor content changes table 2022-05-05 09:31:42 -04:00
Hector Alfaro
06daa25a9d use sha to get file contents 2022-05-04 14:34:16 -04:00
Hector Alfaro
ee8cbb67bd use unique var names 2022-05-04 13:19:56 -04:00
Hector Alfaro
0f8b5cc642 use shas instead of labels for comparisons 2022-05-04 13:19:06 -04:00
Hector Alfaro
adfd6c9b16 use pull_request.head.label in comparisons to allow for forks 2022-05-04 12:21:36 -04:00
Hector Alfaro
21453f6653 add line breaks 2022-05-03 16:47:58 -04:00
Hector Alfaro
6e2527047e wait for api call 2022-04-29 11:38:54 -04:00
Hector Alfaro
c84427d3e4 add spacing for better visibility 2022-04-29 11:34:38 -04:00
Hector Alfaro
c7e06fc88a add extensions to imports 2022-04-29 11:23:11 -04:00
Hector Alfaro
3da9accf20 improve formatting on table 2022-04-29 10:51:06 -04:00
Hector Alfaro
c1a347fac3 construct table with version-specific links 2022-04-26 08:20:00 -04:00
Hector Alfaro
fc597e9b71 use compareCommitWithBasehead to avoid deprecation 2022-04-26 08:19:59 -04:00
Rachael Sewell
c377c8a97a Update release steps (#26905) 2022-04-13 10:02:21 -07:00
Mike Surowiec
f6ec000742 Remove Caddy from preview envs (#26336)
* remove caddy from preview envs

* fix: remove location from template

Co-authored-by: Peter Bengtsson <mail@peterbe.com>
2022-03-22 10:47:53 -04:00
Mike Surowiec
ed5362d07f update preview env app_url to preview.ghdocs.com (#26335) 2022-03-22 13:00:28 +00:00
CommanderRoot
464e527261 chore: replace deprecated String.prototype.substr()
.substr() is deprecated so we replace it with .slice() which works similarily but isn't deprecated
Signed-off-by: Tobias Speicher <rootcommander@gmail.com>
2022-03-18 10:53:15 +01:00
Vanessa
17dd9d4311 Update template following release + discussion (#26280)
Co-authored-by: Lucas Costi <lucascosti@users.noreply.github.com>
2022-03-17 04:28:23 +00:00
Robert Sese
ae2b0266dd Add note about doing step 7 as soon as you can (#26128)
* Add note about doing step 7 as soon as you can

* Be super explicit about doing this step asap
2022-03-11 16:35:16 -06:00
Robert Sese
9e4ee1b8ac GHES deprecation checklist updates ✏️ (#25743)
* Typos and wordsmith 🔨

* More clarifications

* 'remove-static-files.js' removes these files for us

* Mention that manual updates should be expected

* Backticks so we see the whole URL

* Don't merge to github/github

* Wordsmith 🛠

* Delete old item
2022-03-04 22:28:11 +00:00
Lucas Costi
e6af9ae1e6 Remove Actions REST enterprise subcategory (moved to Actions page) (#25065)
Co-authored-by: Rachael Sewell <rachmari@github.com>
2022-02-17 15:18:07 +10:00
Grace Park
5b3ba7155f Updating Release Candidate issue template and adding extra info to command (#25402)
* updating issue template and adding extra info to command

* add transfer trace

* add additional instructions to click run workflow button
2022-02-16 04:26:17 +00:00
Peter Bengtsson
07c8fc3c2a Decouple redirects from language (#24597)
* experimenting with redirects

* cleanup developer.json

* wip

* clean console.log

* progress

* some progress

* progress

* much progress

* debugging tests

* hacky progress

* ditch latest -> number redirects

* minor

* hacky progress

* lots of progress

* some small fixes

* fix rendering tests

* small fixes

* progress

* undo debugging

* better

* routing tests OK

* more cleaning

* unit tests

* undoing lineending edit

* undoing temporary debugging

* don't ever set this.redirects on Page

* cope with archived version redirects

* adding code comments on the major if statements

* address all feedback

* update README about redirects

* delete invalid test

* fix feedback
2022-02-14 20:19:10 +00:00
Mike Surowiec
624581e527 Remove most of Heroku references (#25208)
* remove most of heroku references

* remove more stuff

* update codeowners
2022-02-10 17:36:07 -06:00
Mike Surowiec
e2a35b3c38 Cleanup preview env workflow variables (#25160)
* cleanup staging action vars, prep for OS deploy workflow

* fix app_url
2022-02-09 15:12:26 +00:00
Mike Surowiec
943d333572 Preview Env: use azure container instances instead of app service (#25099)
* switch deploy to use azure container instances
2022-02-08 21:28:16 +00:00
Mike Surowiec
a58b045cbb Azure: use shared env setter, fix comment workflow (#25044)
* update azure deployments to use shared env getter, fix content changes table
2022-02-04 22:30:12 +00:00
Peter Bengtsson
7ed1063ba1 move early-access in correctly (#24987) 2022-02-03 14:37:43 +00:00
Mike Surowiec
59b53a9300 Improve docker build (#24692)
* better caching, reduce context size, etc
2022-02-02 21:05:20 +00:00
Marcelo Jacobus
cf2603ac01 fix: retry translation batch PR creation if we hit a 502 (#23633)
* Fix error on Pull Request creation

Fix https://github.com/github/docs-engineering/issues/1293. This
solution does not really handle the error, it just prevents the script
from stopping, since sometimes we get a timeout error from the load
balancer even though the request was successfully handled by rails.

* Add a nudge to the localization folks when a batch is created

Ever since the translation batches are created and merged automatically
it is difficult to see when they started or finished correctly. Also,
sometimes, docubot automatically closes some pull requests, and at the
time of this writing I don't know the reason.

This change intends to make batches not go unnoticed. We can revert it
later if this becomes too noisy and the process is stable.

* fix: remove ping to docs-localization team from batch PR body

Discussion: https://github.com/github/docs-internal/pull/23633/files#r771896816

* refactor: move report-reset-files into its own step

* refactor: move git push into its own step

* spike: move PR creation into its own script

* feat: annotate createTranslationBatchPullRequest fn

* enhancement: embed nwo#pr format in logger

* fix: import fs directly

* fix: import @actions/github directly

* docs: update annotations in fn block

* build: update step name to be self-documenting

* Retry on 502

* Rename method to reflect its behaviour

* Update codeowners

* Fix comment

* Update .github/actions-scripts/create-translation-batch-pr.js

Co-authored-by: Peter Bengtsson <peterbe@github.com>

* Update .github/actions-scripts/create-translation-batch-pr.js

Co-authored-by: Peter Bengtsson <peterbe@github.com>

* Update .github/actions-scripts/create-translation-batch-pr.js

Co-authored-by: Peter Bengtsson <peterbe@github.com>

* Appease linter and fix script

* Move options to main

* Rename var

* Refactor options

* Check for response

* First try to find and then to create the PR

* Update .github/actions-scripts/create-translation-batch-pr.js

Co-authored-by: Peter Bengtsson <peterbe@github.com>

* Update .github/actions-scripts/create-translation-batch-pr.js

Co-authored-by: Peter Bengtsson <peterbe@github.com>

* Update .github/actions-scripts/create-translation-batch-pr.js

Co-authored-by: Francis <15894826+francisfuzz@users.noreply.github.com>

* Remove unreachable conditional

* Lint

* fix: remove duplicate annotation

Co-authored-by: docubot <67483024+docubot@users.noreply.github.com>
Co-authored-by: Francis <15894826+francisfuzz@users.noreply.github.com>
Co-authored-by: Peter Bengtsson <peterbe@github.com>
2022-01-11 23:06:18 +00:00
James M. Greene
be4249b57c Remove the concept of "undeployment" as a part of the PR deployment lifecycle (#23731)
* Update remove-stale-staging-resources workflow to completely replace undeploy workflow
* Delete the staging-undeploy-pr workflow file
* Delete all undeployment scripts and logic
* Remove all references to the automated-block-deploy label used for undeployment
* Simplify staging cross-workflow concurrency needs
2022-01-06 16:27:48 +00:00
Sarah Edwards
d5c3731634 handle case where requestedReviewer is null (#24043) 2022-01-04 09:39:11 -08:00