Skip to content

chore: bump the k8s group with 3 updates #31

chore: bump the k8s group with 3 updates

chore: bump the k8s group with 3 updates #31

Workflow file for this run

name: create_tag
on:
pull_request:
types: [closed]
permissions:
contents: write
jobs:
create_tag:
name: "Create tag"
if: github.event.pull_request.merged == true && contains(github.event.pull_request.labels.*.name, 'release-pr') && startsWith(github.event.pull_request.title, format('chore{0} Prepare', ':'))
runs-on: ubuntu-22.04
steps:
- name: "Set release tag"
env:
GITHUB_CONTEXT: ${{ toJson(github.event.pull_request.labels.*.name) }}
run: |
RELEASE_TAG=$(echo "$GITHUB_CONTEXT" | jq '.[1]' | tr -d '"')
echo "RELEASE_TAG=$RELEASE_TAG" >> $GITHUB_ENV
- name: Check out code
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v3.5.2
- uses: rickstaa/action-create-tag@a1c7777fcb2fee4f19b0f283ba888afa11678b72 #v1.7.2
with:
tag: ${{ env.RELEASE_TAG }}
tag_exists_error: false