Skip to content

Commit b051add

Browse files
authored
ci: add issue labeler config (#1184)
* fix: add issue labeler config * update issue labeler * update nix package to latest * fix legacy nixpkgs not found
1 parent 6fc6861 commit b051add

File tree

7 files changed

+93
-31
lines changed

7 files changed

+93
-31
lines changed

.github/issue_labeler.yml

Lines changed: 64 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,64 @@
1+
bug:
2+
- 'bug'
3+
- 'error'
4+
- 'issue'
5+
- 'crash'
6+
- 'panic'
7+
- 'fail'
8+
- 'broken'
9+
- 'not work'
10+
- 'exception'
11+
12+
enhancement:
13+
- 'feature'
14+
- 'enhancement'
15+
- 'improve'
16+
- 'add'
17+
- 'support'
18+
- 'request'
19+
- 'proposal'
20+
- 'rfc'
21+
22+
documentation:
23+
- 'docs'
24+
- 'documentation'
25+
- 'readme'
26+
- 'guide'
27+
- 'tutorial'
28+
- 'example'
29+
- 'spec'
30+
- 'specification'
31+
32+
cli:
33+
- 'cli'
34+
- 'command'
35+
- 'chain-maind'
36+
- 'flag'
37+
- 'argument'
38+
- 'terminal'
39+
40+
cronos:
41+
- 'cronos'
42+
43+
e2ee:
44+
- 'encryption'
45+
- 'e2ee'
46+
47+
dependencies:
48+
- 'dependency'
49+
- 'dependencies'
50+
- 'go.mod'
51+
- 'cosmos-sdk'
52+
- 'tendermint'
53+
- 'cometbft'
54+
55+
build:
56+
- 'build'
57+
- 'compile'
58+
- 'makefile'
59+
- 'docker'
60+
61+
ci:
62+
- 'ci'
63+
- 'github actions'
64+
- 'workflow'

.github/pr_labeler.yml

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,33 +1,33 @@
1-
"C:CLI":
1+
cli:
22
- client/**/*
33
- x/*/client/**/*
4-
"C:Nix":
4+
nix:
55
- nix/**
66
- default.nix
77
- docker.nix
88
- flake.nix
9-
"C:Simulations":
9+
simulations:
1010
- types/simulation/**/*
1111
- x/simulation/**/*
1212
- x/*/simulation/**/*
1313
- simsx/**/*
1414
- tools/benchmark/**/*
15-
"C:x/chainmain":
15+
chainmain:
1616
- x/chainmain/**/*
17-
"C:x/nft":
17+
nft:
1818
- x/nft/**/*
19-
"C:x/nft-transfer":
19+
nft-transfer:
2020
- x/nft-transfer/**/*
21-
"C:x/supply":
21+
supply:
2222
- x/supply/**/*
23-
"Type: ADR":
23+
adr:
2424
- docs/architecture/**/*
25-
"Type: Build":
25+
build:
2626
- Makefile
2727
- Dockerfile
2828
- docker-compose.yml
2929
- scripts/*
30-
"Type: CI":
30+
ci:
3131
- .github/**
3232
- buf.work.yaml
3333
- .golangci.yml

.github/workflows/build.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -155,9 +155,8 @@ jobs:
155155
- uses: actions/checkout@v4
156156
with:
157157
persist-credentials: false
158-
- uses: cachix/install-nix-action@6a9a9e84a173d90b3ffb42c5ddaf9ea033fad011 #v23
158+
- uses: cachix/install-nix-action@fc6e360bedc9ee72d75e701397f0bb30dce77568 # v31.2
159159
with:
160-
nix_path: nixpkgs=channel:nixos-22.11
161160
extra_nix_config: |
162161
access-tokens = github.com=${{ secrets.GITHUB_TOKEN }}
163162
- id: changed-files
@@ -430,7 +429,7 @@ jobs:
430429
files: |
431430
go.mod
432431
go.sum
433-
- uses: cachix/install-nix-action@6a9a9e84a173d90b3ffb42c5ddaf9ea033fad011 #v23
432+
- uses: cachix/install-nix-action@fc6e360bedc9ee72d75e701397f0bb30dce77568 # v31.2
434433
if: steps.changed-files.outputs.any_changed == 'true'
435434
with:
436435
extra_nix_config: |

.github/workflows/lint.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,8 @@ jobs:
2121
with:
2222
go-version: '1.22.7'
2323
- uses: actions/checkout@v3
24-
- uses: cachix/install-nix-action@6a9a9e84a173d90b3ffb42c5ddaf9ea033fad011 #v23
24+
- uses: cachix/install-nix-action@fc6e360bedc9ee72d75e701397f0bb30dce77568 # v31.2
2525
with:
26-
nix_path: nixpkgs=channel:nixos-22.11
2726
extra_nix_config: |
2827
access-tokens = github.com=${{ secrets.GITHUB_TOKEN }}
2928
- id: changed-files

.github/workflows/nix.yml

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ jobs:
2323
- uses: actions/checkout@v4
2424
with:
2525
submodules: true
26-
- uses: cachix/install-nix-action@6a9a9e84a173d90b3ffb42c5ddaf9ea033fad011 # v23
26+
- uses: cachix/install-nix-action@fc6e360bedc9ee72d75e701397f0bb30dce77568 # v31.2
2727
with:
2828
extra_nix_config: |
2929
access-tokens = github.com=${{ secrets.GITHUB_TOKEN }}
@@ -40,7 +40,7 @@ jobs:
4040
- uses: actions/checkout@v4
4141
with:
4242
submodules: true
43-
- uses: cachix/install-nix-action@6a9a9e84a173d90b3ffb42c5ddaf9ea033fad011 # v23
43+
- uses: cachix/install-nix-action@fc6e360bedc9ee72d75e701397f0bb30dce77568 # v31.2
4444
with:
4545
extra_nix_config: |
4646
access-tokens = github.com=${{ secrets.GITHUB_TOKEN }}
@@ -83,7 +83,7 @@ jobs:
8383
- uses: actions/checkout@v4
8484
with:
8585
submodules: true
86-
- uses: cachix/install-nix-action@6a9a9e84a173d90b3ffb42c5ddaf9ea033fad011 #v23
86+
- uses: cachix/install-nix-action@fc6e360bedc9ee72d75e701397f0bb30dce77568 # v31.2
8787
with:
8888
extra_nix_config: |
8989
access-tokens = github.com=${{ secrets.GITHUB_TOKEN }}
@@ -104,7 +104,7 @@ jobs:
104104
- uses: actions/checkout@v4
105105
with:
106106
submodules: true
107-
- uses: cachix/install-nix-action@6a9a9e84a173d90b3ffb42c5ddaf9ea033fad011 # v23
107+
- uses: cachix/install-nix-action@fc6e360bedc9ee72d75e701397f0bb30dce77568 # v31.2
108108
with:
109109
extra_nix_config: |
110110
access-tokens = github.com=${{ secrets.GITHUB_TOKEN }}
@@ -139,7 +139,7 @@ jobs:
139139
- uses: actions/checkout@v4
140140
with:
141141
submodules: true
142-
- uses: cachix/install-nix-action@6a9a9e84a173d90b3ffb42c5ddaf9ea033fad011 # v23
142+
- uses: cachix/install-nix-action@fc6e360bedc9ee72d75e701397f0bb30dce77568 # v31.2
143143
with:
144144
extra_nix_config: |
145145
access-tokens = github.com=${{ secrets.GITHUB_TOKEN }}
@@ -174,7 +174,7 @@ jobs:
174174
- uses: actions/checkout@v4
175175
with:
176176
submodules: true
177-
- uses: cachix/install-nix-action@6a9a9e84a173d90b3ffb42c5ddaf9ea033fad011 # v23
177+
- uses: cachix/install-nix-action@fc6e360bedc9ee72d75e701397f0bb30dce77568 # v31.2
178178
with:
179179
extra_nix_config: |
180180
access-tokens = github.com=${{ secrets.GITHUB_TOKEN }}
@@ -209,7 +209,7 @@ jobs:
209209
- uses: actions/checkout@v4
210210
with:
211211
submodules: true
212-
- uses: cachix/install-nix-action@6a9a9e84a173d90b3ffb42c5ddaf9ea033fad011 # v23
212+
- uses: cachix/install-nix-action@fc6e360bedc9ee72d75e701397f0bb30dce77568 # v31.2
213213
with:
214214
extra_nix_config: |
215215
access-tokens = github.com=${{ secrets.GITHUB_TOKEN }}
@@ -244,7 +244,7 @@ jobs:
244244
- uses: actions/checkout@v4
245245
with:
246246
submodules: true
247-
- uses: cachix/install-nix-action@6a9a9e84a173d90b3ffb42c5ddaf9ea033fad011 # v23
247+
- uses: cachix/install-nix-action@fc6e360bedc9ee72d75e701397f0bb30dce77568 # v31.2
248248
with:
249249
extra_nix_config: |
250250
access-tokens = github.com=${{ secrets.GITHUB_TOKEN }}
@@ -279,7 +279,7 @@ jobs:
279279
- uses: actions/checkout@v4
280280
with:
281281
submodules: true
282-
- uses: cachix/install-nix-action@6a9a9e84a173d90b3ffb42c5ddaf9ea033fad011 # v23
282+
- uses: cachix/install-nix-action@fc6e360bedc9ee72d75e701397f0bb30dce77568 # v31.2
283283
with:
284284
extra_nix_config: |
285285
access-tokens = github.com=${{ secrets.GITHUB_TOKEN }}
@@ -314,7 +314,7 @@ jobs:
314314
- uses: actions/checkout@v4
315315
with:
316316
submodules: true
317-
- uses: cachix/install-nix-action@6a9a9e84a173d90b3ffb42c5ddaf9ea033fad011 # v23
317+
- uses: cachix/install-nix-action@fc6e360bedc9ee72d75e701397f0bb30dce77568 # v31.2
318318
with:
319319
extra_nix_config: |
320320
access-tokens = github.com=${{ secrets.GITHUB_TOKEN }}
@@ -350,7 +350,7 @@ jobs:
350350
- uses: actions/checkout@v4
351351
with:
352352
submodules: true
353-
- uses: cachix/install-nix-action@6a9a9e84a173d90b3ffb42c5ddaf9ea033fad011 # v23
353+
- uses: cachix/install-nix-action@fc6e360bedc9ee72d75e701397f0bb30dce77568 # v31.2
354354
with:
355355
extra_nix_config: |
356356
access-tokens = github.com=${{ secrets.GITHUB_TOKEN }}

.github/workflows/release.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,9 @@ jobs:
1414
environment: release
1515
steps:
1616
- uses: actions/checkout@v4
17-
- uses: cachix/install-nix-action@6a9a9e84a173d90b3ffb42c5ddaf9ea033fad011 # v23
17+
- uses: cachix/install-nix-action@fc6e360bedc9ee72d75e701397f0bb30dce77568 # v31.2
1818
with:
19-
nix_path: nixpkgs=channel:nixos-22.11
19+
2020
extra_nix_config: |
2121
access-tokens = github.com=${{ secrets.GITHUB_TOKEN }}
2222
- uses: cachix/cachix-action@0fc020193b5a1fa3ac4575aa3a7d3aa6a35435ad # v16
@@ -57,9 +57,9 @@ jobs:
5757
environment: release
5858
steps:
5959
- uses: actions/checkout@v4
60-
- uses: cachix/install-nix-action@6a9a9e84a173d90b3ffb42c5ddaf9ea033fad011 # v23
60+
- uses: cachix/install-nix-action@fc6e360bedc9ee72d75e701397f0bb30dce77568 # v31.2
6161
with:
62-
nix_path: nixpkgs=channel:nixos-22.11
62+
6363
extra_nix_config: |
6464
access-tokens = github.com=${{ secrets.GITHUB_TOKEN }}
6565
- uses: apple-actions/import-codesign-certs@cfd6eb39a2c848ead8836bda6b56813585404ba7 # v5.0.0

pystarport/default.nix

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
{
2-
pkgs ? import <nixpkgs> { },
2+
pkgs ? import ../nix { },
33
}:
44
pkgs.poetry2nix.mkPoetryEnv { projectDir = ./.; }

0 commit comments

Comments
 (0)