mirror of
https://github.com/zadam/trilium.git
synced 2025-09-13 18:16:40 +08:00
feat(ci): don't run checks outside main repo
This commit is contained in:
parent
6d5a11bd4d
commit
0551ac8ead
2 changed files with 3 additions and 2 deletions
1
.github/workflows/checks.yml
vendored
1
.github/workflows/checks.yml
vendored
|
@ -12,6 +12,7 @@ jobs:
|
|||
steps:
|
||||
- name: Check if PRs have conflicts
|
||||
uses: eps1lon/actions-label-merge-conflict@v3
|
||||
if: github.repository == ${{ vars.REPO_MAIN }}
|
||||
with:
|
||||
dirtyLabel: "merge-conflicts"
|
||||
repoToken: "${{ secrets.MERGE_CONFLICT_LABEL_PAT }}"
|
||||
|
|
4
.github/workflows/nightly.yml
vendored
4
.github/workflows/nightly.yml
vendored
|
@ -27,7 +27,7 @@ permissions:
|
|||
|
||||
jobs:
|
||||
nightly-electron:
|
||||
if: github.repository == 'TriliumNext/Trilium'
|
||||
if: github.repository == ${{ vars.REPO_MAIN }}
|
||||
name: Deploy nightly
|
||||
strategy:
|
||||
fail-fast: false
|
||||
|
@ -98,7 +98,7 @@ jobs:
|
|||
path: apps/desktop/upload
|
||||
|
||||
nightly-server:
|
||||
if: github.repository == 'TriliumNext/Trilium'
|
||||
if: github.repository == ${{ vars.REPO_MAIN }}
|
||||
name: Deploy server nightly
|
||||
strategy:
|
||||
fail-fast: false
|
||||
|
|
Loading…
Add table
Reference in a new issue