Skip to content

Commit d2f275b

Browse files
authored
[CI] triton_v3.2.x modify the code-format-check.yml file to use the action from the main branch (#452)
1 parent e4660c5 commit d2f275b

File tree

1 file changed

+8
-6
lines changed

1 file changed

+8
-6
lines changed

.github/workflows/code-format-check.yml

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,9 @@ on:
44
schedule:
55
- cron: '0 21 * * *'
66
push:
7-
branches: [ "main", "triton_v3.2.x", "triton_v3.3.x" ]
7+
branches: [ "main", "triton_v3.2.x", "triton_v3.3.x", "triton_v3.4.x", "triton_v3.5.x"]
88
pull_request:
9-
branches: [ "main", "triton_v3.2.x", "triton_v3.3.x" ]
9+
branches: [ "main", "triton_v3.2.x", "triton_v3.3.x", "triton_v3.4.x", "triton_v3.5.x"]
1010

1111
concurrency:
1212
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
@@ -16,8 +16,10 @@ jobs:
1616
pre-commit:
1717
runs-on: ubuntu-latest
1818
steps:
19-
- uses: actions/checkout@v5
20-
- uses: actions/setup-python@v5
19+
- name: Checkout code
20+
id: checkout
21+
uses: actions/checkout@v6
2122
with:
22-
python-version: '3.11'
23-
- uses: pre-commit/action@v3.0.1
23+
token: ${{ secrets.BOT_PAT_TOKEN || github.token }}
24+
- name: Code format check
25+
uses: flagos-ai/FlagTree/.github/actions/code-format-check@main

0 commit comments

Comments
 (0)