Skip to content
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

Change GitHub workflows and enable automatic changelogs and semantic versioning #273

Merged
merged 89 commits into from
Jun 13, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
89 commits
Select commit Hold shift + click to select a range
02e70f7
update release workflow
Freezor Jun 11, 2024
17a1af0
fix branch name extraction
Freezor Jun 11, 2024
6fe55db
fix branch retrieval
Freezor Jun 11, 2024
6ae17fa
Try to fix branch name extraction
Freezor Jun 11, 2024
25ebf98
fix naming of branch based on tag commit
Freezor Jun 11, 2024
f7075e4
syntax fix
Freezor Jun 11, 2024
f8ee93a
update release packaging and remove build version number
Freezor Jun 11, 2024
5bd85f2
update workflow
Freezor Jun 11, 2024
fe6a899
add release changelog
Freezor Jun 11, 2024
6010a0b
Remove "needs" as this is not part of the steps syntaxs
Freezor Jun 11, 2024
7c88109
Fix version error for actions/create-release
Freezor Jun 11, 2024
5e335cb
add additional log outpu
Freezor Jun 11, 2024
989d981
create new workflows
Freezor Jun 12, 2024
7d261bd
fix workflows
Freezor Jun 12, 2024
1d556ac
update workflow
Freezor Jun 12, 2024
e16deaf
fix workflow setupt
Freezor Jun 12, 2024
9e533fb
update workflow and FIx Project Renaming
Freezor Jun 12, 2024
cb8a374
fix workflow order and fix project renaming
Freezor Jun 12, 2024
859aed7
fix workflow order and fix project renaming
Freezor Jun 12, 2024
a7718a5
revert commit on UpdateProjectVersions.ps1
Freezor Jun 12, 2024
8f86fa1
fix release asset naming
Freezor Jun 12, 2024
007d360
update release-drafter configuration
Freezor Jun 12, 2024
eda89e9
Fix release-drafter configuration and fix asset upload
Freezor Jun 12, 2024
b71b963
try fixing asset upload
Freezor Jun 12, 2024
ba857c1
Fixing upload and changelog creation
Freezor Jun 12, 2024
96825e2
fix versioning
Freezor Jun 12, 2024
164cda1
TRY updating asset upload
Freezor Jun 12, 2024
86f0988
Fix changelog configuration
Freezor Jun 12, 2024
6657a2b
Fix attaching release assets
Freezor Jun 12, 2024
5989fa9
Fix Version naming for release asset upload
Freezor Jun 12, 2024
244e6cb
Fix release Note generation
Freezor Jun 12, 2024
e89ac1d
update changelog template
Freezor Jun 12, 2024
7dfa654
update changelog template
Freezor Jun 12, 2024
e8bb8f9
update changelog builder config
Freezor Jun 12, 2024
2e983e7
Merge branch 'eclipse-aaspe:main' into main
Freezor Jun 12, 2024
9f0b074
Freezor/refactor prpgram env from array to enumerable (#1)
Freezor Jun 12, 2024
7815e09
Fix changelog builder
Freezor Jun 12, 2024
9e3bd8b
Merge remote-tracking branch 'origin/main'
Freezor Jun 12, 2024
3e76adb
update path of changelog config
Freezor Jun 12, 2024
d608241
fix changelog for no prev tags
Freezor Jun 12, 2024
6a0daf6
Freezor/refactor program env from array to enumerable (#2)
Freezor Jun 12, 2024
581928d
Merge remote-tracking branch 'origin/main'
Freezor Jun 12, 2024
e3b8767
fix build syntax
Freezor Jun 12, 2024
e022dd0
Update prerelease-on-merge-to-main.yml
Freezor Jun 12, 2024
932cce6
fix changelog_configuration.json
Freezor Jun 12, 2024
cf0c50c
update workflows
Freezor Jun 12, 2024
63a3cae
update fetching of latest tag to build release notes againt
Freezor Jun 12, 2024
9b2161f
update changelog_configuration.json
Freezor Jun 12, 2024
a9ddbe8
update path to changelog_configuration.json
Freezor Jun 12, 2024
a067804
fix output for latest tag extraction
Freezor Jun 12, 2024
e033584
fix check-release.yml
Freezor Jun 12, 2024
a2e5655
fix timestamp in check-release.yml
Freezor Jun 12, 2024
e5cfc8f
fix timestamp variable in set_timestamp
Freezor Jun 12, 2024
45b987d
fix timestamp usage
Freezor Jun 12, 2024
35db7d1
fix date extraction
Freezor Jun 12, 2024
a116a26
fix again
Freezor Jun 12, 2024
0c7e01c
update datetime string
Freezor Jun 12, 2024
695160b
update artefact uploade
Freezor Jun 12, 2024
1ccbe60
Create codeql.yml
Freezor Jun 12, 2024
c177a2a
remove codeql.yml
Freezor Jun 12, 2024
17aec3f
fix deprecated github action versions
Freezor Jun 12, 2024
a9403f1
add .editorconfig
Freezor Jun 12, 2024
25263f9
update file styling
Freezor Jun 12, 2024
600e3d1
add new code analysis workflow
Freezor Jun 13, 2024
85b25c2
fix analysis workflow
Freezor Jun 13, 2024
874d8c5
update analysis runner
Freezor Jun 13, 2024
3a90784
update analysis
Freezor Jun 13, 2024
aa7ae29
fix path to solution
Freezor Jun 13, 2024
276b0a6
improve message
Freezor Jun 13, 2024
e72b4d9
add format report
Freezor Jun 13, 2024
a7dd5eb
change verbosity and update editorconfig
Freezor Jun 13, 2024
54c03e2
fix dotnetformat command
Freezor Jun 13, 2024
7db0195
change workflow
Freezor Jun 13, 2024
609eb80
fix analysis
Freezor Jun 13, 2024
4236b14
add codeQL analytics
Freezor Jun 13, 2024
6a9eda6
update code analysis
Freezor Jun 13, 2024
b623163
update build steps for codeQL
Freezor Jun 13, 2024
716c7a3
update build step
Freezor Jun 13, 2024
2aa0831
update codeql build steps
Freezor Jun 13, 2024
fe9bbdf
Re-Order steps
Freezor Jun 13, 2024
d95ebdc
remove autobuild
Freezor Jun 13, 2024
9538eb7
add extended query suite
Freezor Jun 13, 2024
4a49852
update workflow naming
Freezor Jun 13, 2024
b95b3b8
remove check-style.yml
Freezor Jun 13, 2024
f44ba52
remove build-docker-images.yml as it is only used at one specific bra…
Freezor Jun 13, 2024
4d48360
remove build-and-publish-docker-images-release.yml as it is now used …
Freezor Jun 13, 2024
f563e25
Update workflow names and include docker build and release job
Freezor Jun 13, 2024
5346726
remove check-release.yml workflow to be triggered on push to main, as…
Freezor Jun 13, 2024
61d3963
Merge branch 'freezor/workflow-changes'
Freezor Jun 13, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
111 changes: 111 additions & 0 deletions .github/changelog_configuration.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,111 @@
{
"categories": [
{
"title": "## ⚡️ Added",
"labels": [
"feature",
"add",
"added"
]
},
{
"title": "## 🐛 Fixed",
"labels": [
"fix",
"fixed",
"bug",
"bugfix"
]
},
{
"title": "## 🔄 Changed",
"labels": [
"changed",
"change",
"chore",
"adapted"
]
},
{
"title": "## 🕰 Deprecated",
"labels": [
"deprecated",
"deprecate",
"obsolete",
"obsoleted"
]
},
{
"title": "## 🗑 Removed",
"labels": [
"removed",
"deleted",
"delete"
]
},
{
"title": "## 🚀 Dependencies",
"labels": [
"dependencies"
]
},
{
"title": "## 🛑 Breaking Changes",
"labels": [
"breaking"
]
},
{
"title": "## 🧪 Tests",
"labels": [
"test"
]
}
],
"ignore_labels": [
"ignore"
],
"sort": {
"order": "ASC",
"on_property": "mergedAt"
},
"template": "# 📦 Changelog\n\n<details>\n<summary>\n\n## Categories\n\n{{CATEGORIES}}\n</summary>\n\n# {{UNCATEGORIZED}}\n\n[🔗 Release Diff](RELEASE_DIFF)\n\n## 👥 Contributors\n\n{{CONTRIBUTORS}}\n</details>",
"pr_template": "- #{{TITLE}} (by {{AUTHOR}} in ##{{NUMBER}})",
"empty_template": "- No changes. See the [Changelog](CHANGELOG.md) for more information.",
"label_extractor": [
{
"pattern": "(.*)",
"target": "$1",
"flags": "gu"
}
],
"reference": {
"pattern": ".*\\#(.*).*",
"on_property": "body",
"method": "replace",
"target": "$1"
},
"transformers": [
{
"pattern": "[\\-\\*] (\\[(...|TEST|CI|SKIP)\\])( )?(.+?)\n(.+?[\\-\\*] )(.+)",
"target": "- $4\n - $6"
}
],
"trim_values": false,
"max_tags_to_fetch": 200,
"max_pull_requests": 200,
"max_back_track_time_days": 365,
"exclude_merge_branches": [
"Owner/qa"
],
"tag_resolver": {
"method": "semver",
"filter": {
"pattern": "api-(.+)",
"flags": "gu"
}
},
"base_branches": [
"dev"
]
}
5 changes: 4 additions & 1 deletion .github/pull_request_template.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@
# Description

Please include a summary of the changes and the related issue. Please also include relevant motivation and context. List any dependencies that are required for this change.
Please include a summary of the changes and the related issue. Please also include relevant motivation and context. List
any dependencies that are required for this change.

## Motivation and Context

<!--- Why is this change required? What problem does it solve? -->
<!--- If it fixes an open issue, please link to the issue here. -->

Expand All @@ -18,6 +20,7 @@ Please delete options that are not relevant.
- [ ] This change requires a documentation update

## How Has This Been Tested?

<!--- Please describe in detail how you tested your changes. -->
<!--- Include details of your testing environment, and the tests you ran to -->
<!--- see how your change affects other areas of the code, etc. -->
Expand Down
110 changes: 0 additions & 110 deletions .github/workflows/build-and-package-release.yml

This file was deleted.

72 changes: 0 additions & 72 deletions .github/workflows/build-and-publish-docker-images-release.yml

This file was deleted.

7 changes: 2 additions & 5 deletions .github/workflows/build-and-publish-docker-images.yml
Original file line number Diff line number Diff line change
@@ -1,17 +1,14 @@
name: Build-and-publish-docker-images-workflow
name: Build and publish docker images when release is published

on:
push:

release:
types: [ published ]

jobs:
Build-and-publish-docker-images:
runs-on: ubuntu-latest
if: |
contains(github.event.pull_request.body, 'The workflow build-and-publish-docker-images was intentionally skipped.') == false &&
contains(github.event.head_commit.message, 'DockerHub')
contains(github.event.pull_request.body, 'The workflow build-and-publish-docker-images was intentionally skipped.') == false
steps:
- uses: actions/checkout@master

Expand Down
24 changes: 0 additions & 24 deletions .github/workflows/build-docker-images.yml

This file was deleted.

Loading
Loading