Skip to content

chore(release): Wait for test before release #168

chore(release): Wait for test before release

chore(release): Wait for test before release #168

Workflow file for this run

name: Main
on:
push:
branches:
- main
pull_request:
branches:
- main
- develop
types:
- opened
- synchronize
- reopened
jobs:
test:
name: Test
uses: jontze/.workflows/.github/workflows/rust_test.yaml@main
with:
build: true
unit-tests: true
next:

Check failure on line 23 in .github/workflows/main.yml

View workflow run for this annotation

GitHub Actions / Main

Invalid workflow file

The workflow is not valid. .github/workflows/main.yml (Line: 23, Col: 3): Error calling workflow 'jontze/.workflows/.github/workflows/rust_release.yaml@main'. The nested job 'next' is requesting 'contents: write', but is only allowed 'contents: read'.
name: Release
needs:
- test
if: github.ref == 'refs/heads/main' && github.event_name == 'push'
uses: jontze/.workflows/.github/workflows/rust_release.yaml@main
secrets: inherit