github.com/quay/claircore@v1.5.28/.github/workflows/prepare-release.yml (about)

     1  ---
     2  name: Prepare Release
     3  
     4  on:
     5    workflow_dispatch:
     6      inputs:
     7        branch:
     8          description: 'the branch to prepare the release against'
     9          required: true
    10          default: 'main'
    11        tag:
    12          description: 'the tag to be released'
    13          required: true
    14  
    15  jobs:
    16    prepare:
    17      name: Prepare Release
    18      runs-on: 'ubuntu-latest'
    19      steps:
    20        - name: Checkout
    21          uses: actions/checkout@v4
    22          with:
    23            ref: ${{ github.event.inputs.branch }}
    24            fetch-depth: 0
    25        - name: Changelog
    26          run: |
    27            git fetch --tags origin refs/notes/changelog:refs/notes/changelog
    28            .github/scripts/changelog-update "${{ github.event.inputs.tag }}"
    29        - name: Create Pull Request
    30          uses: peter-evans/create-pull-request@v6
    31          with:
    32            title: "${{ github.event.inputs.tag }} Changelog Bump"
    33            body: "This is an automated changelog commit."
    34            commit-message: "chore: ${{ github.event.inputs.tag }} changelog bump"
    35            branch: "ready-${{ github.event.inputs.tag }}"
    36            signoff: true
    37            delete-branch: true