Kevin Heis
f07743f169
Delete yml-lint.yml ( #23225 )
2021-11-30 22:44:17 +00:00
Peter Bengtsson
038fc886ba
only run browser tests when JS is changing ( #23080 )
...
* only run browser tests when JS is changing
Part of #1246
* ugh typo
* try this
* tidying up
2021-11-30 22:09:58 +00:00
Marcelo Jacobus
1125b8aac9
Change translation batch log path ( #23241 )
2021-11-30 21:25:11 +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
Marcelo Jacobus
601d05e6a4
Change order of steps in create-translation-batch-pr.yml ( #23210 )
...
The new order will use "reset known broken files" as a last step. That
way we can better understand if the previous steps were enough to catch
those errors. The least files are reset in that last step, the better.
Also, the check for broken/mismatched liquid tags is performed after
rendering and parsing check. That helps us to identify how useful the
mismatch check is, if at all.
2021-11-30 08:28:38 -08:00
Marcelo Jacobus
463ecbc337
Enable Japanese in create-translation-batch-pr.yml ( #23101 )
2021-11-30 13:45:00 +00:00
Marcelo Jacobus
424483ac6e
Enable Chinese in create-translation-batch-pr.yml ( #23100 )
2021-11-30 13:33:27 +00:00
Marcelo Jacobus
94361206a0
Enable Spanish in create-translation-batch-pr.yml ( #23102 )
2021-11-30 13:25:54 +00:00
Marcelo Jacobus
855034fec3
Report files reset during the translation batch ( #23159 )
...
* Add script to report reset files
* Has the workflow report the reset files
* Fix script name
* Filter report by language
* Update .github/workflows/create-translation-batch-pr.yml
* Use build in array methods
2021-11-30 12:31:08 +00:00
Marcelo Jacobus
6e01e74b39
Only check in the language files ( #23162 )
2021-11-30 12:23:11 +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
Grace Park
1d5a78634e
revert to self-hosted runners ( #23189 )
2021-11-30 01:05:37 +00: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
Peter Bengtsson
9067d072c3
use regular ubuntu for staging deploys ( #23186 )
2021-11-29 16:11:53 -06:00
Robert Sese
5ab4c12d47
Use self-hosted as tmp workaround for broken prod deploys ( #23183 )
2021-11-29 21:51:46 +00:00
Peter Bengtsson
3cae972349
print current Node version inside script ( #23182 )
2021-11-29 21:19:16 +00:00
Peter Bengtsson
38a3afe845
don't allow creating empty PRs ( #23072 )
...
Part of #998
2021-11-23 18:26:38 +00:00
Francis
894182d2f1
fix: s/parsin/parsing ( #23038 )
...
Closes https://github.com/github/docs-internal/issues/23037
2021-11-22 20:32:17 +00:00
Kevin Xu
d2c6d478fa
add workflow_dispatch to if condition ( #22732 )
...
* add workflow_dispatch to if condition
* print PR_TITLE
Co-authored-by: Octomerger Bot <63058869+Octomerger@users.noreply.github.com >
Co-authored-by: Grace Park <gracepark@github.com >
2021-11-22 18:50:18 +00:00
Ramya Parimi
41e49be672
Update transfer-to-localization-repo.yml ( #22961 )
...
* Update transfer-to-localization-repo.yml
* Update transfer-to-localization-repo.yml
changes as per review
Co-authored-by: Octomerger Bot <63058869+Octomerger@users.noreply.github.com >
2021-11-22 16:38:28 +00:00
Marcelo Jacobus
37304679c4
Fix error in CI ( #23014 )
...
See this this discussion: https://github.slack.com/archives/C0128FB8J3H/p1637330143039300
```
Run echo "$GITHUB_CONTEXT" # Error: Argument list too long
```
2021-11-19 19:26:52 +00:00
Rachael Sewell
68e64f2a42
install packages ( #23013 )
2021-11-19 19:11:28 +00:00
Rachael Sewell
580c38b56a
use repo variable and checkout repo in workflow ( #22994 )
2021-11-19 17:54:45 +00:00
Marcelo Jacobus
7079099c48
Fix url in slack notification ( #22998 )
...
* Attempt to fix url in slack notification
* Try again
* That is it
* Remove the link
2021-11-19 15:27:58 +00:00
Rachael Sewell
ca614134cb
Simple merge queue ( #22992 )
2021-11-18 20:41:08 -08:00
Marcelo Jacobus
e21c373b57
Automate translation batch PRs ( #22857 )
2021-11-19 00:43:15 +00:00
Kevin Heis
ea0f680004
Update autoupdate-branch.yml ( #22980 )
2021-11-18 23:30:20 +00:00
Kevin Heis
347bdbf449
Update autoupdate-branch.yml ( #22937 )
...
* Update autoupdate-branch.yml
* remove autoupdate labels (#22971 )
Co-authored-by: Rachael Sewell <rachmari@github.com >
2021-11-18 19:53:39 +00:00
Rachael Sewell
fa8150697d
update authentication for automerge script ( #22977 )
2021-11-18 19:36:57 +00:00
Rachael Sewell
5b8cb34e4b
remove old automerge method ( #22941 )
2021-11-18 09:47:46 -08:00
Peter Bengtsson
b828ad58fe
cache .next/cache between staging build runs ( #22886 )
...
* cache .next/cache between staging build runs
Part of #1179
* debugging
* debugging
* debugging
* debugging
* debugging
* showing size of things
* typo
* tidying up
* tidying up (2)
* only upload artifact if it's a pull request
* tighter cache key
* change hashing technique
* allowed actions
* allowed actions (2)
* feedbacked
* add comment
2021-11-18 16:09:55 +00:00
Rachael Sewell
2768f16b50
only observe failure status when not caused by freeze ( #22943 )
2021-11-18 03:10:43 +00:00
Peter Bengtsson
480159e778
only lint the files that changed ( #22924 )
...
* only lint the files that changed
* allowed action
* do nothing
* debug more
* less debugging
* debug
* debug
* debug
* using patterns
* testing something
* testing something (2)
* lemme try something
* lemme try something
* one more attempt
* testing
* tidying up
* sample changes
* add debugging
* some code comments
* fine but sample changes
* update allowed actions
* final cleaning before opening PR for review
* tiny update
* remove commented out code
* feedbacked
2021-11-18 03:03:47 +00:00
Peter Bengtsson
5cac4bfa4c
don't lint JS if no JS changed in PRs ( #22756 )
...
* don't lint JS if no JS changed in PRs
Part of #1202
* one more extension
2021-11-13 18:25:56 +00:00
Peter Bengtsson
22f21db4a3
use Node 16.13.x for CI workflows ( #22758 )
...
Part of #1203
2021-11-11 01:23:13 +00:00
Robert Sese
3ddd259e6c
setup-node not specific to private repo ( #22757 )
2021-11-10 21:59:22 +00:00
Peter Bengtsson
0d13379462
fix TS usage around VersionPicker ( #22739 )
2021-11-10 11:00:34 -08:00
Ramya Parimi
cf2c58910a
Update 60-days-stale-check.yml ( #22686 )
2021-11-10 03:22:44 +00:00
Kevin Heis
79fa21e74d
Update build-docker-image.yml ( #22666 )
2021-11-08 18:08:37 +00:00
Rachael Sewell
a83c0cfd50
remove old unused scripts ( #22650 )
2021-11-08 17:43:59 +00:00
Peter Bengtsson
981d79715a
avoid docker build CI for trivial changes ( #22663 )
...
Part of #1158
2021-11-08 17:22:06 +00:00
Marcelo Jacobus
383ec0bd98
Remove translations directory before Crowdin Sync ( #22582 )
...
* Remove all translations before Crowdin sync
- See https://github.com/github/docs-engineering/issues/1114
* To be reverted
Temporarily change the branch name name in Crowdin sync
* Remove translations/*/data before Crowdin sync
* Fix actions check
* Revert "To be reverted"
This reverts commit 7bc38fa44a223eb1878d791107b5b5ce6cb50463.
* Pin crowdin/github-action
2021-11-05 20:18:45 +00:00
Peter Bengtsson
1e9bcdcbf7
Omit dereferenced static rest json file in stage builds ( #22589 )
...
* omit dereferenced static rest json file in stage builds
* there is no translations/de no more
* remove lines that no longer do anything
2021-11-05 01:21:41 +00:00
Peter Cihon
542eea4190
Update site-policy-sync.yml ( #22399 )
...
* Update site-policy-sync.yml
* Update site-policy-sync.yml
Added permissions. Tested successfully on the private repo
* Update allowed-actions.js
Removing now extraneous action from permissions
* run prettier to remove trailing whitespaces
Co-authored-by: Kevin Xu <khxu@github.com >
2021-11-04 20:11:41 +00:00
Marcelo Jacobus
ed9e3d79cb
Add test and script to ensure 1:1 parity of liquid tags between source and translation ( #22472 )
...
Co-authored-by: Peter Bengtsson <peterbe@github.com >
2021-11-04 10:59:17 -03:00
Mike Surowiec
6747838293
fix: update staging-deploy-pr to never untar artifact from public repo ( #22526 )
...
* fix: update staging-deploy-pr to never untar public builds, allow search to not error when missing indexes/records files
* add comment about tar extraction
* let lunr-search fail, for now, if the files are missing
Co-authored-by: Peter Bengtsson <mail@peterbe.com >
2021-11-02 12:51:36 -07:00
Ramya Parimi
17c2df411c
Workflow to transfer localization issues to localization repo ( #21857 )
...
* workflow to transfer localization issues
* Update .github/workflows/transfer-to-localization-repo.yml
Co-authored-by: Kevin Heis <heiskr@users.noreply.github.com >
* Update transfer-to-localization-repo.yml
Co-authored-by: Kevin Heis <heiskr@users.noreply.github.com >
2021-11-02 18:33:11 +00:00
Robert Sese
06f9fa101c
Add GHEC link check workflow ( #22478 )
...
* Add GHEC link checker workflow
* Update link check script for GHEC
* Remove stale comments
2021-10-29 20:50:22 +00:00