File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2525permissions : read-all
2626
2727jobs :
28- lint :
29- if : " ${{ github.event.action != 'labeled' || github.event.label.name == 'tests: run' }}"
30- name : lint
28+ remove-label :
29+ if : " ${{ github.event.action == 'labeled' && github.event.label.name == 'tests: run' }}"
3130 runs-on : ubuntu-latest
32- concurrency :
33- group : ${{ github.workflow }}-${{ github.ref }}
34- cancel-in-progress : true
35- defaults :
36- run :
37- working-directory : ./packages/toolbox-adk
3831 permissions :
39- contents : ' read'
4032 issues : ' write'
4133 pull-requests : ' write'
4234 steps :
4335 - name : Remove PR Label
44- if : " ${{ github.event.action == 'labeled' && github.event.label.name == 'tests: run' }}"
4536 uses : actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8.0.0
4637 with :
4738 github-token : ${{ secrets.GITHUB_TOKEN }}
@@ -56,12 +47,26 @@ jobs:
5647 } catch (e) {
5748 console.log('Failed to remove label. Another job may have already removed it!');
5849 }
50+
51+ lint :
52+ if : " ${{ github.event.action != 'labeled' || github.event.label.name == 'tests: run' }}"
53+ name : lint
54+ runs-on : ubuntu-latest
55+ concurrency :
56+ group : ${{ github.workflow }}-${{ github.ref }}
57+ cancel-in-progress : true
58+ defaults :
59+ run :
60+ working-directory : ./packages/toolbox-adk
61+ permissions :
62+ contents : ' read'
63+ steps :
5964 - name : Checkout code
6065 uses : actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
6166 with :
6267 ref : ${{ github.event.pull_request.head.sha }}
6368 repository : ${{ github.event.pull_request.head.repo.full_name }}
64- token : ${{ secrets.GITHUB_TOKEN }}
69+ persist-credentials : false
6570 - name : Setup Python
6671 uses : actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v6.2.0
6772 with :
8186 - name : Run type-check
8287 env :
8388 MYPYPATH : ' ./src'
84- run : mypy --install-types --non-interactive --cache-dir=.mypy_cache/ -p toolbox_adk
89+ run : mypy --install-types --non-interactive --cache-dir=.mypy_cache/ -p toolbox_adk
Original file line number Diff line number Diff line change 2525permissions : read-all
2626
2727jobs :
28- lint :
29- if : " ${{ github.event.action != 'labeled' || github.event.label.name == 'tests: run' }}"
30- name : lint
28+ remove-label :
29+ if : " ${{ github.event.action == 'labeled' && github.event.label.name == 'tests: run' }}"
3130 runs-on : ubuntu-latest
32- concurrency :
33- group : ${{ github.workflow }}-${{ github.ref }}
34- cancel-in-progress : true
35- defaults :
36- run :
37- working-directory : ./packages/toolbox-core
3831 permissions :
39- contents : ' read'
4032 issues : ' write'
4133 pull-requests : ' write'
4234 steps :
4335 - name : Remove PR Label
44- if : " ${{ github.event.action == 'labeled' && github.event.label.name == 'tests: run' }}"
4536 uses : actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8.0.0
4637 with :
4738 github-token : ${{ secrets.GITHUB_TOKEN }}
@@ -56,12 +47,26 @@ jobs:
5647 } catch (e) {
5748 console.log('Failed to remove label. Another job may have already removed it!');
5849 }
50+
51+ lint :
52+ if : " ${{ github.event.action != 'labeled' || github.event.label.name == 'tests: run' }}"
53+ name : lint
54+ runs-on : ubuntu-latest
55+ concurrency :
56+ group : ${{ github.workflow }}-${{ github.ref }}
57+ cancel-in-progress : true
58+ defaults :
59+ run :
60+ working-directory : ./packages/toolbox-core
61+ permissions :
62+ contents : ' read'
63+ steps :
5964 - name : Checkout code
6065 uses : actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
6166 with :
6267 ref : ${{ github.event.pull_request.head.sha }}
6368 repository : ${{ github.event.pull_request.head.repo.full_name }}
64- token : ${{ secrets.GITHUB_TOKEN }}
69+ persist-credentials : false
6570 - name : Setup Python
6671 uses : actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v6.2.0
6772 with :
8186 - name : Run type-check
8287 env :
8388 MYPYPATH : ' ./src'
84- run : mypy --install-types --non-interactive --cache-dir=.mypy_cache/ -p toolbox_core
89+ run : mypy --install-types --non-interactive --cache-dir=.mypy_cache/ -p toolbox_core
Original file line number Diff line number Diff line change 2525permissions : read-all
2626
2727jobs :
28- lint :
29- if : " ${{ github.event.action != 'labeled' || github.event.label.name == 'tests: run' }}"
30- name : lint
28+ remove-label :
29+ if : " ${{ github.event.action == 'labeled' && github.event.label.name == 'tests: run' }}"
3130 runs-on : ubuntu-latest
32- concurrency :
33- group : ${{ github.workflow }}-${{ github.ref }}
34- cancel-in-progress : true
35- defaults :
36- run :
37- working-directory : ./packages/toolbox-langchain
3831 permissions :
39- contents : ' read'
4032 issues : ' write'
4133 pull-requests : ' write'
4234 steps :
4335 - name : Remove PR Label
44- if : " ${{ github.event.action == 'labeled' && github.event.label.name == 'tests: run' }}"
4536 uses : actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8.0.0
4637 with :
4738 github-token : ${{ secrets.GITHUB_TOKEN }}
@@ -56,12 +47,26 @@ jobs:
5647 } catch (e) {
5748 console.log('Failed to remove label. Another job may have already removed it!');
5849 }
50+
51+ lint :
52+ if : " ${{ github.event.action != 'labeled' || github.event.label.name == 'tests: run' }}"
53+ name : lint
54+ runs-on : ubuntu-latest
55+ concurrency :
56+ group : ${{ github.workflow }}-${{ github.ref }}
57+ cancel-in-progress : true
58+ defaults :
59+ run :
60+ working-directory : ./packages/toolbox-langchain
61+ permissions :
62+ contents : ' read'
63+ steps :
5964 - name : Checkout code
6065 uses : actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
6166 with :
6267 ref : ${{ github.event.pull_request.head.sha }}
6368 repository : ${{ github.event.pull_request.head.repo.full_name }}
64- token : ${{ secrets.GITHUB_TOKEN }}
69+ persist-credentials : false
6570 - name : Setup Python
6671 uses : actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v6.2.0
6772 with :
8186 - name : Run type-check
8287 env :
8388 MYPYPATH : ' ./src'
84- run : mypy --install-types --non-interactive --cache-dir=.mypy_cache/ -p toolbox_langchain
89+ run : mypy --install-types --non-interactive --cache-dir=.mypy_cache/ -p toolbox_langchain
Original file line number Diff line number Diff line change 2525permissions : read-all
2626
2727jobs :
28- lint :
29- if : " ${{ github.event.action != 'labeled' || github.event.label.name == 'tests: run' }}"
30- name : lint
28+ remove-label :
29+ if : " ${{ github.event.action == 'labeled' && github.event.label.name == 'tests: run' }}"
3130 runs-on : ubuntu-latest
32- concurrency :
33- group : ${{ github.workflow }}-${{ github.ref }}
34- cancel-in-progress : true
35- defaults :
36- run :
37- working-directory : ./packages/toolbox-llamaindex
3831 permissions :
39- contents : ' read'
4032 issues : ' write'
4133 pull-requests : ' write'
4234 steps :
4335 - name : Remove PR Label
44- if : " ${{ github.event.action == 'labeled' && github.event.label.name == 'tests: run' }}"
4536 uses : actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8.0.0
4637 with :
4738 github-token : ${{ secrets.GITHUB_TOKEN }}
@@ -56,12 +47,26 @@ jobs:
5647 } catch (e) {
5748 console.log('Failed to remove label. Another job may have already removed it!');
5849 }
50+
51+ lint :
52+ if : " ${{ github.event.action != 'labeled' || github.event.label.name == 'tests: run' }}"
53+ name : lint
54+ runs-on : ubuntu-latest
55+ concurrency :
56+ group : ${{ github.workflow }}-${{ github.ref }}
57+ cancel-in-progress : true
58+ defaults :
59+ run :
60+ working-directory : ./packages/toolbox-llamaindex
61+ permissions :
62+ contents : ' read'
63+ steps :
5964 - name : Checkout code
6065 uses : actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
6166 with :
6267 ref : ${{ github.event.pull_request.head.sha }}
6368 repository : ${{ github.event.pull_request.head.repo.full_name }}
64- token : ${{ secrets.GITHUB_TOKEN }}
69+ persist-credentials : false
6570 - name : Setup Python
6671 uses : actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v6.2.0
6772 with :
8186 - name : Run type-check
8287 env :
8388 MYPYPATH : ' ./src'
84- run : mypy --install-types --non-interactive --cache-dir=.mypy_cache/ -p toolbox_llamaindex
89+ run : mypy --install-types --non-interactive --cache-dir=.mypy_cache/ -p toolbox_llamaindex
You can’t perform that action at this time.
0 commit comments