From 855186ab2ebbad5836969b8b8734482795fdbf7e Mon Sep 17 00:00:00 2001 From: Prudhvi Godithi Date: Tue, 5 Mar 2024 11:54:18 -0800 Subject: [PATCH] auto-release.yml (#789) Signed-off-by: Prudhvi Godithi --- .github/workflows/auto-release.yml | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 .github/workflows/auto-release.yml diff --git a/.github/workflows/auto-release.yml b/.github/workflows/auto-release.yml new file mode 100644 index 000000000..a9a7c4390 --- /dev/null +++ b/.github/workflows/auto-release.yml @@ -0,0 +1,25 @@ +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/github-app-token@v1.5.0 + with: + app_id: ${{ secrets.APP_ID }} + private_key: ${{ secrets.APP_PRIVATE_KEY }} + installation_id: 22958780 + - uses: actions/checkout@v2 + - uses: ncipollo/release-action@v1 + with: + github_token: ${{ steps.github_app_token.outputs.token }} + body: "Functional tests for OpenSearch Dashboards and OpenSearch Dashboards Plugins ${GITHUB_REF/refs\/tags\//}"