aboutsummaryrefslogtreecommitdiff
path: root/.github/workflows
diff options
context:
space:
mode:
authorOgulcan Celik <ogulcancelik@gmail.com>2026-07-26 15:30:48 +0300
committerOgulcan Celik <ogulcancelik@gmail.com>2026-07-26 15:40:59 +0300
commite1a32e5865c3695bc73dd016db90b3fd671e92e8 (patch)
treebdc78632597f67d9fe33de59d609c348dd2ad4a8 /.github/workflows
parent65713cefcc6e0bc4e4f543b791ea20047438068b (diff)
ci: harden pull request workflow execution
Diffstat (limited to '.github/workflows')
-rw-r--r--.github/workflows/ci.yml5
-rw-r--r--.github/workflows/nix.yml1
2 files changed, 5 insertions, 1 deletions
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index 458c92c3..fa655578 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -23,6 +23,7 @@ jobs:
conventional-commits:
if: github.event_name != 'push' || github.ref_name == 'master'
runs-on: ubuntu-latest
+ timeout-minutes: 5
steps:
- name: Checkout
uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6
@@ -36,7 +37,9 @@ jobs:
- name: Validate PR title
if: github.event_name == 'pull_request'
- run: python3 scripts/conventional_commits.py "${{ github.event.pull_request.title }}"
+ env:
+ PR_TITLE: ${{ github.event.pull_request.title }}
+ run: python3 scripts/conventional_commits.py "$PR_TITLE"
check:
name: check (${{ matrix.os }})
diff --git a/.github/workflows/nix.yml b/.github/workflows/nix.yml
index b7c9e8ab..18072aa6 100644
--- a/.github/workflows/nix.yml
+++ b/.github/workflows/nix.yml
@@ -37,6 +37,7 @@ jobs:
flake-check:
name: flake check
runs-on: ubuntu-latest
+ timeout-minutes: 15
steps:
- name: Checkout
uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6