浏览代码

don't run actions on translations

Markus-Rost 4 年之前
父节点
当前提交
665d133ff7
共有 2 个文件被更改,包括 2 次插入0 次删除
  1. 1 0
      .github/workflows/codeql-analysis.yml
  2. 1 0
      .github/workflows/nodejs.yml

+ 1 - 0
.github/workflows/codeql-analysis.yml

@@ -24,6 +24,7 @@ jobs:
   analyze:
   analyze:
     name: Analyze
     name: Analyze
     runs-on: ubuntu-latest
     runs-on: ubuntu-latest
+    if: github.ref != 'refs/heads/translations'
     permissions:
     permissions:
       actions: read
       actions: read
       contents: read
       contents: read

+ 1 - 0
.github/workflows/nodejs.yml

@@ -7,6 +7,7 @@ on:
 jobs:
 jobs:
   runner-job:
   runner-job:
     runs-on: ubuntu-latest
     runs-on: ubuntu-latest
+    if: github.ref != 'refs/heads/translations'
     services:
     services:
       postgres:
       postgres:
         image: postgres
         image: postgres