github.com/crossplane/upjet@v1.3.0/.github/workflows/tag.yml (about)

     1  # SPDX-FileCopyrightText: 2023 The Crossplane Authors <https://crossplane.io>
     2  #
     3  # SPDX-License-Identifier: CC0-1.0
     4  
     5  name: Tag
     6  
     7  on:
     8    workflow_dispatch:
     9      inputs:
    10        version:
    11          description: "Release version (e.g. v0.1.0)"
    12          required: true
    13        message:
    14          description: "Tag message"
    15          required: true
    16  
    17  jobs:
    18    create-tag:
    19      runs-on: ubuntu-20.04
    20  
    21      steps:
    22        - name: Checkout
    23          uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 #v3
    24  
    25        - name: Create Tag
    26          uses: negz/create-tag@v1
    27          with:
    28            version: ${{ github.event.inputs.version }}
    29            message: ${{ github.event.inputs.message }}
    30            token: ${{ secrets.GITHUB_TOKEN }}