You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# Automatically run the setup steps when they are changed to allow for easy validation, and
4
+
# allow manual testing through the repository's "Actions" tab
5
+
on:
6
+
workflow_dispatch:
7
+
push:
8
+
branches:
9
+
- main
10
+
paths:
11
+
- .github/workflows/copilot-setup-steps.yml
12
+
pull_request:
13
+
paths:
14
+
- .github/workflows/copilot-setup-steps.yml
15
+
16
+
jobs:
17
+
# The job MUST be called `copilot-setup-steps` or it will not be picked up by Copilot.
18
+
copilot-setup-steps:
19
+
runs-on: ubuntu-latest
20
+
# Set the permissions to the lowest permissions possible needed for your steps.
21
+
# Copilot will be given its own token for its operations.
22
+
permissions:
23
+
# If you want to clone the repository as part of your setup steps, for example to install dependencies, you'll need the `contents: read` permission. If you don't clone the repository in your setup steps, Copilot will do this for you automatically after the steps complete.
24
+
contents: read
25
+
26
+
# You can define any steps you want, and they will run before the agent starts.
27
+
# If you do not check out your code, Copilot will do this for you.
Copy file name to clipboardExpand all lines: CONTRIBUTING.md
+16-2Lines changed: 16 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -25,7 +25,7 @@ You should install the version specified in `global.json` or a later version wit
25
25
the same major.minor.Bxx "hundreds" band.
26
26
For example if 2.2.300 is specified, you may install 2.2.300, 2.2.301, or 2.2.310
27
27
while the 2.2.400 version would not be considered compatible by .NET SDK.
28
-
See [.NET Core Versioning](https://docs.microsoft.com/dotnet/core/versions/) for more information.
28
+
See [.NET Core Versioning](https://learn.microsoft.com/dotnet/core/versions/) for more information.
29
29
30
30
## Package restore
31
31
@@ -44,7 +44,7 @@ Building, testing, and packing this repository can be done by using the standard
44
44
## Releases
45
45
46
46
Use `nbgv tag` to create a tag for a particular commit that you mean to release.
47
-
[Learn more about `nbgv` and its `tag` and `prepare-release` commands](https://github.com/dotnet/Nerdbank.GitVersioning/blob/main/doc/nbgv-cli.md).
47
+
[Learn more about `nbgv` and its `tag` and `prepare-release` commands](https://dotnet.github.io/Nerdbank.GitVersioning/docs/nbgv-cli.html).
48
48
49
49
Push the tag.
50
50
@@ -82,3 +82,17 @@ Configuration is in the `.github/renovate.json` file.
82
82
When changing the renovate.json file, follow [these validation steps](https://docs.renovatebot.com/config-validation/).
83
83
84
84
If Renovate is not creating pull requests when you expect it to, check that the [Renovate GitHub App](https://github.com/apps/renovate) is configured for your account or repo.
85
+
86
+
## Merging latest from Library.Template
87
+
88
+
### Maintaining your repo based on this template
89
+
90
+
The best way to keep your repo in sync with Library.Template's evolving features and best practices is to periodically merge the template into your repo:
91
+
`
92
+
```ps1
93
+
git fetch
94
+
git checkout origin/main
95
+
.\tools\MergeFrom-Template.ps1
96
+
# resolve any conflicts, then commit the merge commit.
0 commit comments