Skip to content

Add write contents permission #3

Add write contents permission

Add write contents permission #3

Workflow file for this run

on: [push, pull_request]
name: Build
permissions:
contents:write

Check failure on line 6 in .github/workflows/build.yml

View workflow run for this annotation

GitHub Actions / Build

Invalid workflow file

The workflow is not valid. .github/workflows/build.yml (Line: 6, Col: 3): Unexpected value 'contents:write'
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/setup-go@v5
with:
go-version: stable
- uses: actions/setup-node@v4
with:
node-version: latest
- uses: actions/checkout@v4
- run: yarn build
- name: Release
uses: softprops/action-gh-release@v2
if: startsWith(github.ref, 'refs/tags/v')
with:
files: |
lavender/**