1
0
mirror of synced 2026-01-29 21:01:19 -05:00
Commit Graph

39 Commits

Author SHA1 Message Date
James M. Greene
f3de3ee618 Update actions/github-script usage to v4.0.2 (#19897) 2021-06-15 16:09:15 +00:00
Rachael Sewell
b20cefa910 Fix a repo-sync failure (#19792) 2021-06-08 21:53:39 +00:00
Kevin Heis
7f9f8ae0c4 Update action crons to avoid top of hour runs (#19035) 2021-04-29 17:38:54 +00:00
James M. Greene
16cdd98ea5 Automatically close spammy repo-sync PRs (#18719)
* Update to latest find-pull-request-action

* Remove repetitive part of comments in allowed-actions.js

* Specify that we are seeking open PRs

* Use a PAT with site_admin scope granted to include spammy PRs
2021-04-13 18:43:22 +00:00
James M. Greene
74869a5497 Disable the automerge Action for repo-sync (#18711)
Instead, rely on the official GitHub auto-merge feature
2021-04-12 15:34:37 -05:00
James M. Greene
548ef31089 Enable auto-merge as Octomerger (#18709)
* Use Octomerger PAT for updating branch and enabling auto-merge
* Tweak debugging output for GraphQL mutation
2021-04-12 14:16:37 -05:00
James M. Greene
504193f4f3 Use official auto-merge for repo-sync PRs (attempt #2) (#18628)
* Add github-script step to enable GitHub's official auto-merge on repo-sync PRs
* Reenable automerge action via label and fail gracefully if official auto-merge enablement fails
2021-04-12 15:26:12 +00:00
James M. Greene
d9473c42c4 Correctly resolve PR data in repo-sync workflow (#18694) 2021-04-11 00:04:23 -05:00
James M. Greene
40f6905531 Move if checks for unwanted repo-sync PRs to the Steps (#18654) 2021-04-08 15:02:01 -05:00
James M. Greene
615c4aec8f Close invalid repo-sync PRs as part of the repo-sync workflow (#18650)
* Delete flawed 'close-external-repo-sync-prs.yml' workflow since it won't run for spammy actors
* Add the core logic to close invalid repo sync PRs into a new job within the 'repo-sync.yml' workflow
2021-04-08 19:42:00 +00:00
Kevin Heis
62a8891954 Add descriptions to our actions workflows (#18019)
Co-authored-by: Sarah Edwards <skedwards88@github.com>
2021-03-23 21:31:28 +00:00
James M. Greene
3e96d6309b Revert repo-sync to its old auto-merge strategy (#18189) 2021-03-09 16:18:45 +00:00
James M. Greene
e970f121c9 GraphQL mutations require return values? (#18186) 2021-03-09 09:16:05 -06:00
James M. Greene
7526091561 Fix GraphQL syntax (#18180) 2021-03-09 05:51:49 +00:00
James M. Greene
9c58310e2a Use official auto-merge for repo-sync PRs (#17815)
* Remove automerge label from repo-sync PRs to prevent automerge workflow from kicking in

* Add github-script step to enable GitHub's official auto-merge on repo-sync PRs

* Remove unused variable
2021-03-09 05:14:02 +00:00
Rachael Sewell
148bf0901e Revert "Revert "Revert "update repo sync"" (#17935)" (#17971)
This reverts commit c371e18512.
2021-02-23 19:38:46 +00:00
Rachael Sewell
c371e18512 Revert "Revert "update repo sync"" (#17935) 2021-02-23 19:21:15 +00:00
Chiedo John
a8a2bbe27f Allow Repo Sync to continue running during freezes (#17924)
When we do deploy changes during freezes, we want them kept in sync with
the public github/docs repo. Especially during GitHub events.

Co-authored-by: chiedo <chiedo@users.noreply.github.com>
Co-authored-by: Rachael Sewell <rachmari@github.com>
2021-02-22 08:30:14 -05:00
Rachael Sewell
b0867e611b Revert "update repo sync (#17919)" (#17933) 2021-02-19 21:36:52 +00:00
Rachael Sewell
afd3cef086 update repo sync (#17919) 2021-02-19 19:59:15 +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
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
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
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
Rachael Sewell
15c1cf87a9 Add ability to manually trigger workflow (#16810) 2020-12-09 21:17:47 +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
Nick Schonning
92740f68d7 chore: Add Prettier for Yaml formatting
Related to #128
- Prettier to fix indenting/quoting across files
- Manually adjust list styles to "-" style
- Ignore all translated files from automated formatting
- Drop redundant CI env variable
2020-11-16 16:12:49 -05:00
Nick Schonning
c058d4aad8 chore: Update actions/checkout to v2.3.4 2020-11-05 18:05:39 -05:00
James M. Greene
137d168acf Update to latest repo-sync/pull-request to fix bash error (#16203) 2020-10-23 23:53:28 -05:00
James M. Greene
aea1912d7b Repo Sync updates (#16162)
* Update to latest repo-sync/pull-request Action

https://github.com/repo-sync/pull-request/pull/38

* Be more specific about the base branch when finding the PR

* Further customize the Slack notification upon failure

* Move repo freeze checks into a separate job to avoid Slack notifications every 15 minutes during freezes

* Add new workflow to remind us about deployment freezes preventing repo-sync once per day
2020-10-23 16:04:39 -05:00
Chiedo John
b5ace2293e Fix repo sync (#16146)
Co-authored-by: Chiedo <chiedo@users.noreply.github.com>
2020-10-20 20:54:46 -04:00
Chiedo
1ef8963d00 Finished moving actions to shas 2020-10-15 09:07:01 -04:00
Chiedo
8131d67969 Convert more action versions to shas 2020-10-15 08:55:22 -04:00
Chiedo
bdbe7cc9e0 Update some of the actions to Shas 2020-10-15 08:45:27 -04:00
Zeke Sikelianos
7137a4007b add preamble comment to repo-sync workflow (#15908) 2020-10-06 14:48:22 -07:00
Zeke Sikelianos
e56b1b8d29 use latest repo-sync/github-sync (#15798)
* use latest repo-sync/github-sync

* Update repo-sync.yml
2020-09-29 14:01:37 -07:00
Zeke Sikelianos
a6244af229 update wording and labels of repo-sync PRs (#15783) 2020-09-28 12:09:21 -07:00
Vanessa Yuen
3df90fc9b8 Hello git history spelunker!
Are you looking for something? Here is all of the GitHub Docs history in one single commit. Enjoy! 🎉
2020-09-27 14:10:11 +02:00