15 Commits
Author SHA1 Message Date
Kevin Jones 3c7453247d Update the latest node (#67060) 2022-03-24 06:07:08 -07:00
Andy GockeandEric Erhardt c3e1d21c2f Delete create-codespaces-prebuild.yml (#67015)
* Delete create-codespaces-prebuild.yml

* Remove reference to the prebuild action and link to the codespaces doc instead.

Co-authored-by: Eric Erhardt <[email protected]>
2022-03-22 21:44:24 -06:00
Dan Moseley f8fb21773a Add reminder for package authoring (#65480) 2022-02-16 20:32:54 -07:00
Alexander Köplinger a512284f5d Improve backport.yml to only check start of line and instructions for team visibility (#64915)
Before the bot reacted to the /backport command anywhere in the comment, now it needs to be at the start of the line.

Additionally, if the check for repo collaborator fails print a link to the Microsoft team on GitHub to change visibility (most common failure case).
2022-02-07 18:24:52 +01:00
Eric Erhardt e1ea1a6ba7 Run Codespaces prebuild only in upstream repo (#62162)
The codespaces prebuild action can only run in the dotnet/runtime repo and not forks. The feature needs to be enabled for each repo and will fail if it isn't enabled. In order to minimize failure notifications, add a check to the action so it only runs against dotnet/runtime.
2021-11-29 20:47:25 -06:00
Chris Ross ab18c01c3c Add a github action to sync shared source from aspnetcore (#61999) 2021-11-25 11:07:26 -08:00
Santiago Fernandez Madero c566e25f1e Give create codespaces prebuild action right permissions (#61651) 2021-11-15 20:36:45 -08:00
Juan Hoyos 1c7675493d Allow for backport to report progress to PR (#61637) 2021-11-15 15:48:08 -08:00
Kevin Jones 6401f332f0 Restrict GITHUB_TOKEN in markdownlint action (#61622)
Currently, Actions in the dotnet/runtime repository have read/write
access by default, unless their permissions have been explicitly declared.

The markdownlint workflow can be restricted from all access except the
repository contents. This limits what the 3rd party `markdownlint-cli`
npm package can do which is installed as part of the workflow.
2021-11-15 15:40:48 -08:00
Juan Hoyos 9fceaa0f4b Give write access to backport action explicitly (#61626) 2021-11-15 13:38:50 -08:00
Eric Erhardt 8f8e8f0493 Update Codespaces configuration (#60900)
- mark onCreateCommand.sh as executable
- add more regions so users outside of West US can take advantage of prebuilt codespaces
- use v1-stable version, as recommended by docs
- use faster machines for dev productivity
2021-10-27 14:45:08 -05:00
Eric Erhardt 8e4c996ae3 Add initial codespaces support for dotnet/runtime (#59723)
* Add initial codespaces support for dotnet/runtime

* Enable codespaces-prebuild
2021-09-29 11:41:36 -05:00
Alexander Köplinger 2e1273019c Improve backport command (#51306)
GitHub Actions started doing shallow checkouts so we often ran into the case where applying the patch would fail with an error due to the commit blobs not being available:

```
error: sha1 information is lacking or useless (eng/pipelines/common/xplat-setup.yml).
error: could not build fake ancestor
```

Fix this by always checking out the whole history. Since this makes checkout quite slow (~2mins), refactor the action so we post the "Started backporting" comment before doing the checkout so the user isn't confused why nothing happens.
2021-04-15 20:06:02 +02:00
Youssef VictorandDan Moseley 5d5c3e7a58 Enable markdownlint rule (MD009) (#40887)
* Create markdownlint.yml

* Create markdownlint-problem-matcher.json

* Create .markdownlint.json

* Update .markdownlint.json

* fix violations

* fixes

* Remove "push" section

As advised by @viktorhofer so it's quite clear it only runs in CI.

Co-authored-by: Dan Moseley <[email protected]>
2021-02-08 10:43:40 -08:00
Alexander Köplinger 60eff3f376 Add GitHub Action for backporting PRs to branches (#40955)
This adds an action that can be triggered with a special comment on a PR: `/backport to <some branch>`.
The action then creates a new PR to the target branch with the commits from the source PR applied.
2020-08-19 00:44:50 +02:00