Skip to content

Commit d72d572

Browse files
author
Ira Abramov
committed
Merge branch 'master' of github.com:Bash-it/bash-it into feature/update-actions
* 'master' of github.com:Bash-it/bash-it: Update precommit hooks and github action with 10 days cooldown and pin to sha1 commit (#2377)
2 parents 800156a + 4240c3c commit d72d572

2 files changed

Lines changed: 11 additions & 11 deletions

File tree

.github/workflows/ci.yml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ jobs:
1212
runs-on: ${{ matrix.os }}
1313

1414
steps:
15-
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
15+
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
1616
- name: Install greadlink
1717
if: startsWith(runner.os, 'macOS')
1818
run: brew install coreutils
@@ -28,9 +28,9 @@ jobs:
2828
runs-on: ubuntu-latest
2929

3030
steps:
31-
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
31+
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
3232
- name: Set up Python
33-
uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v6
33+
uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v6.2.0
3434
with:
3535
python-version: 3.12
3636
- name: Install docs dependencies
@@ -42,13 +42,13 @@ jobs:
4242
runs-on: ubuntu-latest
4343

4444
steps:
45-
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
45+
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
4646
- name: Set up Go
47-
uses: actions/setup-go@4a3601121dd01d1626a1e23e37211e3254c1c06c # v6
47+
uses: actions/setup-go@4a3601121dd01d1626a1e23e37211e3254c1c06c # v6.4.0
4848
with:
49-
go-version: 1.26.1
49+
go-version: 1.25.8
5050
- name: Set up Python
51-
uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v6
51+
uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v6.2.0
5252
with:
5353
python-version: 3.12
5454
- name: Install shfmt
@@ -73,7 +73,7 @@ jobs:
7373

7474
steps:
7575
- name: Repository checkout
76-
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
76+
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
7777
with:
7878
fetch-depth: 0
7979

.pre-commit-config.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ minimum_pre_commit_version: 1.18.1
66
exclude: "docs/_build/|vendor/"
77
repos:
88
- repo: https://github.com/pre-commit/pre-commit-hooks
9-
rev: v2.3.0
9+
rev: 3e8a8703264a2f4a69428a0aa4dcb512790b2c8c # frozen: v6.0.0
1010
hooks:
1111
- id: trailing-whitespace
1212
exclude: ".(md|rst)$"
@@ -15,14 +15,14 @@ repos:
1515
- id: mixed-line-ending
1616
- id: check-added-large-files
1717
- repo: https://github.com/jumanjihouse/pre-commit-hooks
18-
rev: 2.1.5
18+
rev: 38980559e3a605691d6579f96222c30778e5a69e # frozen: 3.0.0
1919
hooks:
2020
- id: git-check # Configure in .gitattributes
2121
- id: shellcheck
2222
files: "\\.(bash)$"
2323
- id: shfmt
2424
- repo: https://github.com/Lucas-C/pre-commit-hooks
25-
rev: v1.1.7
25+
rev: ad1b27d73581aa16cca06fc4a0761fc563ffe8e8 # frozen: v1.5.6
2626
hooks:
2727
# - id: forbid-crlf
2828
- id: remove-crlf

0 commit comments

Comments
 (0)