Skip to content

Commit

Permalink
Work CI-CD
Browse files Browse the repository at this point in the history
- Add github action to generate changelog.
- Remove private feed from nuget config.
- Fix AZDO trigger list.

***NO_CI***
  • Loading branch information
josesimoes committed Jan 30, 2025
1 parent 6931bb3 commit 3c74f2f
Show file tree
Hide file tree
Showing 4 changed files with 61 additions and 4 deletions.
45 changes: 45 additions & 0 deletions .github/.changelog-config.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
{
"categories": [
{
"title": "## New Features and enhancements",
"labels": [
"Type: enhancement"
],
"exhaustive": true
},
{
"title": "## Bug Fixes",
"labels": [
"Type: bug"
],
"exhaustive": true
},
{
"title": "## Documentation",
"labels": [
"Type: documentation"
],
"exhaustive": true
},
{
"title": "## ⚠️ Breaking Changes",
"labels": [
"Breaking-Change"
],
"exhaustive": true
},
{
"title": "## Updated dependencies",
"labels": [
"Type: dependencies"
],
"exhaustive": true
}
],
"sort": "ASC",
"template": "${{CHANGELOG}}\n\n**Full Changelog:** ${{RELEASE_DIFF}}\n\nThe following NuGet package is available from this release:\n\n:package: [nanoFramework.Hosting](https://www.nuget.org/packages/nanoFramework.Hosting/)",
"pr_template": "* ${{TITLE}} by @${{AUTHOR}} in #${{NUMBER}}",
"empty_template": "- no changes",
"max_tags_to_fetch": 200,
"max_pull_requests": 200
}
16 changes: 16 additions & 0 deletions .github/workflows/generate-changelog.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
# Copyright (c) .NET Foundation and Contributors
# See LICENSE file in the project root for full license information.

name: Generate Changelog
run-name: Generate changelog

on:
push:
tags:
- '*'

jobs:
compose_changelog:
name: nanoFramework
uses: nanoframework/nf-tools/.github/workflows/generate-changelog.yml@main
secrets: inherit
1 change: 0 additions & 1 deletion NuGet.Config
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,5 @@
<configuration>
<packageSources>
<add key="NuGet" value="https://api.nuget.org/v3/index.json" protocolVersion="3" />
<add key="Azure Artifacts nanoFramework dev" value="https://pkgs.dev.azure.com/nanoframework/feed/_packaging/sandbox/nuget/v3/index.json" protocolVersion="3" />
</packageSources>
</configuration>
3 changes: 0 additions & 3 deletions azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,15 +9,12 @@ trigger:
- release-*
paths:
exclude:
- .github_changelog_generator
- .gitignore
- CHANGELOG.md
- CODE_OF_CONDUCT.md
- LICENSE.md
- README.md
- NuGet.Config
- assets/*
- config/*
- .github/*

# PR always trigger build
Expand Down

0 comments on commit 3c74f2f

Please sign in to comment.