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

Adding version badge and update auto release and codecov yml #16

Merged
merged 2 commits into from
Oct 2, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
10 changes: 10 additions & 0 deletions .codecov.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
---
coverage:
precision: 2
round: down
range: '70...90'
status:
project:
default:
target: 70%
threshold: 3%
25 changes: 25 additions & 0 deletions .github/workflows/releases.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: Release Automation App

on:
push:

permissions:
contents: write

jobs:
release-automation-app:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Get Version
run: echo "app_version=$(jq -r .version package.json)" >> "$GITHUB_ENV"
- name: Create Release
id: create_release
uses: softprops/action-gh-release@v2
with:
tag_name: ${{ env.app_version }}
name: ${{ env.app_version }}
generate_release_notes: true
draft: false
prerelease: false
make_latest: true
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
[![](https://img.shields.io/codecov/c/gh/opensearch-project/automation-app)](https://app.codecov.io/gh/opensearch-project/automation-app)
![](https://img.shields.io/github/package-json/v/opensearch-project/automation-app?filename=package.json)

<img src="https://opensearch.org/assets/img/opensearch-logo-themed.svg" height="64px">

Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "opensearch-automation-app",
"version": "0.1.2",
"version": "0.1.3",
"description": "An Automation App that handles all your GitHub Repository Activities",
"author": "Peter Zhu",
"homepage": "https://github.com/opensearch-project/automation-app",
Expand Down
Loading