浏览代码

I hate myself

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

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

@@ -24,7 +24,7 @@ jobs:
   analyze:
     name: Analyze
     runs-on: ubuntu-latest
-    if: ${{ github.ref == 'refs/heads/master' || github.event.pull_request.head.ref != 'refs/heads/translations' }}
+    if: ${{ github.head_ref != 'translations' }}
     permissions:
       actions: read
       contents: read

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

@@ -7,7 +7,7 @@ on:
 jobs:
   runner-job:
     runs-on: ubuntu-latest
-    if: ${{ github.ref == 'refs/heads/master' || github.event.pull_request.head.ref != 'refs/heads/translations' }}
+    if: ${{ github.head_ref != 'translations' }}
     services:
       postgres:
         image: postgres