From cccb19ab9a7ef4a57f873019532c6d1829793c6c Mon Sep 17 00:00:00 2001 From: elbrujohalcon Date: Thu, 6 Aug 2026 10:56:48 +0200 Subject: [PATCH] Test for Robert Fiko's idea on how to run SAFE for external contributions --- .github/workflows/ci.yml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index f81b019f..41ed87d5 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -4,6 +4,9 @@ on: push: branches: - main + pull_request_target: + branches: + - "*" pull_request: branches: - "*" @@ -46,9 +49,7 @@ jobs: if: ${{ matrix.os == 'ubuntu-24.04' }} run: rebar3 fmt --check - name: SAFE check - if: >- - ${{ matrix.os == 'ubuntu-24.04' && - github.event.pull_request.head.repo.full_name == github.repository }} + if: ${{ matrix.os == 'ubuntu-24.04' }} env: SAFE_LICENSE: ${{ secrets.SAFE_LICENSE }} run: rebar3 safe analyse