Skip to content

Build your personal knowledge base with Trilium Notes

chore(ci): fix warnings related to if

Elian Doranb0910baaf063
diff --git a/.github/workflows/checks.yml b/.github/workflows/checks.yml
index 5084d20111..5597f58b39 100644
--- a/.github/workflows/checks.yml
+++ b/.github/workflows/checks.yml
@@ -12,7 +12,7 @@ jobs:
steps:
- name: Check if PRs have conflicts
uses: eps1lon/actions-label-merge-conflict@v3
- if: github.repository == ${{ vars.REPO_MAIN }}
+ if: ${{ github.repository == vars.REPO_MAIN }}
with:
dirtyLabel: "merge-conflicts"
repoToken: "${{ secrets.MERGE_CONFLICT_LABEL_PAT }}"
diff --git a/.github/workflows/deploy-docs.yml b/.github/workflows/deploy-docs.yml
index 25b44a8992..cee15074fd 100644
--- a/.github/workflows/deploy-docs.yml
+++ b/.github/workflows/deploy-docs.yml
@@ -67,7 +67,7 @@ jobs:
- name: Deploy
uses: ./.github/actions/deploy-to-cloudflare-pages
- if: github.repository == ${{ vars.REPO_MAIN }}
+ if: ${{ github.repository == vars.REPO_MAIN }}
with:
project_name: "trilium-docs"
comment_body: "📚 Documentation preview is ready"
diff --git a/.github/workflows/nightly.yml b/.github/workflows/nightly.yml
index ac287dc91b..3f57913ab8 100644
--- a/.github/workflows/nightly.yml
+++ b/.github/workflows/nightly.yml
@@ -26,7 +26,7 @@ permissions:
jobs:
nightly-electron:
- if: github.repository == ${{ vars.REPO_MAIN }}
+ if: ${{ github.repository == vars.REPO_MAIN }}
name: Deploy nightly
strategy:
fail-fast: false
@@ -109,7 +109,7 @@ jobs:
path: apps/desktop/upload
nightly-server:
- if: github.repository == ${{ vars.REPO_MAIN }}
+ if: ${{ github.repository == vars.REPO_MAIN }}
name: Deploy server nightly
strategy:
fail-fast: false