1
0
mirror of synced 2026-01-07 09:01:31 -05:00
Commit Graph

892 Commits

Author SHA1 Message Date
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
Chiedo John
585691b928 Make the repo sync stall check less aggressive (#17018)
Co-authored-by: chiedo <chiedo@users.noreply.github.com>
2020-12-16 17:40:16 +00:00
Rachael Sewell
a2a427f681 re-enable graphql updater workflow (#16993)
* re-enable graphql updater workflow

* remove scheduled run temporarily

* lint yaml
2020-12-15 23:03:05 +00:00
Rachael Sewell
0307dcb598 Revert "use docubot token" (#16987)
* Revert "use docubot token (#16980)"

This reverts commit 06e52bf3f5.

* use pull_request_target
2020-12-15 21:58:25 +00:00
Rachael Sewell
06e52bf3f5 use docubot token (#16980) 2020-12-15 20:11:56 +00:00
Rachael Sewell
a8bfd0a324 Remove double pull_request property (#16974) 2020-12-15 18:01:31 +00:00
Rachael Sewell
f176694ec3 unallowed workflow updates (#16968) 2020-12-15 17:30:10 +00:00
Chiedo John
b6df7eb440 Quiet workflow on Repo Sync PRs (#16961)
Quiet workflow on Repo Sync PRs

Co-authored-by: Chiedo <chiedo@users.noreply.github.com>
2020-12-15 15:30:25 +01:00
Robin Neatherway
0c15336198 Update codeql.yml (#16791)
Co-authored-by: Kevin Heis <heiskr@users.noreply.github.com>
2020-12-14 17:18:11 +00:00
Kevin Heis
a43544faaf Update .github/workflows/triage-unallowed-contributions.yml 2020-12-12 11:49:46 -08:00
Rachael Sewell
1d56eb6910 check for unallowed file os contributions (#16892)
* check for static file os contributions

* add change to show workflow review

* comment for test

* all pushes

* colon after push

* revert to version number

* debugging strange new error

* copy over file from working branch

* remove version

* update from test branch

* fix cond bug

* revert openapi schema change

* add custom translation handling

* allow testing

* push

* debug label

* move to proper area

* update route parm name

* uncomment

* revert translation

* Apply suggestions from code review

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

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

Co-authored-by: Janice <janiceilene@github.com>

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

Co-authored-by: Janice <janiceilene@github.com>

* format code

* introduce mod

* add wildcard for openapi files

* revert file

* add back checks after tests

Co-authored-by: Kevin Heis <heiskr@users.noreply.github.com>
Co-authored-by: Janice <janiceilene@github.com>
2020-12-11 23:04:57 +00:00
Chiedo John
73f3a97714 Remove autoupdate cron for repo sync (#16890)
The autoupdate action apparently does not support running on crons

Co-authored-by: Chiedo <chiedo@users.noreply.github.com>
2020-12-10 20:43:38 +00:00
Chiedo John
ca04ba60a0 Make sure the check always passes (#16885)
Make sure the check always passes 

Co-authored-by: Chiedo <chiedo@users.noreply.github.com>
2020-12-10 20:14:55 +00:00
Chiedo John
3418d1cd0f Fix indentation (#16879)
Co-authored-by: Chiedo <chiedo@users.noreply.github.com>
2020-12-10 13:11:09 -06:00
Chiedo John
c0663d4977 Fix .github/workflows/autoupdate-repo-sync-branch-on-cron.yml (#16876)
Fix Repo Sync Auto Updater

Co-authored-by: Chiedo <chiedo@users.noreply.github.com>
2020-12-10 18:21:39 +00:00
Chiedo John
788d39f0ad Try and get reposync branch updated on a cron (#16866)
Get repo sync updated on a cron as some extra hardening

Co-authored-by: Chiedo <chiedo@users.noreply.github.com>
Co-authored-by: James M. Greene <JamesMGreene@github.com>
2020-12-10 17:53:07 +00:00
Chiedo John
3160079f51 Run the stall check every 2 hours (#16864)
Co-authored-by: Chiedo <chiedo@users.noreply.github.com>
2020-12-10 14:21:49 +00:00
Chiedo John
712dd75146 Confirm w/ internal GitHub team members when they post to docs (#16804)
Confirm w/ internal GitHub team members when they post to docs

Co-authored-by: Chiedo <chiedo@users.noreply.github.com>
Co-authored-by: Janice <janiceilene@github.com>
Co-authored-by: James M. Greene <JamesMGreene@github.com>
Co-authored-by: Jason Etcovitch <jasonetco@github.com>
2020-12-10 02:52:30 +00:00
Rachael Sewell
15c1cf87a9 Add ability to manually trigger workflow (#16810) 2020-12-09 21:17:47 +00:00
Chiedo John
910a94b1d6 Remove skip-duplicate-actions for linting (#16845)
Co-authored-by: Chiedo <chiedo@users.noreply.github.com>
2020-12-09 19:33:11 +00:00
Chiedo John
9fef52449c Move to a version of this that works with a cron (#16830)
Move to a version of this that works with a cron

Co-authored-by: Chiedo <chiedo@users.noreply.github.com>
2020-12-09 18:23:46 +00:00
Chiedo John
ee7c1bce3d Move all Slack notifications to Docs Bot (#16828)
Move all Slack notifications to Docs Bot

Co-authored-by: Chiedo <chiedo@users.noreply.github.com>
2020-12-09 16:47:38 +00:00
Chiedo John
212fffb6e2 Fix unused code that causes workflow to fail (#16827)
* Remove unused code that causes workflow to fail


Co-authored-by: Chiedo <chiedo@users.noreply.github.com>
2020-12-09 16:01:07 +00:00
Chiedo John
aae3c4e6de Send a Slack notification when Repo Sync stalls (#16785)
* Check if Repo Sync has stalled

Co-authored-by: Chiedo <chiedo@users.noreply.github.com>
Co-authored-by: James M. Greene <JamesMGreene@github.com>
2020-12-09 15:29:22 +00:00
Kevin Heis
30cdb3173b Allow repo sync in public repo (#16746)
* Allow repo sync in public repo

* Update repository-references.js

* Update lint-files.js
2020-12-03 19:19:23 +00:00
Sarah Schneider
82644efc7c Merge branch 'main' of github.com:github/docs-internal into hidden-docs-alt 2020-12-03 12:06:18 -05:00
Kevin Heis
11d8e415da Check repository references (#16680)
* Check repository references

* Remove "foundRepoNames" that I used to find all the unique names

* A little speed up with Set

* Ignore a few files

* Remove remaining references

* Update README.md
2020-12-03 16:41:03 +00:00
Kevin Heis
75fd006de6 Close unwanted pull requests (#16679)
* Close unwanted pull requests

* Update close-unwanted-pull-requests.yml

* List out files excluded
2020-12-03 15:56:23 +00:00
Sarah Schneider
1b051afa18 Merge branch 'main' of github.com:github/docs-internal into hidden-docs-alt 2020-12-02 15:13:43 -05:00
Rachael Sewell
bf99faa184 label OpenAPI auto-generated PRs (#16723) 2020-12-02 11:34:01 -08:00
Sarah Schneider
1258092a41 Merge branch 'main' of github.com:github/docs-internal into hidden-docs-alt 2020-12-02 14:22:10 -05:00
Sarah Schneider
6d82e46580 lint 2020-12-02 12:30:45 -05:00
Robert Mosolgo
69bd6f2dbd Remove build-changelog-from-markdown.js 2020-12-01 15:17:29 -05:00
Sarah Schneider
b244d447dd Merge branch 'main' of github.com:github/docs-internal into hidden-docs-alt 2020-12-01 12:38:48 -05:00
Sarah Schneider
da1427f812 Merge branch 'main' of github.com:github/docs-internal into build-changelog 2020-12-01 09:40:04 -05:00
Sarah Schneider
4ba63f2899 add comment instead of trying to add to project board 2020-11-30 14:39:09 -05:00