Skip to content

add permissions

add permissions #16

Workflow file for this run

---
name: "pre-release"
on:
push:
branches:
- "main"
jobs:
pre-release:
name: "Pre Release"
runs-on: "ubuntu-latest"
steps:
- name: "Checkout source code"
uses: "actions/checkout@v3"
with:
lfs: true
fetch-depth: 0
- name: "Build & test"
run: |
curl https://rustwasm.github.io/wasm-pack/installer/init.sh -sSf | sh
cd /home/runner/work/Crustacean/Crustacean/ && wasm-pack build --target web
- uses: "marvinpinto/action-automatic-releases@latest"
permissions: write-all

Check failure on line 27 in .github/workflows/pre-release.yml

View workflow run for this annotation

GitHub Actions / pre-release

Invalid workflow file

The workflow is not valid. .github/workflows/pre-release.yml (Line: 27, Col: 9): Unexpected value 'permissions'
with:
repo_token: "${{ secrets.GITHUB_TOKEN }}"
automatic_release_tag: "latest"
prerelease: true
title: "Development Build"
files: |
pkg/*