chore(repo): disable gh workflows for forks (#15887)
This commit is contained in:
parent
ac7fbbd121
commit
aee6ece6f8
1
.github/workflows/do-not-merge.yml
vendored
1
.github/workflows/do-not-merge.yml
vendored
@ -6,6 +6,7 @@ on:
|
|||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
do-not-merge:
|
do-not-merge:
|
||||||
|
if: ${{ github.repository_owner == 'nrwl' }}
|
||||||
name: Prevent Merging
|
name: Prevent Merging
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
|
|||||||
1
.github/workflows/issue-notifier.yml
vendored
1
.github/workflows/issue-notifier.yml
vendored
@ -11,6 +11,7 @@ permissions:
|
|||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
issues-report:
|
issues-report:
|
||||||
|
if: ${{ github.repository_owner == 'nrwl' }}
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
name: Report status
|
name: Report status
|
||||||
steps:
|
steps:
|
||||||
|
|||||||
1
.github/workflows/lock-threads.yml
vendored
1
.github/workflows/lock-threads.yml
vendored
@ -14,6 +14,7 @@ concurrency:
|
|||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
action:
|
action:
|
||||||
|
if: ${{ github.repository_owner == 'nrwl' }}
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: dessant/lock-threads@v4
|
- uses: dessant/lock-threads@v4
|
||||||
|
|||||||
1
.github/workflows/publish.yml
vendored
1
.github/workflows/publish.yml
vendored
@ -193,6 +193,7 @@ jobs:
|
|||||||
# path: packages/*/*.node
|
# path: packages/*/*.node
|
||||||
# if-no-files-found: error
|
# if-no-files-found: error
|
||||||
publish:
|
publish:
|
||||||
|
if: ${{ github.repository_owner == 'nrwl' }}
|
||||||
name: Publish
|
name: Publish
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
needs:
|
needs:
|
||||||
|
|||||||
4
.github/workflows/schedule-stale.yml
vendored
4
.github/workflows/schedule-stale.yml
vendored
@ -1,10 +1,14 @@
|
|||||||
on:
|
on:
|
||||||
schedule:
|
schedule:
|
||||||
- cron: "0 0 * * *"
|
- cron: "0 0 * * *"
|
||||||
|
|
||||||
name: Stale Bot workflow
|
name: Stale Bot workflow
|
||||||
|
|
||||||
permissions: {}
|
permissions: {}
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
|
if: ${{ github.repository_owner == 'nrwl' }}
|
||||||
permissions:
|
permissions:
|
||||||
issues: write # to close stale issues (actions/stale)
|
issues: write # to close stale issues (actions/stale)
|
||||||
pull-requests: write # to close stale PRs (actions/stale)
|
pull-requests: write # to close stale PRs (actions/stale)
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user