1
0
mirror of synced 2026-01-05 12:07:35 -05:00
Commit Graph

72 Commits

Author SHA1 Message Date
Kevin Heis
efe4c14d92 Merge queue prep: admin merge repo-sync prs (#30816) 2022-09-16 20:15:09 +00:00
Peter Bengtsson
e32260a358 Pin to node-version 16.15.0 to get npm 8.5.5 on all runners (#28186)
* why is 'npm ci' no longer working

* ls

* check

* check

* check3

* ubuntu-latest

* debugging more

* debugging more

* before and after

* ubuntu-latest

* try upgrading actions/setup-node

* pin to exactly 16.15.0 for npm 8.5.5

* node-version 16.15.1 EVERYWHERE

* fix cleanup
2022-06-02 09:51:14 -04:00
Peter Bengtsson
4d288d9717 test CI with Node 16.15 (#27825) 2022-05-19 19:12:18 +00:00
dependabot[bot]
b70ea9e510 Bump repo-sync/pull-request (#27083)
Bumps [repo-sync/pull-request](https://github.com/repo-sync/pull-request) from 9152b1c4aeeab247ba2ce12c5d7e693d287bf1b9 to 2.6.2. This release includes the previously tagged commit.
- [Release notes](https://github.com/repo-sync/pull-request/releases)
- [Commits](9152b1c4ae...65785d95a5)

---
updated-dependencies:
- dependency-name: repo-sync/pull-request
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Robert Sese <rsese@github.com>
2022-04-20 13:56:52 -05:00
dependabot[bot]
5515db7171 Bump actions/checkout from 2.4.0 to 3.0.1 (#27016)
Bumps [actions/checkout](https://github.com/actions/checkout) from 2.4.0 to 3.0.1.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v2.4.0...dcd71f646680f2efd8db4afa5ad64fdcba30e748)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Robert Sese <rsese@github.com>
2022-04-20 12:04:00 -05:00
Kevin Heis
10fdda9504 Update repo-sync.yml 2022-04-13 09:32:08 -07:00
Peter Bengtsson
7661dd042c use Node 16.14.x in CI now (#25305) 2022-02-15 01:13:33 +00:00
Kevin Heis
f9f27e4497 Revert "Bump actions/github-script (#24563)" (#24665)
This reverts commit 4d3c203a4f.
2022-01-26 18:59:41 +00:00
dependabot[bot]
4d3c203a4f Bump actions/github-script (#24563)
Bumps [actions/github-script](https://github.com/actions/github-script) from 2b34a689ec86a68d8ab9478298f91d5401337b7d to 5.1.0. This release includes the previously tagged commit.
- [Release notes](https://github.com/actions/github-script/releases)
- [Commits](2b34a689ec...e3cbab99d3)

---
updated-dependencies:
- dependency-name: actions/github-script
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Kevin Heis <heiskr@users.noreply.github.com>
2022-01-26 16:59:51 +00:00
dependabot[bot]
893f50cd7a Bump actions/setup-node from 2.5.0 to 2.5.1 (#24009)
Bumps [actions/setup-node](https://github.com/actions/setup-node) from 2.5.0 to 2.5.1.
- [Release notes](https://github.com/actions/setup-node/releases)
- [Commits](04c56d2f95...1f8c6b94b2)

---
updated-dependencies:
- dependency-name: actions/setup-node
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Peter Bengtsson <peterbe@github.com>
2022-01-10 09:07:53 -05:00
James M. Greene
6f2170e825 Remove duplicate CI env vars from Actions workflows (#23921) 2022-01-04 18:29:04 +00:00
James M. Greene
94659705b1 Alternative repo-sync fixes (#23892)
* Info is in the data prop

* Don't bother to comment when closing our own automated repo-sync PRs

Co-authored-by: Robert Sese <sese@github.com>
2021-12-18 14:31:40 -06:00
James M. Greene
b486966547 Add a few checks to close the repo-sync PR if no changes remain (#23839) 2021-12-17 20:37:56 +00:00
Robert Sese
0e9c08f040 Unlock before approving in repo sync (#23730)
* Unlock before approving

* Revert "Unlock before approving"

This reverts commit 2b9bc2de94b412a49d3b81f4e48d798c48abfca0.

* Set content:write so we can approve locked PRs
2021-12-15 17:01:33 +00:00
James M. Greene
3d88cae50b Add permission matrices to all Actions workflows (#23563)
* Add permission matrices to all Actions workflows

Also cleanup a few token references

* Add actions:read permissions for CodeQL

* Add prs:read permissions for unit test workflow
2021-12-14 04:37:36 +00:00
dependabot[bot]
038e81826b Bump actions/checkout from 2.3.5 to 2.4.0 (#23297)
Bumps [actions/checkout](https://github.com/actions/checkout) from 2.3.5 to 2.4.0.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](1e204e9a92...ec3a7ce113)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Kevin Heis <heiskr@users.noreply.github.com>
2021-12-02 14:15:21 +00:00
dependabot[bot]
95edf7be45 Bump actions/setup-node from 2.4.1 to 2.5.0 (#23293)
Bumps [actions/setup-node](https://github.com/actions/setup-node) from 2.4.1 to 2.5.0.
- [Release notes](https://github.com/actions/setup-node/releases)
- [Commits](270253e841...04c56d2f95)

---
updated-dependencies:
- dependency-name: actions/setup-node
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Kevin Heis <heiskr@users.noreply.github.com>
2021-12-02 13:25:56 +00:00
Peter Bengtsson
38a3afe845 don't allow creating empty PRs (#23072)
Part of #998
2021-11-23 18:26:38 +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
22f21db4a3 use Node 16.13.x for CI workflows (#22758)
Part of #1203
2021-11-11 01:23:13 +00:00
dependabot[bot]
cd74b07da1 Bump actions/checkout from 2.3.4 to 2.3.5 (#22264)
* Bump actions/checkout from 2.3.4 to 2.3.5

Bumps [actions/checkout](https://github.com/actions/checkout) from 2.3.4 to 2.3.5.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](5a4ac9002d...1e204e9a92)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

* test

* removing test, works

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Grace Park <gracepark@github.com>
2021-10-21 00:19:35 +00:00
dependabot[bot]
56a9156f98 Bump someimportantcompany/github-actions-slack-message from 1.1.0 to 1.2.2 (#22263)
* Bump someimportantcompany/github-actions-slack-message

Bumps [someimportantcompany/github-actions-slack-message](https://github.com/someimportantcompany/github-actions-slack-message) from 1.1.0 to 1.2.2.
- [Release notes](https://github.com/someimportantcompany/github-actions-slack-message/releases)
- [Commits](0b470c14b3...f8d28715e7)

---
updated-dependencies:
- dependency-name: someimportantcompany/github-actions-slack-message
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

* update allowed-actions

* 🤖 ran script/update-enterprise-dates.js

* adding comment with version number

* test

* remove b

* remove test, it works

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Grace Park <gracepark@github.com>
Co-authored-by: gracepark <gracepark@users.noreply.github.com>
Co-authored-by: Octomerger Bot <63058869+Octomerger@users.noreply.github.com>
2021-10-20 16:20:54 -07:00
dependabot[bot]
5201ca8813 Bump actions/setup-node from 2.2.0 to 2.4.1 (#22109)
* Bump actions/setup-node from 2.2.0 to 2.4.1

Bumps [actions/setup-node](https://github.com/actions/setup-node) from 2.2.0 to 2.4.1.
- [Release notes](https://github.com/actions/setup-node/releases)
- [Commits](38d90ce44d...270253e841)

---
updated-dependencies:
- dependency-name: actions/setup-node
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

* allow it moar

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Peter Bengtsson <mail@peterbe.com>
2021-10-18 13:33:34 -04:00
Robert Sese
a8b8e1af46 Approve PRs with GITHUB_TOKEN again (#22211) 2021-10-18 16:14:51 +00:00
dependabot[bot]
db2b57c751 Bump repo-sync/pull-request from 2.4.3 to 2.6 (#21985)
* Bump repo-sync/pull-request from 2.4.3 to 2.6

Bumps [repo-sync/pull-request](https://github.com/repo-sync/pull-request) from 2.4.3 to 2.6.
- [Release notes](https://github.com/repo-sync/pull-request/releases)
- [Commits](33777245b1...65194d8015)

---
updated-dependencies:
- dependency-name: repo-sync/pull-request
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

* Update repo-sync/pull-request in allowed-actions

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: James M. Greene <JamesMGreene@github.com>
2021-10-08 06:38:07 +00:00
James M. Greene
4ff2354ada Approve repo-sync and translation PRs with docubot (#21876) 2021-10-04 17:37:07 +00:00
James M. Greene
92cae89506 Reduce repo-sync frequency from every 15 minutes to every 30 minutes (#21841) 2021-10-01 11:57:01 -05:00
Mike Surowiec
3c0e4e03b8 fix: pin workflow node-version to 16.8.x (#21361) 2021-09-08 11:08:53 -04:00
Kevin Heis
b99c565f12 Try running npm ci to have husky do its thing before repo-sync (#20575) 2021-07-28 15:33:40 -07:00
Kevin Heis
73609ad2b7 Add CI=true for docker container for repo-sync (#20563)
* Skip git hooks on CI

* Update repo-sync.yml
2021-07-27 21:00:38 -07:00
James M. Greene
ad9a6268e3 Lock repo-sync PR conversations in the open source repo (#20062) 2021-06-22 19:51:10 +00:00
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