فهرست منبع

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:
 jobs:
   lint:
   lint:
     runs-on: macos-14
     runs-on: macos-14
-    if: always() && github.repository == 'LadybirdBrowser/ladybird'
+    if: github.repository == 'LadybirdBrowser/ladybird'
 
 
     steps:
     steps:
       - uses: actions/checkout@v4
       - uses: actions/checkout@v4

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

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