Skip to content

Update pr_to_tag.yml #18

Update pr_to_tag.yml

Update pr_to_tag.yml #18

Workflow file for this run

name: Create a tag
on:
pull_request:
types: [closed]
permissions: write-all
jobs:
create_tag_from_pr:
if: github.event.pull_request.merged == true
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Read yaml
uses: teunmooij/yaml@v1
id: info-action
with:
from-file: info.yaml
- name: Content yaml
run : |
echo ${{ steps.info-action.outputs.data }}
- name: Create tag if not present
uses: rickstaa/action-create-tag@v1
continue-on-error: true
with:
tag: ${{ steps.info-action.outputs.data.version }}
force_push_tag: true