Skip to content

Commit 4a01035

Browse files
committed
revert to 9ce2eea and make changes
1 parent 9ce2eea commit 4a01035

File tree

2 files changed

+70
-32
lines changed

2 files changed

+70
-32
lines changed

.github/workflows/msys.yaml

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
name: MSYS
2+
on:
3+
workflow_dispatch:
4+
push:
5+
branches:
6+
- "line-length"
7+
8+
jobs:
9+
msys2-msys:
10+
runs-on: windows-latest
11+
defaults:
12+
run:
13+
shell: msys2 {0}
14+
steps:
15+
- uses: actions/checkout@v3
16+
- uses: msys2/setup-msys2@v2
17+
with:
18+
msystem: MSYS
19+
update: true
20+
install: git gettext
21+
22+
- name: Run msgcat
23+
run: |
24+
msgcat --version
25+
msgcat -o library/stdtypes.po library/stdtypes.po
26+
27+
- name: Create Pull Request
28+
uses: peter-evans/create-pull-request@v4.2.3
29+
with:
30+
token: ${{ secrets.BOT_PAT }}
31+
commit-message: "Wrap all files on: ${{ github.ref_name }}"
32+
branch: ${{ github.ref_name }}-wrapped
33+
delete-branch: true
34+
committer: python-docs-turkish <python.docs.tr@gmail.com>
35+
author: python-docs-turkish <python.docs.tr@gmail.com>
36+
title: "Wrap branch: ${{ github.ref_name }}"
37+
body: "Wrapped all files on branch: ${{ github.ref_name }}."
38+
labels: wrap
Lines changed: 32 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -1,37 +1,37 @@
1-
name: pre-commit-ci
2-
on:
3-
workflow_dispatch:
4-
push:
5-
branches:
6-
- "**"
7-
pull_request:
8-
branches:
9-
- "**"
1+
# name: pre-commit-ci
2+
# on:
3+
# workflow_dispatch:
4+
# push:
5+
# branches:
6+
# - "**"
7+
# pull_request:
8+
# branches:
9+
# - "**"
1010

11-
jobs:
12-
pre-commit:
13-
name: "Pre-commit checks"
14-
runs-on: windows-latest
15-
steps:
16-
- uses: actions/checkout@v3
17-
- uses: actions/setup-python@v4
18-
id: setup_python
19-
with:
20-
python-version: "3.11"
21-
cache: pip
11+
# jobs:
12+
# pre-commit:
13+
# name: "Pre-commit checks"
14+
# runs-on: ubuntu-latest
15+
# steps:
16+
# - uses: actions/checkout@v3
17+
# - uses: actions/setup-python@v4
18+
# id: setup_python
19+
# with:
20+
# python-version: "3.11"
21+
# cache: pip
2222

23-
- name: Install pre-commit
24-
run: pip install --upgrade pre-commit
23+
# - name: Install pre-commit
24+
# run: pip install --upgrade -r requirements.txt
2525

26-
- name: Cache pre-commit tools
27-
uses: actions/cache@v3
28-
with:
29-
key: pre-commit-${{ runner.os }}-${{ steps.setup_python.outputs.python-version}}-${{ hashFiles('.pre-commit-config.yaml') }}
30-
path: ~/.cache/pre-commit
26+
# - name: Cache pre-commit tools
27+
# uses: actions/cache@v3
28+
# with:
29+
# key: pre-commit-${{ runner.os }}-${{ steps.setup_python.outputs.python-version}}-${{ hashFiles('.pre-commit-config.yaml') }}
30+
# path: ~/.cache/pre-commit
3131

32-
- name: Run pre-commit
33-
run: pre-commit run --show-diff-on-failure
32+
# - name: Run pre-commit
33+
# run: pre-commit run --all-files --show-diff-on-failure
3434

35-
- name: Run pre-commit-ci-lite
36-
uses: pre-commit-ci/lite-action@v1.0.1
37-
if: always()
35+
# - name: Run pre-commit-ci-lite
36+
# uses: pre-commit-ci/lite-action@v1.0.1
37+
# if: always()

0 commit comments

Comments
 (0)