Skip to content

Commit 2d0d11d

Browse files
[pre-commit.ci] pre-commit autoupdate (#155)
<!--pre-commit.ci start--> updates: - [github.com/psf/black: 23.10.0 → 23.10.1](psf/black@23.10.0...23.10.1) - [github.com/tox-dev/pyproject-fmt: 1.2.0 → 1.3.0](tox-dev/pyproject-fmt@1.2.0...1.3.0) - [github.com/astral-sh/ruff-pre-commit: v0.1.1 → v0.1.3](astral-sh/ruff-pre-commit@v0.1.1...v0.1.3) <!--pre-commit.ci end--> --------- Signed-off-by: Alexander Piskun <bigcat88@icloud.com> Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> Co-authored-by: Alexander Piskun <bigcat88@icloud.com>
1 parent 1cd5a33 commit 2d0d11d

File tree

2 files changed

+30
-6
lines changed

2 files changed

+30
-6
lines changed

.github/workflows/analysis-coverage.yml

Lines changed: 27 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -576,12 +576,20 @@ jobs:
576576
kill -15 $(cat /tmp/_install.pid)
577577
timeout 3m tail --pid=$(cat /tmp/_install.pid) -f /dev/null
578578
579+
- name: Talk Branch Main
580+
if: ${{ startsWith(matrix.nextcloud, 'master') }}
581+
run: echo "TALK_BRANCH_NAME=main" >> $GITHUB_ENV
582+
583+
- name: Talk Branch Other
584+
if: ${{ !startsWith(matrix.nextcloud, 'master') }}
585+
run: echo "TALK_BRANCH_NAME=${{ matrix.nextcloud }}" >> $GITHUB_ENV
586+
579587
- name: Checkout Talk
580588
uses: actions/checkout@v4
581589
with:
582590
path: apps/spreed
583591
repository: nextcloud/spreed
584-
ref: ${{ matrix.nextcloud }}
592+
ref: ${{ env.TALK_BRANCH_NAME }}
585593

586594
- name: Install Talk
587595
working-directory: apps/spreed
@@ -726,12 +734,20 @@ jobs:
726734
kill -15 $(cat /tmp/_install.pid)
727735
timeout 3m tail --pid=$(cat /tmp/_install.pid) -f /dev/null
728736
737+
- name: Talk Branch Main
738+
if: ${{ startsWith(matrix.nextcloud, 'master') }}
739+
run: echo "TALK_BRANCH_NAME=main" >> $GITHUB_ENV
740+
741+
- name: Talk Branch Other
742+
if: ${{ !startsWith(matrix.nextcloud, 'master') }}
743+
run: echo "TALK_BRANCH_NAME=${{ matrix.nextcloud }}" >> $GITHUB_ENV
744+
729745
- name: Checkout Talk
730746
uses: actions/checkout@v4
731747
with:
732748
path: apps/spreed
733749
repository: nextcloud/spreed
734-
ref: ${{ matrix.nextcloud }}
750+
ref: ${{ env.TALK_BRANCH_NAME }}
735751

736752
- name: Install Talk
737753
working-directory: apps/spreed
@@ -847,12 +863,20 @@ jobs:
847863
working-directory: nc_py_api
848864
run: python3 -m pip -v install . pytest coverage pillow
849865

866+
- name: Talk Branch Main
867+
if: ${{ startsWith(matrix.nextcloud, 'master') }}
868+
run: echo "TALK_BRANCH_NAME=main" >> $GITHUB_ENV
869+
870+
- name: Talk Branch Other
871+
if: ${{ !startsWith(matrix.nextcloud, 'master') }}
872+
run: echo "TALK_BRANCH_NAME=${{ matrix.nextcloud }}" >> $GITHUB_ENV
873+
850874
- name: Checkout Talk
851875
uses: actions/checkout@v4
852876
with:
853877
path: apps/spreed
854878
repository: nextcloud/spreed
855-
ref: ${{ matrix.nextcloud }}
879+
ref: ${{ env.TALK_BRANCH_NAME }}
856880

857881
- name: Install Talk
858882
working-directory: apps/spreed

.pre-commit-config.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ repos:
2424
)
2525
2626
- repo: https://github.com/psf/black
27-
rev: 23.10.0
27+
rev: 23.10.1
2828
hooks:
2929
- id: black
3030
files: >-
@@ -36,12 +36,12 @@ repos:
3636
)
3737
3838
- repo: https://github.com/tox-dev/pyproject-fmt
39-
rev: 1.2.0
39+
rev: 1.3.0
4040
hooks:
4141
- id: pyproject-fmt
4242

4343
- repo: https://github.com/astral-sh/ruff-pre-commit
44-
rev: v0.1.1
44+
rev: v0.1.3
4545
hooks:
4646
- id: ruff
4747

0 commit comments

Comments
 (0)