James M. Greene
a469193704
Test workflow and jest configuration cleaning ( #17759 )
2021-02-09 10:52:28 -06:00
Lee Dohm
37717eeed1
Don't check for internal authors on reopening
2021-02-08 11:59:37 -08:00
Rachael Sewell
0f5ad09dfd
update action output name ( #17696 )
2021-02-05 19:28:20 +00:00
Chiedo John
f10360f689
Add nuanced stalebot workflow ( #17654 )
...
Add nuanced stalebot workflow
Co-authored-by: chiedo <chiedo@users.noreply.github.com >
2021-02-04 14:48:45 +00:00
Kevin Heis
c640f6da16
Update Dockerfile so it builds and runs ( #17469 )
...
* Update Dockerfile so it at least builds
* And get it running again!
* Update Dockerfile
* Create build-docker-image.yml
* Update build-docker-image.yml
* Update Dockerfile
* Update Dockerfile
* Delete build-docker-image.yml
2021-02-01 22:25:49 +00:00
Chiedo John
205fe55a31
Increase stalebot threshold ( #17599 )
...
* Increase stalebot threshold
* Update triage-stale-check.yml
Co-authored-by: chiedo <chiedo@users.noreply.github.com >
2021-02-01 14:01:10 -05:00
Vanessa Yuen
a1d93a7619
Lint translation files ( #17561 )
...
### Why:
A lot of content gets mistranslated, some common patterns are: frontmatter date and enums getting translated, liquid tags get translated or go missing during the translation process. These translation errors are tough to catch, especially when they often come in huge PRs.
### What's being changed:
- Frontmatter is also getting linted against schema as part of `lint-files`
- When an environment variable `TEST_TRANSLATION` is passed,
- `lint-files` will run its tests against all files that have been newly translated (by git-diffing between `translations` branch and `main` branch), and
- results are outputted using a custom jest reporter. The output is formatted in a way that makes it easy to exclude the problematic translated files from being merged, and to share the errors with [localization support](https://github.com/github/localization-support/issues/489 ).
- Run the implemented translation test as part of the existing `Node.js Tests - Translations` workflow
2021-02-01 17:59:33 +01:00
Octomerger Bot
64a0ab640c
Branch was updated using the 'autoupdate branch' Actions workflow.
2021-02-02 02:00:54 +10:00
James M. Greene
0fc3c7a197
Add a workflow to close repo-sync PRs opened by external contributors ( #17586 )
...
* Tweak copy
Co-authored-by: Kevin Heis <heiskr@users.noreply.github.com >
2021-02-01 16:00:20 +00:00
chiedo
be29634824
Fix typo
2021-02-01 10:31:26 -05:00
Chiedo John
8f2d3d1c7a
Remove security vulnerability ( #17591 )
...
Co-authored-by: chiedo <chiedo@users.noreply.github.com >
2021-02-01 10:00:21 -05:00
Vanessa Yuen
4f3f3b0a6d
fix workflow ( #17562 )
2021-01-29 13:23:31 +01:00
Sarah Schneider
8fd2b9899f
change VERSION to more specific DOCS_VERSION
2021-01-28 16:42:59 -05:00
Sarah Schneider
345ab98957
Merge branch 'main' of github.com:github/docs-internal into parallelize-link-check-workflows
2021-01-28 16:34:23 -05:00
Peter Cihon
c68eea93b2
Update site-policy-sync.yml ( #17500 )
...
* Update site-policy-sync.yml
* Update allowed-actions.js
Co-authored-by: Kevin Heis <heiskr@users.noreply.github.com >
2021-01-28 20:18:07 +00:00
Chiedo John
a168b9647f
Attempt to fix spammy title workflow so it actually closes issue ( #17525 )
...
Attempt to fix workflow so it actually closes issue
Co-authored-by: chiedo <chiedo@users.noreply.github.com >
2021-01-27 15:46:49 +00:00
Chiedo John
6b932f4647
Create a workflow that closes issues with short titles ( #17501 )
...
Create a workflow that closes issues with short titles
Co-authored-by: chiedo <chiedo@users.noreply.github.com >
Co-authored-by: Lee Dohm <1038121+lee-dohm@users.noreply.github.com >
Co-authored-by: Kevin Heis <heiskr@users.noreply.github.com >
Co-authored-by: Janice <janiceilene@github.com >
2021-01-27 14:24:20 +00:00
Sarah Schneider
dc6c9b19bb
specify path in skip check
2021-01-26 15:20:28 -05:00
Sarah Schneider
cfc6688db9
update workflow titles
2021-01-26 15:19:30 -05:00
Sarah Schneider
03e386f6b3
split link checking workflow into three, one per version type
2021-01-26 15:07:02 -05:00
Sarah Schneider
176037f03d
run on self-hosted conditionally ( #17466 )
2021-01-25 09:03:59 -05:00
Chiedo John
852a8cde15
Use self-hosted runners for docs-internal ( #17442 )
...
Use self hosted runners for docs-internal
Co-authored-by: chiedo <chiedo@users.noreply.github.com >
Co-authored-by: James M. Greene <JamesMGreene@github.com >
2021-01-25 08:41:53 -05:00
Sarah Schneider
7cc8b3bbd1
add clarifying comments
2021-01-22 16:05:29 -05:00
Sarah Schneider
295e5dc1f0
upgrade to setup-node v2
2021-01-22 10:54:20 -05:00
Sarah Schneider
14ae1634de
try without early access step for now
2021-01-22 10:26:15 -05:00
Sarah Schneider
b8a18911b9
try setup node
2021-01-22 10:22:25 -05:00
Sarah Schneider
779b7ca1c7
see if it runs faster on self-hosted runner
2021-01-22 10:07:01 -05:00
Sarah Schneider
8555d3dce4
add npm run build step
2021-01-21 17:00:52 -05:00
Sarah Schneider
b19b50c347
ra npx prettier -w .github/workflows/test.yml
2021-01-21 16:58:07 -05:00
Sarah Schneider
28f0837fa6
these should be runs not withs
2021-01-21 16:52:20 -05:00
Sarah Schneider
76a3706214
link check should only run via separate workflow not test.yml
2021-01-21 16:50:26 -05:00
Sarah Schneider
914c36244f
add workflow file
2021-01-21 16:38:20 -05:00
Jason Etcovitch
7f416814d6
Pin the full SHA ( #17393 )
2021-01-21 16:57:58 +00:00
Vanessa Yuen
dc210512b9
build before algolia sync ( #17378 )
...
* build project before syncing indicies
* do the same for dry-run
2021-01-20 07:47:12 -06:00
Rachael Sewell
fd1ed1989c
Use javascript not shell
...
* Revert "Fail workflow when pr includes unallowed contributions (#17333 )"
This reverts commit 871d886c16 .
* actually use javascript
* remove space
* lint
2021-01-19 21:38:53 +00:00
James M. Greene
4545ffd3e9
Update repo-sync and translations workflows to verify author of PR before approving ( #17356 )
...
Uses changes from https://github.com/juliangruber/find-pull-request-action/pull/18
2021-01-19 17:48:44 +00:00
Rachael Sewell
871d886c16
Fail workflow when pr includes unallowed contributions ( #17333 )
2021-01-15 13:16:59 -08:00
James M. Greene
325c71d94e
Disable the Actions workflow linter on push/PRs for now ( #17330 )
2021-01-15 13:59:25 -05:00
James M. Greene
fb0f3846b6
Fix a few simple workflow lint errors ( #17298 )
...
* Use 'ubuntu-latest' instead of 'ubuntu-18.04' for longevity
* Update 'branches' configurations to be sequences as expected
2021-01-15 14:01:17 +00:00
Peter Cihon
160085a9ec
Update site-policy-sync.yml ( #17256 )
...
Added filter to reduce trigger events. Edited destination branch and commit message.
Co-authored-by: Matt Pollard <mattpollard@users.noreply.github.com >
2021-01-14 14:54:33 +00:00
Chiedo John
175d80fdf2
Run Windows tests on windows PRs ( #17301 )
...
Run Windows tests on PRs with the windows label
Co-authored-by: chiedo <chiedo@users.noreply.github.com >
2021-01-14 14:03:36 +00:00
James M. Greene
90b2e49734
Add a linter for Actions workflow files ( #17265 )
...
* Add a linter for Actions workflow files
* Actually add the workflow file, duh
2021-01-14 04:07:45 +00:00
Chiedo John
849843806a
Deactivate some actions on forks ( #17226 )
...
Deactivate some actions on forks
Closes #17220
Co-authored-by: chiedo <chiedo@users.noreply.github.com >
Co-authored-by: Rachael Sewell <rachmari@github.com >
2021-01-11 13:55:13 +00:00
Chiedo John
35714bcc22
Provide more accurate link for Repo Sync PRs ( #17145 )
...
Co-authored-by: chiedo <chiedo@users.noreply.github.com >
2021-01-07 20:29:25 +00:00
Peter Cihon
fcc718fb5d
Create site-policy-sync.yml ( #17111 )
...
Create site-policy-sync.yml
Co-authored-by: chiedo <chiedo@users.noreply.github.com >
Co-authored-by: Chiedo John <2156688+chiedo@users.noreply.github.com >
2021-01-07 19:22:12 +00:00
Chiedo John
dc36539478
Patch ( #17144 )
...
Co-authored-by: chiedo <chiedo@users.noreply.github.com >
2021-01-05 10:17:02 -05:00
Chiedo John
896417a839
Make Repo Sync Stall Workflow check for the automated-repo-sync label ( #17142 )
...
Currently the Repo Sync Stall checker is including PRs that aren't repo
sync PRs. This change should ensure that is no longer the case
Co-authored-by: chiedo <chiedo@users.noreply.github.com >
Co-authored-by: Vanessa Yuen <6842965+vanessayuenn@users.noreply.github.com >
2021-01-05 10:11:19 -05:00
Rachael Sewell
eeb2b59144
fix repo-sync bug ( #17047 )
...
* fix repo-sync bug
* add another log
* add mergeable_state check
* check for pull number
* add check for prior steps
* remove test logs
* lint
2020-12-17 19:15:45 +00:00
Rachael Sewell
d6e854b6b3
update branch when out of date ( #17031 )
...
* update branch when out of date
* small copy update
* var rename
* lint yaml
2020-12-17 16:18:45 +00:00
Rachael Sewell
1f15ea4d22
reenable graphql updater ( #16994 )
...
* re-enable graphql updater workflow
* remove scheduled run temporarily
* lint yaml
* re-enable graphql updater workflow
* add my pat for test
* use my pat for create pr
* update peter-evans action
* Action ran graphql script"update-files"
* use github-token
* revert
* Action ran graphql script"update-files" (#17000 )
* update another workflow
* add schedule run back
Co-authored-by: rachmari <rachmari@users.noreply.github.com >
Co-authored-by: Octomerger Bot <63058869+Octomerger@users.noreply.github.com >
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2020-12-16 19:45:37 +00:00