Skip to content

Commit

Permalink
[Backport main] 2.6 release notes and label enforcer (#1426)
Browse files Browse the repository at this point in the history
* 2.6 release notes (#1424)

* add 2.6 release notes

Signed-off-by: Derek Ho <[email protected]>

* fix up file

Signed-off-by: Derek Ho <[email protected]>

---------

Signed-off-by: Derek Ho <[email protected]>
(cherry picked from commit 7059fad)

* Automate releases based on tagging (#1436) (#1445)

* Update 2.x workflow

Signed-off-by: Simeon Widdis <[email protected]>

* Undo test-build changes from main

Signed-off-by: Simeon Widdis <[email protected]>

* Remove test

Signed-off-by: Simeon Widdis <[email protected]>

---------

Signed-off-by: Simeon Widdis <[email protected]>
(cherry picked from commit 8044bc5)

Co-authored-by: Simeon Widdis <[email protected]>

---------

Co-authored-by: Derek Ho <[email protected]>
Co-authored-by: opensearch-trigger-bot[bot] <98922864+opensearch-trigger-bot[bot]@users.noreply.github.com>
Co-authored-by: Simeon Widdis <[email protected]>
  • Loading branch information
3 people authored Mar 7, 2023
1 parent b180c42 commit a0bce50
Show file tree
Hide file tree
Showing 3 changed files with 55 additions and 0 deletions.
29 changes: 29 additions & 0 deletions .github/workflows/auto-release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
name: Releases

on:
push:
tags:
- '*'

jobs:

build:
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- name: GitHub App token
id: github_app_token
uses: tibdex/[email protected]
with:
app_id: ${{ secrets.APP_ID }}
private_key: ${{ secrets.APP_PRIVATE_KEY }}
installation_id: 22958780
- name: Get tag
id: tag
uses: dawidd6/action-get-tag@v1
- uses: actions/checkout@v2
- uses: ncipollo/release-action@v1
with:
github_token: ${{ steps.github_app_token.outputs.token }}
bodyFile: release-notes/opensearch-observability.release-notes-${{steps.tag.outputs.tag}}.md
13 changes: 13 additions & 0 deletions .github/workflows/enforce-labels.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
name: Enforce PR labels

on:
pull_request:
types: [labeled, unlabeled, opened, edited, synchronize]
jobs:
enforce-label:
runs-on: ubuntu-latest
steps:
- uses: yogevbd/[email protected]
with:
REQUIRED_LABELS_ANY: "breaking,feature,enhancement,bug,infrastructure,dependencies,documentation,maintenance,skip-changelog"
REQUIRED_LABELS_ANY_DESCRIPTION: "A release label is required: ['breaking', 'bug', 'dependencies', 'documentation', 'enhancement', 'feature', 'infrastructure', 'maintenance', 'skip-changelog']"
13 changes: 13 additions & 0 deletions release-notes/opensearch-observability.release-notes-2.6.0.0.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
## Version 2.6.0.0 Release Notes

Compatible with OpenSearch and OpenSearch Dashboards Version 2.6.0

### Infrastructure

- Add publish snapshots to maven via GHA ([#1423](https://github.com/opensearch-project/observability/pull/1423))


### Maintenance

- Revert "Removing explicit jackson dependencies ([#1381](https://github.com/opensearch-project/observability/pull/1381))
- bump version to 2.6 ([#1391](https://github.com/opensearch-project/observability/pull/1391))

0 comments on commit a0bce50

Please sign in to comment.