Skip to content

Update pr_to_tag.yml #17

Update pr_to_tag.yml

Update pr_to_tag.yml #17

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"] }}

Check failure on line 29 in .github/workflows/pr_to_tag.yml

View workflow run for this annotation

GitHub Actions / Create a tag

Invalid workflow file

The workflow is not valid. .github/workflows/pr_to_tag.yml (Line: 29, Col: 14): Unexpected symbol: '"version"'. Located at position 32 within expression: steps.info-action.outputs.data["version"]
force_push_tag: true