Skip to content

chore: full SSDLC compliance workflow #6

chore: full SSDLC compliance workflow

chore: full SSDLC compliance workflow #6

Workflow file for this run

on:
push:
branches: [main]
pull_request:
branches: [main]
workflow_dispatch: {}
name: Release
permissions:
contents: write
pull-requests: write
id-token: write
jobs:
release_please:
runs-on: ubuntu-latest
outputs:
release_created: ${{ steps.release.outputs.release_created }}
steps:
- id: release
uses: googleapis/release-please-action@v4
build:
needs: [release_please]
name: "Build native code"
uses: ./.github/workflows/build.yml

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

View workflow run for this annotation

GitHub Actions / .github/workflows/release.yml

Invalid workflow file

error parsing called workflow ".github/workflows/release.yml" -> "./.github/workflows/build.yml" : workflow is not reusable as it is missing a `on.workflow_call` trigger
publish:
needs: [release_please, build]
environment: release
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Install Node and dependencies
uses: baileympearson/drivers-github-tools/node/setup@add-signing-env-action-for-node
- run: npm publish --provenance --tag=latest
if: ${{ needs.release_please.outputs.release_created }}
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}