Skip to content

Update publish.yml

Update publish.yml #9

Workflow file for this run

name: Release
on:
push:
branches:
- main
concurrency: ${{ github.workflow }}-${{ github.ref }}
permissions:
contents: write
issues: write
pull-requests: write
jobs:
release:
name: Release
if: github.repository == 'future-architect/vscode-uroborosql-fmt'
runs-on: ubuntu-latest
steps:
- name: Checkout Repo
uses: actions/checkout@v4
- name: Setup Node.js 18
uses: actions/setup-node@v4
with:
node-version: 18
- name: Install Dependencies
run: yarn
- name: Create Release Pull Request
id: changesets
uses: changesets/action@v1
with:
publish: npm run dummy-release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Invoke publish.yml
if: steps.changesets.outputs.published == 'true'
uses: ./.github/workflows/publish.yaml
secrets: inherit

Check failure on line 43 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: 43, Col: 9): Unexpected value 'secrets'