Skip to content

Commit 2d1af55

Browse files
farioasrobot-ci-heartex
authored andcommitted
ci: rework changes for copybara@sdk
GitOrigin-RevId: f54ef42314693166d6b869e85708a86ebb71a8cc
1 parent e1663be commit 2d1af55

3 files changed

Lines changed: 44 additions & 23 deletions

File tree

.github/autolabeler.yml

Lines changed: 5 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
1-
template: "Mandatory field" #https://github.com/release-drafter/release-drafter/blob/master/bin/generate-schema.js#L16
1+
template: "Mandatory field" #https://github.com/release-drafter/release-drafter/blob/master/bin/generate-schema.js#L15
22
autolabeler:
3-
- label: 'build'
4-
title:
5-
- '/^build:/'
3+
# - label: 'breaking'
4+
# body:
5+
# - '/BREAKING CHANGE/i'
66
- label: 'fix'
77
title:
88
- '/^fix:/'
@@ -15,10 +15,6 @@ autolabeler:
1515
- label: 'chore'
1616
title:
1717
- '/^chore:/'
18-
- '/^chore(deps):/'
19-
- '/^chore(deps-dev):/'
20-
- '/^build(deps):/'
21-
- '/^build(deps-dev):/'
2218
- label: 'ci'
2319
title:
2420
- '/^ci:/'
@@ -28,12 +24,9 @@ autolabeler:
2824
- label: 'refactor'
2925
title:
3026
- '/^refactor:/'
31-
- label: 'revert'
32-
title:
33-
- '/^revert:/'
3427
- label: 'style'
3528
title:
3629
- '/^style:/'
3730
- label: 'test'
3831
title:
39-
- '/^test:/'
32+
- '/^test:/'

.github/pr-title-checker-config.json

Lines changed: 3 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -5,32 +5,24 @@
55
},
66
"CHECKS": {
77
"prefixes": [
8-
"build: ",
98
"fix: ",
109
"feat: ",
1110
"docs: ",
1211
"chore: ",
13-
"chore(deps): ",
14-
"chore(deps-dev): ",
15-
"build(deps): ",
16-
"build(deps-dev): ",
1712
"ci: ",
1813
"perf: ",
1914
"refactor: ",
20-
"revert: ",
2115
"style: ",
2216
"test: "
2317
],
2418
"ignoreLabels": [
2519
"skip-changelog",
2620
"skip-ci"
27-
],
28-
"regexp": ".*:\\s[A-Z0-9]+-[0-9]+:\\s.*",
29-
"regexpFlags": "i"
21+
]
3022
},
3123
"MESSAGES": {
3224
"success": "PR title is valid",
3325
"failure": "PR title is invalid",
34-
"notice": "For more information, see [Conventional Commits specification](https://conventionalcommits.org)"
26+
"notice": "Please set prefix"
3527
}
36-
}
28+
}

.github/workflows/docs.yml

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
# DISABLED as api.labelstud.io is managed by fern
2+
#name: deploy:docs
3+
#
4+
#on:
5+
# push:
6+
# branches: [ master ]
7+
#
8+
#jobs:
9+
# deploy_docs:
10+
# runs-on: ubuntu-latest
11+
# steps:
12+
# - uses: actions/checkout@v4
13+
#
14+
# - name: Cache pip deps
15+
# uses: actions/cache@v4
16+
# env:
17+
# cache-name: cache-pip-packages
18+
# with:
19+
# path: ~/.cache/pip
20+
# key: ${{ runner.os }}-pip-${{ env.cache-name }}-${{ hashFiles('setup.py') }}-${{ hashFiles('requirements.txt') }}
21+
# restore-keys: |
22+
# ${{ runner.os }}-pip-${{ env.cache-name }}-
23+
# ${{ runner.os }}-pip-
24+
# ${{ runner.os }}-
25+
#
26+
# - name: Install pdoc with dependencies
27+
# run: make install
28+
#
29+
# - name: Build HTML for deployment
30+
# run: make build
31+
#
32+
# - name: Publish docs to AWS S3
33+
# env:
34+
# AWS_ACCESS_KEY_ID: ${{ secrets.DOCS_DEPLOY_AWS_ACCESS_KEY_ID }}
35+
# AWS_SECRET_ACCESS_KEY: ${{ secrets.DOCS_DEPLOY_AWS_SECRET_ACCESS_KEY }}
36+
# run: make deploy

0 commit comments

Comments
 (0)