Skip to content

Commit

Permalink
Disable some GitHub workflows in forks (RedHatInsights#2272)
Browse files Browse the repository at this point in the history
  • Loading branch information
gwenneg authored Oct 24, 2023
1 parent 75b04e4 commit cd3c1b8
Show file tree
Hide file tree
Showing 13 changed files with 13 additions and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/base-image-auto-update.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ on:

jobs:
build:
if: github.repository == 'RedHatInsights/notifications-backend'
runs-on: ubuntu-latest
steps:
- name: Checkout repository
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/platsec-aggregator.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ on:

jobs:
PlatSec-Security-Workflow:
if: github.repository == 'RedHatInsights/notifications-backend'
uses: RedHatInsights/platform-security-gh-workflow/.github/workflows/platsec-security-scan-reusable-workflow.yml@master
## The optional parameters below are used if you are using something other than the
## the defaults of root '.' for the path and 'Dockerfile' for the Dockerfile name.
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/platsec-backend.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ on:

jobs:
PlatSec-Security-Workflow:
if: github.repository == 'RedHatInsights/notifications-backend'
uses: RedHatInsights/platform-security-gh-workflow/.github/workflows/platsec-security-scan-reusable-workflow.yml@master
## The optional parameters below are used if you are using something other than the
## the defaults of root '.' for the path and 'Dockerfile' for the Dockerfile name.
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/platsec-connector-drawer.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ on:

jobs:
PlatSec-Security-Workflow:
if: github.repository == 'RedHatInsights/notifications-backend'
uses: RedHatInsights/platform-security-gh-workflow/.github/workflows/platsec-security-scan-reusable-workflow.yml@master
## The optional parameters below are used if you are using something other than the
## the defaults of root '.' for the path and 'Dockerfile' for the Dockerfile name.
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/platsec-connector-email.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ on:

jobs:
PlatSec-Security-Workflow:
if: github.repository == 'RedHatInsights/notifications-backend'
uses: RedHatInsights/platform-security-gh-workflow/.github/workflows/platsec-security-scan-reusable-workflow.yml@master
## The optional parameters below are used if you are using something other than the
## the defaults of root '.' for the path and 'Dockerfile.notifications-connector-email.jvm' for the Dockerfile.notifications-connector-email.jvm name.
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/platsec-connector-google-chat.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ on:

jobs:
PlatSec-Security-Workflow:
if: github.repository == 'RedHatInsights/notifications-backend'
uses: RedHatInsights/platform-security-gh-workflow/.github/workflows/platsec-security-scan-reusable-workflow.yml@master
## The optional parameters below are used if you are using something other than the
## the defaults of root '.' for the path and 'Dockerfile' for the Dockerfile name.
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/platsec-connector-microsoft-teams.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ on:

jobs:
PlatSec-Security-Workflow:
if: github.repository == 'RedHatInsights/notifications-backend'
uses: RedHatInsights/platform-security-gh-workflow/.github/workflows/platsec-security-scan-reusable-workflow.yml@master
## The optional parameters below are used if you are using something other than the
## the defaults of root '.' for the path and 'Dockerfile' for the Dockerfile name.
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/platsec-connector-servicenow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ on:

jobs:
PlatSec-Security-Workflow:
if: github.repository == 'RedHatInsights/notifications-backend'
uses: RedHatInsights/platform-security-gh-workflow/.github/workflows/platsec-security-scan-reusable-workflow.yml@master
## The optional parameters below are used if you are using something other than the
## the defaults of root '.' for the path and 'Dockerfile' for the Dockerfile name.
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/platsec-connector-slack.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ on:

jobs:
PlatSec-Security-Workflow:
if: github.repository == 'RedHatInsights/notifications-backend'
uses: RedHatInsights/platform-security-gh-workflow/.github/workflows/platsec-security-scan-reusable-workflow.yml@master
## The optional parameters below are used if you are using something other than the
## the defaults of root '.' for the path and 'Dockerfile' for the Dockerfile name.
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/platsec-connector-splunk.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ on:

jobs:
PlatSec-Security-Workflow:
if: github.repository == 'RedHatInsights/notifications-backend'
uses: RedHatInsights/platform-security-gh-workflow/.github/workflows/platsec-security-scan-reusable-workflow.yml@master
## The optional parameters below are used if you are using something other than the
## the defaults of root '.' for the path and 'Dockerfile' for the Dockerfile name.
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/platsec-connector-webhook.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ on:

jobs:
PlatSec-Security-Workflow:
if: github.repository == 'RedHatInsights/notifications-backend'
uses: RedHatInsights/platform-security-gh-workflow/.github/workflows/platsec-security-scan-reusable-workflow.yml@master
## The optional parameters below are used if you are using something other than the
## the defaults of root '.' for the path and 'Dockerfile' for the Dockerfile name.
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/platsec-engine.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ on:

jobs:
PlatSec-Security-Workflow:
if: github.repository == 'RedHatInsights/notifications-backend'
uses: RedHatInsights/platform-security-gh-workflow/.github/workflows/platsec-security-scan-reusable-workflow.yml@master
## The optional parameters below are used if you are using something other than the
## the defaults of root '.' for the path and 'Dockerfile' for the Dockerfile name.
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/platsec-recipients-resolver.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ on:

jobs:
PlatSec-Security-Workflow:
if: github.repository == 'RedHatInsights/notifications-backend'
uses: RedHatInsights/platform-security-gh-workflow/.github/workflows/platsec-security-scan-reusable-workflow.yml@master
## The optional parameters below are used if you are using something other than the
## the defaults of root '.' for the path and 'Dockerfile' for the Dockerfile name.
Expand Down

0 comments on commit cd3c1b8

Please sign in to comment.