Skip to content

Publish release branch or SemVer tags #1

Publish release branch or SemVer tags

Publish release branch or SemVer tags #1

Workflow file for this run

name: Release
run-name: Publish release branch or SemVer tags
on:
workflow_dispatch:
push:
tags:
- 'v[0-9]+.[0-9]+.*'
branches:
- release/**
# Cancel any other running workflows with the same ID
concurrency:
group: cd-release-${{ github.ref }}
cancel-in-progress: true
# https://docs.github.com/en/actions/using-workflows/reusing-workflows
jobs:
version:
uses: ./.github/workflows/_version.yml
publish:

Check failure on line 22 in .github/workflows/release.yml

View workflow run for this annotation

GitHub Actions / Release

Invalid workflow file

The workflow is not valid. .github/workflows/release.yml (Line: 22, Col: 3): Error calling workflow 'danzuep/LocalGuideAI/.github/workflows/_publish.yml@46e4d87d27767571d37ffa017804d43db3daae39'. The nested job 'deploy' is requesting 'packages: write', but is only allowed 'packages: read'.
if: ${{ github.event_name != 'pull_request' }}
needs: version
uses: ./.github/workflows/_publish.yml
with:
projectName: ${{ needs.version.outputs.projectName }}
projectFile: ${{ needs.version.outputs.projectFiles }}
version: ${{ needs.version.outputs.semVer }}
secrets: inherit