Skip to content

ci(scorecard): add job-level permissions for reusable workflow #82

ci(scorecard): add job-level permissions for reusable workflow

ci(scorecard): add job-level permissions for reusable workflow #82

Workflow file for this run

# SPDX-License-Identifier: MPL-2.0
name: BoJ Server Build Trigger
on:
push:
branches: [main, master]
workflow_dispatch:
jobs:
trigger-boj:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
- name: Trigger BoJ Server (Casket/ssg-mcp)
run: |
# Send a secure trigger to boj-server to build this repository
curl -X POST "http://boj-server.local:7700/cartridges/ssg-mcp/invoke" -H "Content-Type: application/json" -d "{\"repo\": \"${{ github.repository }}\", \"branch\": \"${{ github.ref_name }}\", \"engine\": \"casket\\"}"}
continue-on-error: true
permissions:

Check failure on line 18 in .github/workflows/boj-build.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/boj-build.yml

Invalid workflow file

You have an error in your yaml syntax on line 18
contents: read
- name: K9-SVC Validation
run: |
echo "K9-SVC validation"
[ -d .machine_readable/contractiles ] && echo "Contractiles present" || echo "No contractiles"