Commit Graph

13 Commits

Author SHA1 Message Date
Azure SDK Bot
4d829f32ba
Sync eng/common directory with azure-sdk-tools for PR 8830 (#5915)
* Add RestAPISpecsDocsRepos to branch cleanup.

* Remove commented out yml, add pre-message to limit output and output core limit at the start of processing

* updates for feedback

---------

Co-authored-by: James Suplizio <jasupliz@microsoft.com>
2024-08-15 10:03:50 -07:00
Azure SDK Bot
71416d73b1
Sync eng/common directory with azure-sdk-tools for PR 7181 (#5057)
* Update branch deletion code

- Update to use the gh cli for github operations
- Switch to using graphql for pulling branches as the rest api
  starts to fail after a certain number of branches and we can
  also pull back all the associated data like pull request info
  and commit date all in one query.
- switc to running on ubuntu 1ES pool

Improve query error handling

Fix condition

Fix slash escaping on the command line

clean-up pipeline

* Update eng/common/scripts/Delete-RemoteBranches.ps1

Co-authored-by: Ben Broderick Phillips <ben@benbp.net>

* Update eng/common/scripts/Delete-RemoteBranches.ps1

Co-authored-by: Ben Broderick Phillips <ben@benbp.net>

---------

Co-authored-by: Wes Haggard <Wes.Haggard@microsoft.com>
Co-authored-by: Wes Haggard <weshaggard@users.noreply.github.com>
Co-authored-by: Ben Broderick Phillips <ben@benbp.net>
2023-10-27 13:48:04 -07:00
Azure SDK Bot
a07447b08c
Sync common script changes from azure-sdk repo (#4704)
Co-authored-by: Wes Haggard <Wes.Haggard@microsoft.com>
2023-06-07 19:35:59 -07:00
Azure SDK Bot
e08c281cac
Eng workflows sync and branch cleanup additions (#4611)
Co-authored-by: James Suplizio <jasupliz@microsoft.com>
2023-05-04 15:16:36 -07:00
Azure SDK Bot
644ab3e0b7
Sync eng/common directory with azure-sdk-tools for PR 3342 (#3664)
* Delete PR and branch which central PR is closed

* more logging changes

* resume the delete operations.

* Change the pr link directly

* fix the regex

* Refactor on regex name

* change the function to inline logic

* change typo

* delete on branch

* make changes on comments

* add commnets

* Update eng/common/scripts/Delete-RemoteBranches.ps1

Co-authored-by: Wes Haggard <weshaggard@users.noreply.github.com>

* Update eng/common/scripts/Delete-RemoteBranches.ps1

Co-authored-by: Wes Haggard <weshaggard@users.noreply.github.com>

* Update eng/common/scripts/Delete-RemoteBranches.ps1

Co-authored-by: Wes Haggard <weshaggard@users.noreply.github.com>

* Update eng/common/scripts/Delete-RemoteBranches.ps1

Co-authored-by: Wes Haggard <weshaggard@users.noreply.github.com>

Co-authored-by: sima-zhu <sizhu@microsoft.com>
Co-authored-by: Sima Zhu <48036328+sima-zhu@users.noreply.github.com>
Co-authored-by: Wes Haggard <weshaggard@users.noreply.github.com>
2022-05-23 14:47:48 -07:00
Azure SDK Bot
e788cf6303
Sync eng/common directory with azure-sdk-tools for PR 3250 (#3595)
* Change the direction of the commit date

* Log on right place

* remove auth

* fix typo

* Add auth token back

* add delete back

* Update eng/common/scripts/Delete-RemoteBranches.ps1

Co-authored-by: Wes Haggard <weshaggard@users.noreply.github.com>

* Update Delete-RemoteBranches.ps1

* Update Delete-RemoteBranches.ps1

* Update Delete-RemoteBranches.ps1

* Update Delete-RemoteBranches.ps1

* Update Delete-RemoteBranches.ps1

Co-authored-by: sima-zhu <sizhu@microsoft.com>
Co-authored-by: Sima Zhu <48036328+sima-zhu@users.noreply.github.com>
Co-authored-by: Wes Haggard <weshaggard@users.noreply.github.com>
2022-04-28 12:51:29 -07:00
Azure SDK Bot
d1be7c8bfd
Remove the daily branch before date (#3593)
Co-authored-by: sima-zhu <sizhu@microsoft.com>
2022-04-28 08:23:06 -07:00
Azure SDK Bot
e279c9220b
Add the ability to check for open pull request to a different repo. (#2396)
Co-authored-by: Chidozie Ononiwu <chononiw@microsoft.com>
2021-06-03 15:51:40 -07:00
Azure SDK Bot
e2bfa85d8b
Sync eng/common directory with azure-sdk-tools for PR 1203 (#999)
* Refactoring artifact-metadata-parsing.ps1, update-docs-metadata.ps1, and create-tags-and-git-release.ps1

* Clean up common imports

* Refactor Update-docs-ci.ps1

Co-authored-by: Chidozie Ononiwu <chononiw@microsoft.com>
2020-11-18 21:50:29 -08:00
Azure SDK Bot
c76fe99788
Remove AmendCommit parameter (#893)
Co-authored-by: Chidozie Ononiwu <chononiw@microsoft.com>
2020-11-02 19:48:58 -08:00
Azure SDK Bot
a09ceeaa01
Update Delete-RemoteBranches.ps1 (#849)
Co-authored-by: Chidozie Ononiwu <chononiw@microsoft.com>
2020-10-23 17:39:49 -07:00
Azure SDK Bot
50a1354aaf
Sync eng/common directory with azure-sdk-tools for PR 1091 (#790)
* Refactpr Submit Pull Request Script

* Refactor logic for interacting with Pull Requests

* Rework API Lib

Co-authored-by: Chidozie Ononiwu <chononiw@microsoft.com>
2020-10-16 13:06:31 -07:00
Azure SDK Bot
33025d7b23
Sync eng/common directory with azure-sdk-tools for PR 1088 (#775)
Sync eng/common directory with azure-sdk-tools for PR https://github.com/Azure/azure-sdk-tools/pull/1088
 See [eng/common workflow](https://github.com/Azure/azure-sdk-tools/blob/master/eng/common/README.md#workflow)
2020-10-14 03:09:12 +00:00