mirror of
https://github.com/ivuorinen/docker-elk.git
synced 2026-01-26 03:34:01 +00:00
28 lines
953 B
YAML
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@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5
|
|
# 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 }}
|