Skip to content
name: Create Release
on:
push:
tags:
- *

Check failure on line 6 in .github/workflows/create-release.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/create-release.yml

Invalid workflow file

You have an error in your yaml syntax on line 6
jobs:
create-release:
# Set release tag to the tag name
name: "Create Release"
runs-on: "ubuntu-latest"
permissions:
contents: "write"
pull-requests: "write"
repository-projects: "write"
steps:
- name: GitHub Tag Name example
run: |
echo "Tag name from GITHUB_REF_NAME: $GITHUB_REF_NAME"
echo "Tag name from github.ref_name: ${{ github.ref_name }}"
- run: echo "Creating release for tag ${{ github.ref }}"
- name: Create release
uses: "marvinpinto/action-automatic-releases@latest"
with:
repo_token: "${{ secrets.GITHUB_TOKEN }}"
prerelease: false
automatic_release_tag: "${{ github.ref_name }}"
title: "Release ${{ github.ref_name }}"