Skip to content

add node types

add node types #3

Workflow file for this run

name: "Update aggregate tags"

Check failure on line 1 in .github/workflows/update-tags.yaml

View workflow run for this annotation

GitHub Actions / .github/workflows/update-tags.yaml

Invalid workflow file

(Line: 21, Col: 9): Unexpected value 'permissions'
on:
push:
tags:
- "v*.*"
jobs:
retag:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
with:
fetch-depth: 0
- name: Calculate short tag name
id: calculate_short_tag
run: |
TRUNC_VER=$(echo ${{ github.ref_name }} | cut -d '.' -f 1)
echo "Short tag: $TRUNC_VER"
echo "tag=$TRUNC_VER" >> $GITHUB_OUTPUT
- uses: rickstaa/action-create-tag@v1
permissions:
contents: write
with:
force_push_tag: true
tag: "${{ steps.calculate_short_tag.outputs.tag }}"
message: "Points to ${{ github.ref_name }}"