Skip to content

hook for shared code #1

hook for shared code

hook for shared code #1

Workflow file for this run

name: 'webhook dev'
on:
workflow_dispatch:
push:
branches:
- develop
jobs:
webhook-dev:
runs-on: ubuntu-latest
steps:
- uses: dorny/paths-filter@v3
id: changes
with:
filters: |
shared:
- 'shared/**'
- name: notify dev
if: needs.files-changed.outputs.shared == 'true'
needs: files-changed

Check failure on line 21 in .github/workflows/webook_dev.yml

View workflow run for this annotation

GitHub Actions / webhook dev

Invalid workflow file

The workflow is not valid. .github/workflows/webook_dev.yml (Line: 21, Col: 7): Unexpected value 'needs'
uses: distributhor/workflow-webhook@v2
env:
webhook_type: "json-extended"
webhook_url: "https://dev.cables.gl/api/webhooks/updateshared?secret=${{ secrets.WEBHOOK_SECRET }}"
webhook_secret: ${{ secrets.WEBHOOK_SECRET }}