瀏覽代碼

CI: Remove `always()` from job conditionals

These jobs have no dependencies on other jobs, nor should they be
uncancelable.
Jelle Raaijmakers 7 月之前
父節點
當前提交
25e05e76c4
共有 2 個文件被更改,包括 2 次插入2 次删除
  1. 1 1
      .github/workflows/lint-code.yml
  2. 1 1
      .github/workflows/lint-commits.yml

+ 1 - 1
.github/workflows/lint-code.yml

@@ -5,7 +5,7 @@ on: [ push, pull_request ]
 jobs:
   lint:
     runs-on: macos-14
-    if: always() && github.repository == 'LadybirdBrowser/ladybird'
+    if: github.repository == 'LadybirdBrowser/ladybird'
 
     steps:
       - uses: actions/checkout@v4

+ 1 - 1
.github/workflows/lint-commits.yml

@@ -8,7 +8,7 @@ on: [pull_request_target]
 jobs:
   lint:
     runs-on: ubuntu-24.04
-    if: always() && github.repository == 'LadybirdBrowser/ladybird'
+    if: github.repository == 'LadybirdBrowser/ladybird'
 
     steps:
       - name: Lint PR commits