aboutsummaryrefslogtreecommitdiff
path: root/.github/workflows
diff options
context:
space:
mode:
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