Skip to content

Commit

Permalink
fix: Fix inconsistent language used in GitHub Actions
Browse files Browse the repository at this point in the history
Signed-off-by: 林博仁(Buo-ren Lin) <Buo.Ren.Lin@gmail.com>
  • Loading branch information
brlin-tw committed Aug 27, 2022
1 parent f5503e1 commit c0cc9c5
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions .github/workflows/check-potential-problems.yml
Original file line number Diff line number Diff line change
@@ -1,30 +1,30 @@
# 用來檢查專案中的潛在問題的 GitHub Actions 工作流程(workflow)定義檔
# GitHub Actions workflow for checking potential problems in the project
#
# 編輯參考:
# References:
#
# * Workflow syntax for GitHub Actions - GitHub Docs
# https://docs.github.com/en/actions/learn-github-actions/workflow-syntax-for-github-actions
#
# Copyright 2021 林博仁(Buo-ren, Lin) <Buo.Ren.Lin@gmail.com>
# Copyright 2022 林博仁(Buo-ren, Lin) <Buo.Ren.Lin@gmail.com>
# SPDX-License-Identifier: CC-BY-SA-4.0
name: 檢查專案中的潛在問題
name: Check potential problems in the project
on:
- push
jobs:
check-using-precommit:
name: 使用 pre-commit 檢查專案中的潛在問題
name: Check potential problems using pre-commit
runs-on: ubuntu-20.04
steps:
- name: 自版控庫取出內容
- name: Checking out content from repository
uses: actions/checkout@v2

- name: 安裝 pre-commit
- name: Install pre-commit
run: pip3 install pre-commit

- name: 使用 pre-commit 檢查專案中的所有檔案
- name: Check all files in project using pre-commit
run: pre-commit run --all-files --color always

- name: 傳送持續整合結果告警到 Telegram 頻道
- name: Send CI result notification to the Telegram channel
uses: yanzay/notify-telegram@v0.1.0
if: always()
with:
Expand Down

0 comments on commit c0cc9c5

Please sign in to comment.