From 689e2ca214239742f2070aedd62c7f8ecd2499f7 Mon Sep 17 00:00:00 2001 From: Jaspar S Date: Mon, 6 Feb 2023 09:44:44 +0100 Subject: [PATCH] Change: Use universal release action, not python specific (#851) * Change: Use universal release action, not python specific * Remove PR template --- .github/PULL_REQUEST_TEMPLATE.md | 31 ------------------- .github/workflows/release-pontos-manually.yml | 3 +- .github/workflows/release-pontos.yml | 3 +- 3 files changed, 4 insertions(+), 33 deletions(-) delete mode 100644 .github/PULL_REQUEST_TEMPLATE.md diff --git a/.github/PULL_REQUEST_TEMPLATE.md b/.github/PULL_REQUEST_TEMPLATE.md deleted file mode 100644 index 3bb4870d..00000000 --- a/.github/PULL_REQUEST_TEMPLATE.md +++ /dev/null @@ -1,31 +0,0 @@ -**What**: - - - -**Why**: - - - -**How**: - - - -**Checklist**: - - - - - -- [ ] Tests -- [ ] PR merge commit message adjusted diff --git a/.github/workflows/release-pontos-manually.yml b/.github/workflows/release-pontos-manually.yml index bf63c3ba..27e18280 100644 --- a/.github/workflows/release-pontos-manually.yml +++ b/.github/workflows/release-pontos-manually.yml @@ -13,10 +13,11 @@ jobs: runs-on: 'ubuntu-latest' steps: - name: Release with release action - uses: greenbone/actions/release-python@v2 + uses: greenbone/actions/release@v2 with: version: 3.8 conventional-commits: true + ref: ${{ github.event.inputs.branch }} github-user: ${{ secrets.GREENBONE_BOT }} github-user-mail: ${{ secrets.GREENBONE_BOT_MAIL }} github-user-token: ${{ secrets.GREENBONE_BOT_TOKEN }} diff --git a/.github/workflows/release-pontos.yml b/.github/workflows/release-pontos.yml index b4683ba1..5022f780 100644 --- a/.github/workflows/release-pontos.yml +++ b/.github/workflows/release-pontos.yml @@ -12,10 +12,11 @@ jobs: runs-on: 'ubuntu-latest' steps: - name: Release with release action - uses: greenbone/actions/release-python@v2 + uses: greenbone/actions/release@v2 with: version: 3.8 conventional-commits: true + ref: ${{ github.ref_name }} github-user: ${{ secrets.GREENBONE_BOT }} github-user-mail: ${{ secrets.GREENBONE_BOT_MAIL }} github-user-token: ${{ secrets.GREENBONE_BOT_TOKEN }}