mirror of
https://github.com/opf/openproject.git
synced 2026-06-14 03:30:14 +00:00
Restore some of the workflows to just run in the core
These do not make sense to be run in forks
This commit is contained in:
@@ -18,7 +18,7 @@ jobs:
|
||||
permissions:
|
||||
contents: read # for actions/checkout to fetch code
|
||||
security-events: write # for github/codeql-action/upload-sarif to upload SARIF results
|
||||
if: github.repository_owner == 'opf'
|
||||
if: github.repository == 'opf/openproject'
|
||||
name: Brakeman Scan
|
||||
runs-on: ubuntu-latest
|
||||
env:
|
||||
|
||||
@@ -12,7 +12,7 @@ jobs:
|
||||
trigger_downstream_workflow:
|
||||
permissions:
|
||||
contents: none
|
||||
if: github.repository_owner == 'opf'
|
||||
if: github.repository == 'opf/openproject'
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Trigger Flavours workflow
|
||||
|
||||
@@ -87,7 +87,7 @@ jobs:
|
||||
version: ${{ steps.extract_version.outputs.version }}
|
||||
docker_tags: ${{ steps.extract_version.outputs.docker_tags }}
|
||||
build:
|
||||
if: github.repository_owner == 'opf'
|
||||
if: github.repository == 'opf/openproject'
|
||||
needs:
|
||||
- setup
|
||||
runs-on:
|
||||
|
||||
@@ -25,7 +25,7 @@ jobs:
|
||||
trigger_saas_tests:
|
||||
permissions:
|
||||
contents: none
|
||||
if: github.repository_owner == 'opf'
|
||||
if: github.repository == 'opf/openproject'
|
||||
name: SaaS tests
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
|
||||
@@ -23,7 +23,7 @@ jobs:
|
||||
i18n-tasks:
|
||||
permissions:
|
||||
contents: read
|
||||
if: github.repository_owner == 'opf'
|
||||
if: github.repository == 'opf/openproject'
|
||||
name: I18n inconsistency check
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
|
||||
@@ -10,7 +10,7 @@ on:
|
||||
|
||||
jobs:
|
||||
build:
|
||||
if: github.repository_owner == 'opf'
|
||||
if: github.repository == 'opf/openproject'
|
||||
name: ${{ matrix.target }}
|
||||
runs-on: ubuntu-latest
|
||||
services:
|
||||
|
||||
Reference in New Issue
Block a user