1
0
mirror of https://github.com/quay/quay.git synced 2026-01-29 08:42:15 +03:00
Files
quay/.github/workflows/prepare-release.yml
Oleg Bulatov 53e4394272 chore: Remove Docker Build jobs (PROJQUAY-5519) (#1888)
* chore: Use recent versions of GitHub Actions

* chore: Extract hack/verify-requirements.sh

* chore: Remove Docker Builds from CI and keep Cypress Tests

* chore: Use cypress-io/github-action@v5
2023-05-18 16:45:42 +02:00

45 lines
1.5 KiB
YAML

---
name: Prepare Release
on:
workflow_dispatch:
inputs:
branch:
description: 'the branch to prepare the release against'
required: true
default: 'master'
tag:
description: 'the tag to be released'
rdequired: true
jira:
description: 'PROJQUAY jira release issue'
required: true
jobs:
prepare:
name: Prepare Release
runs-on: 'ubuntu-latest'
steps:
- name: Checkout
uses: actions/checkout@v3
with:
fetch-depth: 0
ref: ${{ github.event.inputs.branch }}
- name: Changelog
run: |
curl -o /tmp/git-chglog.tar.gz -fsSL\
https://github.com/git-chglog/git-chglog/releases/download/v0.14.0/git-chglog_0.14.0_linux_amd64.tar.gz
tar xvf /tmp/git-chglog.tar.gz --directory /tmp
chmod u+x /tmp/git-chglog
echo "creating change log for tag: ${{ github.event.inputs.tag }}"
/tmp/git-chglog --next-tag "${{ github.event.inputs.tag }}" --tag-filter-pattern "v3.*" -o CHANGELOG.md v3.6.0-alpha.4..
- name: Create Pull Request
uses: peter-evans/create-pull-request@v3.5.1
with:
title: "${{ github.event.inputs.tag }} Changelog Bump"
body: "This is an automated changelog commit."
commit-message: "chore: ${{ github.event.inputs.tag }} changelog bump (${{ github.event.inputs.jira }})"
branch: "ready-${{ github.event.inputs.tag }}"
signoff: true
delete-branch: true