Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion .github/workflows/run-rsfc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@ on:
description: 'Repository URL to analyze'
required: true
type: string
is_fork:
required: true
type: boolean
secrets:
RSFC_TOKEN:
required: false
Expand Down Expand Up @@ -74,7 +77,8 @@ jobs:
const job = jobs.data.jobs[jobs.data.jobs.length - 1]
core.setOutput("job_id", job.id)
- name: Create neutral check
if: ${{ github.event_name == 'pull_request' }}
# if: ${{ github.event_name == 'pull_request' }}
if: ${{ !inputs.is_fork }}
uses: actions/github-script@v7
with:
script: |
Expand Down
15 changes: 15 additions & 0 deletions .github/workflows/use-rsfc.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
name: Run RSFC analysis

on:
workflow_dispatch:
pull_request:
types: [opened, synchronize, reopened]

jobs:
run-rsfc-checks:
uses: oeg-upm/rsfc/.github/workflows/run-rsfc.yml@main
with:
repo_url: https://github.com/${{ github.repository }}
is_fork: ${{ github.event.pull_request.head.repo.full_name != github.repository }}
secrets:
RSFC_TOKEN: ${{ secrets.RSFC_TOKEN }}