Skip to content
This repository has been archived by the owner on Nov 7, 2024. It is now read-only.

chore: added build step for pull requests (#6) #5

chore: added build step for pull requests (#6)

chore: added build step for pull requests (#6) #5

---
name: Release Drafter
# yamllint disable-line rule:truthy
on:
push:
branches:
- main
jobs:
version:
name: 🏷 Find next version
runs-on: ubuntu-latest
outputs:
version: ${{ steps.get_next_version.outputs.version }}
steps:
- name: ⤵️ Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: 🏷 Get next version
id: get_next_version
uses: thenativeweb/get-next-version@main
with:
prefix: 'v'
workflows:
permissions:
contents: write
pull-requests: write
name: ✏️ Draft release
runs-on: ubuntu-latest
steps:
- name: 🚀 Run Release Drafter
uses: release-drafter/release-drafter@v6.0.0
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NEXT_VERSION: ${{ needs.version.outputs.version }}