Skip to content

Commit bab5316

Browse files
authored
Merge pull request #32 from modeseven-lfreleng-actions/environment-updates
Chore: Update linting and add tag/release workflow
2 parents 76b714c + 933d7b6 commit bab5316

4 files changed

Lines changed: 28 additions & 1 deletion

File tree

.codespell

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
# SPDX-License-Identifier: Apache-2.0
2+
# SPDX-FileCopyrightText: 2025 The Linux Foundation

.github/workflows/release-drafter.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@ jobs:
3030
# write permission is required for autolabeler
3131
pull-requests: write
3232
runs-on: ubuntu-latest
33+
timeout-minutes: 5
3334
steps:
3435
# yamllint disable-line rule:line-length
3536
- uses: release-drafter/release-drafter@b1476f6e6eb133afa41ed8589daba6dc69b4d3f5 # v6.1.0

.github/workflows/testing.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ jobs:
2727
runs-on: ubuntu-24.04
2828
permissions:
2929
contents: read
30+
timeout-minutes: 12
3031
steps:
3132
- name: "Checkout repository"
3233
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2

.pre-commit-config.yaml

Lines changed: 24 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,14 @@
33
# SPDX-FileCopyrightText: 2025 The Linux Foundation
44

55
ci:
6-
autofix_commit_msg: "Chore: pre-commit autoupdate"
6+
autofix_commit_msg: |
7+
Chore: pre-commit autofixes
8+
9+
Signed-off-by: pre-commit-ci[bot] <pre-commit-ci@users.noreply.github.com>
10+
autoupdate_commit_msg: |
11+
Chore: pre-commit autoupdate
12+
13+
Signed-off-by: pre-commit-ci[bot] <pre-commit-ci@users.noreply.github.com>
714
815
exclude: "^docs/conf.py"
916

@@ -90,3 +97,19 @@ repos:
9097
rev: 63c8f8312b7559622c0d82815639671ae42132ac # frozen: v2.4.1
9198
hooks:
9299
- id: codespell
100+
args: ["--ignore-words=.codespell"]
101+
102+
- repo: https://github.com/python-jsonschema/check-jsonschema.git
103+
rev: 54da05914997e6b04e4db33ed6757d744984c68b # frozen: 0.33.2
104+
hooks:
105+
- id: check-github-actions
106+
- id: check-github-workflows
107+
- id: check-jsonschema
108+
name: Check GitHub Workflows set timeout-minutes
109+
args:
110+
- --builtin-schema
111+
- github-workflows-require-timeout
112+
files: ^\.github/workflows/[^/]+$
113+
types:
114+
- yaml
115+
- id: check-readthedocs

0 commit comments

Comments
 (0)