Files
docker-elk/.github/workflows/auto-release.yml
renovate[bot] 41448ada23 chore(deps): pin dependencies (#8)
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-02-09 20:55:29 +02:00

28 lines
953 B
YAML

name: auto-release
on:
push:
# branches to consider in the event; optional, defaults to all
branches:
- main
# pull_request event is required only for autolabeler
pull_request:
# Only following types are handled by the action, but one can default to all as well
types: [ opened, reopened, synchronize ]
jobs:
publish:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
# Drafts your next Release notes as Pull Requests are merged into "main"
- uses: release-drafter/release-drafter@b1476f6e6eb133afa41ed8589daba6dc69b4d3f5 # v6
with:
publish: false
prerelease: true
config-name: auto-release.yml
# allows autolabeler to run without unmerged PRs from being added to draft
disable-releaser: ${{ github.ref_name != 'main' }}
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}