Skip to content

Release

Release #43

Workflow file for this run

name: Release
on:
workflow_dispatch:
inputs:
target_version:
type: string
required: false
description: "mod version | empty = next option"
update_type:
type: choice
required: false
description: "update type"
default: "minor"
options:
- "major"
- "minor"
- "patch"
- "none"
release_type:
type: choice
required: true
description: "type of release"
default: "release"
options:
- "alpha"
- "beta"
- "release"
debug:
type: boolean
required: false
default: false
description: "enable debug mode (GitHub only)"
jobs:
redirect:

Check failure on line 36 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: 36, Col: 3): Error calling workflow 'AlmostReliable/.github/.github/workflows/release-java17-nf.yml@main'. The nested job 'github-release' is requesting 'contents: write', but is only allowed 'contents: read'. .github/workflows/release.yml (Line: 36, Col: 3): Error calling workflow 'AlmostReliable/.github/.github/workflows/release-java17-nf.yml@main'. The nested job 'commit' is requesting 'contents: write', but is only allowed 'contents: read'.
uses: AlmostReliable/.github/.github/workflows/release-java17-nf.yml@main
secrets: inherit
with:
mod_name: "MERequester"
curseforge_id: "688367"
modrinth_id: "E6BFl96N"
dependencies: |
ae2(required){curseforge:223794}{modrinth:XxWD5pD3}
target_version: ${{ github.event.inputs.target_version }}
update_type: ${{ github.event.inputs.update_type }}
release_type: ${{ github.event.inputs.release_type }}
loaders: "neoforge"
debug: ${{ github.event.inputs.debug }}