Skip to content

Commit

Permalink
👷 CI: 删除 NoneFlow 中关于 pre-commit 的部分 (#3166)
Browse files Browse the repository at this point in the history
  • Loading branch information
he0119 authored Dec 5, 2024
1 parent 36d90c0 commit e06076a
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions .github/workflows/noneflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,12 +49,6 @@ jobs:
with:
token: ${{ steps.generate-token.outputs.token }}

- name: Cache pre-commit hooks
uses: actions/cache@v4
with:
path: .cache/.pre-commit
key: noneflow-${{ runner.os }}-${{ hashFiles('.pre-commit-config.yaml') }}

- name: NoneFlow
uses: docker://ghcr.io/nonebot/noneflow:latest
with:
Expand All @@ -69,7 +63,3 @@ jobs:
env:
APP_ID: ${{ secrets.APP_ID }}
PRIVATE_KEY: ${{ secrets.APP_KEY }}
PRE_COMMIT_HOME: /github/workspace/.cache/.pre-commit

- name: Fix permission
run: sudo chown -R $(whoami):$(id -ng) .cache/.pre-commit

0 comments on commit e06076a

Please sign in to comment.