Spaces:
Sleeping
Sleeping
Upload folder using huggingface_hub
Browse files- .github/mergify.yml +16 -0
- .github/workflows/docker.yml +1 -1
.github/mergify.yml
CHANGED
@@ -6,11 +6,27 @@ pull_request_rules:
|
|
6 |
- check-success = ruff
|
7 |
- check-success = pyright
|
8 |
- check-success = pylint
|
|
|
|
|
9 |
actions:
|
10 |
queue:
|
11 |
label:
|
12 |
add:
|
13 |
- dependencies
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
14 |
queue_rules:
|
15 |
- queue_branch_merge_method: fast-forward
|
16 |
allow_queue_branch_edit: true
|
|
|
6 |
- check-success = ruff
|
7 |
- check-success = pyright
|
8 |
- check-success = pylint
|
9 |
+
- check-success = dockerfile
|
10 |
+
- check-success = check_image
|
11 |
actions:
|
12 |
queue:
|
13 |
label:
|
14 |
add:
|
15 |
- dependencies
|
16 |
+
- name: Automatically merge DeepSource Autofix PRs
|
17 |
+
conditions:
|
18 |
+
- author = deepsource-autofix[bot]
|
19 |
+
- check-success = spelling
|
20 |
+
- check-success = ruff
|
21 |
+
- check-success = pyright
|
22 |
+
- check-success = pylint
|
23 |
+
- check-success = dockerfile
|
24 |
+
- check-success = check_image
|
25 |
+
actions:
|
26 |
+
queue:
|
27 |
+
label:
|
28 |
+
add:
|
29 |
+
- enhancement
|
30 |
queue_rules:
|
31 |
- queue_branch_merge_method: fast-forward
|
32 |
allow_queue_branch_edit: true
|
.github/workflows/docker.yml
CHANGED
@@ -46,7 +46,7 @@ jobs:
|
|
46 |
images: ghcr.io/${{ github.repository }}
|
47 |
tags: |
|
48 |
type=raw,value=latest,enable={{is_default_branch}}
|
49 |
-
type=raw,value
|
50 |
- name: Build
|
51 |
uses: docker/build-push-action@v6
|
52 |
with:
|
|
|
46 |
images: ghcr.io/${{ github.repository }}
|
47 |
tags: |
|
48 |
type=raw,value=latest,enable={{is_default_branch}}
|
49 |
+
type=raw,value=${{ github.ref_name }},enable=${{ github.ref != 'refs/heads/main' }}
|
50 |
- name: Build
|
51 |
uses: docker/build-push-action@v6
|
52 |
with:
|