Skip to content

Release

Release #3

Workflow file for this run

name: Release
on:
workflow_run:
workflows: ["golangci", "test"]
types:
- completed
push:
branches:
- main
jobs:
release:

Check failure on line 13 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: 13, Col: 3): The workflow must contain at least one job with no dependencies.
name: Release
needs: [golangci, test]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: run semantic release
if: github.repository == 'JunNishimura/casbin-bun-adapter' && github.event_name == 'push'
run: |
npm install --save-dev semantic-release@latest
npx semantic-release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}