Commit f04027b 1 parent ef2f0fb commit f04027b Copy full SHA for f04027b
File tree 5 files changed +23
-7
lines changed
5 files changed +23
-7
lines changed Original file line number Diff line number Diff line change 1
1
# This file is managed by Copier; DO NOT EDIT OR REMOVE.
2
- _commit : v0.1.9
2
+ _commit : v0.1.10
3
3
_src_path : git@github.com:quantco/copier-template-pre-commit-mirrors
4
4
conda_package : bandit
5
5
description : Check for common security issues.
Original file line number Diff line number Diff line change 18
18
- name : Checkout branch
19
19
uses : actions/checkout@v4
20
20
- name : Set up Conda env
21
- uses : mamba-org/setup-micromamba@422500192359a097648154e8db4e39bdb6c6eed7
21
+ uses : mamba-org/setup-micromamba@0dea6379afdaffa5d528b3d1dabc45da37f443fc
22
22
with :
23
23
environment-file : environment.yml
24
24
environment-name : check-env
34
34
echo "pkgname=$pkgname" >> $GITHUB_OUTPUT
35
35
echo "new-version=$new_version" >> $GITHUB_OUTPUT
36
36
fi
37
- - uses : peter-evans/create-pull-request@a4f52f8033a6168103c2538976c07b467e8163bc
37
+ - uses : peter-evans/create-pull-request@67ccf781d68cd99b580ae25a5c18a1cc84ffff1f
38
38
if : steps.versions.outputs.pkgname
39
39
with :
40
40
commit-message : " Update ${{ steps.versions.outputs.pkgname }} to ${{ steps.versions.outputs.new-version }}"
Original file line number Diff line number Diff line change 7
7
pull_request :
8
8
9
9
jobs :
10
+ pre-commit-checks :
11
+ name : Pre-commit Checks
12
+ timeout-minutes : 30
13
+ runs-on : ubuntu-latest
14
+ steps :
15
+ - name : Checkout branch
16
+ uses : actions/checkout@v4
17
+ - name : Run pre-commit-conda
18
+ uses : quantco/pre-commit-conda@v1
10
19
env :
11
20
name : Test env
12
21
runs-on : ubuntu-latest
13
22
steps :
14
23
- name : Checkout branch
15
24
uses : actions/checkout@v4
16
- with :
17
- ref : ${{ github.head_ref }}
18
25
- name : Set up Conda env
19
- uses : mamba-org/setup-micromamba@422500192359a097648154e8db4e39bdb6c6eed7
26
+ uses : mamba-org/setup-micromamba@0dea6379afdaffa5d528b3d1dabc45da37f443fc
20
27
with :
21
28
environment-file : environment.yml
22
29
environment-name : test-env
Original file line number Diff line number Diff line change 11
11
actions : write
12
12
steps :
13
13
- uses : actions/checkout@v4
14
- - uses : gautamkrishnar/keepalive-workflow@14b7c72e9af14bddbbc1022a6f0bd20b1eac2619
14
+ - uses : gautamkrishnar/keepalive-workflow@995aec69bb3f2b45b20f4e107907992c8715086d
Original file line number Diff line number Diff line change
1
+ exclude : ^\.copier-answers\.yml$
2
+ repos :
3
+ - repo : https://github.com/Quantco/pre-commit-mirrors-pre-commit-hooks
4
+ rev : 4.5.0
5
+ hooks :
6
+ - id : trailing-whitespace-conda
7
+ - id : end-of-file-fixer-conda
8
+ - id : check-merge-conflict-conda
9
+ args : ["--assume-in-merge"]
You can’t perform that action at this time.
0 commit comments