Skip to content

Auto Releaser

Auto Releaser #322

Workflow file for this run

# SPDX-FileCopyrightText: 2024 Weston Schmidt <[email protected]>
# SPDX-License-Identifier: Apache-2.0
---
name: Auto Releaser
on:
schedule:
- cron: '0 10 * * *'
workflow_dispatch:
jobs:
release:
permissions: write-all
runs-on: ubuntu-latest
steps:
- name: Checkout Code
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- name: Get Next Version
id: semver
uses: ietf-tools/semver-action@2415a9e79db34eb828a8dc1d20d4890725737227 # v1.8.0
with:
token: ${{ github.token }}
branch: main
patchList: fix, bugfix, perf, refactor, test, tests, chore
noVersionBumpBehavior: silent
noNewCommitBehavior: silent
- name: Create Release
if: |
steps.semver.outputs.next != ''
uses: ncipollo/release-action@2c591bcc8ecdcd2db72b97d6147f871fcd833ba5 # v1.14.0
with:
name: ${{ steps.semver.outputs.next }}
tag: ${{ steps.semver.outputs.next }}
commit: ${{ github.sha }}
token: ${{ github.token }}