-
Notifications
You must be signed in to change notification settings - Fork 6
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
PR automation and repo/workflow-hardening #468
Merged
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
- Update the organisation name. - Fix some Markdown lint warnings. - Ignore major versions of `Microsoft.Extensions.DependencyInjection` from dependabot.
- Validate the NuGet packages before publishing. - Publish packages to NuGet as a separate job after the build. - Harden GitHub workflow by pinning actions by SHA.
Add a GitHub Actions workflow to run a CodeQL scan.
Add a workflow to review dependencies.
- Use reusable workflow for updating the .NET SDK. - Use a GitHub app to generate updates instead of `GITHUB_TOKEN` so CI runs.
Add a workflow to automatically approve and merge .NET SDK updates.
Add a workflow to automatically approve and merge dependabot updates for GitHub-authored actions.
Codecov Report
@@ Coverage Diff @@
## main #468 +/- ##
=======================================
Coverage ? 95.08%
=======================================
Files ? 27
Lines ? 610
Branches ? 0
=======================================
Hits ? 580
Misses ? 30
Partials ? 0
Flags with carried forward coverage won't be shown. Click here to find out more. 📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more |
Remove TFMs for versions of .NET that are no longer supported.
Fix false-positive CA1812 warning.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR makes a number of changes to GitHub actions to automate more of the repo maintenance and also hardens the repo against various recommendations that are made by the Open Source Software Foundation (OSSF) Scorecard.
The automation is based on the approaches in this repository.
Changes:
GITHUB_TOKEN
so that CI runs.