Skip to content

ci: add pull_request_target trigger for Dependabot CI compatibility #13

ci: add pull_request_target trigger for Dependabot CI compatibility

ci: add pull_request_target trigger for Dependabot CI compatibility #13

Workflow file for this run

name: CI

Check failure on line 1 in .github/workflows/ci.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/ci.yml

Invalid workflow file

(Line: 17, Col: 9): Unexpected symbol: '\'. Located at position 19 within expression: github.event_name \!= 'pull_request_target' || github.actor == 'dependabot[bot]'
on:
push:
branches: [develop]
pull_request:
branches: [develop, main]
pull_request_target:
branches: [develop, main]
workflow_dispatch:
inputs:
triggered-by:
description: 'Orchestrator run ID'
required: false
type: string
jobs:
build:
if: github.event_name \!= 'pull_request_target' || github.actor == 'dependabot[bot]'
uses: fireflyframework/.github/.github/workflows/java-ci.yml@main
with:
java-version: '25'
checkout-ref: ${{ github.event_name == 'pull_request_target' && github.event.pull_request.head.sha || '' }}