Browse Source

I hate myself

Markus-Rost 4 years ago
parent
commit
b96666189a
2 changed files with 2 additions and 2 deletions
  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:
   analyze:
     name: Analyze
     name: Analyze
     runs-on: ubuntu-latest
     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:
     permissions:
       actions: read
       actions: read
       contents: read
       contents: read

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

@@ -7,7 +7,7 @@ on:
 jobs:
 jobs:
   runner-job:
   runner-job:
     runs-on: ubuntu-latest
     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:
     services:
       postgres:
       postgres:
         image: postgres
         image: postgres