Skip to content

Commit

Permalink
path filter test
Browse files Browse the repository at this point in the history
  • Loading branch information
RyosukeDTomita committed Jun 17, 2024
1 parent 77b1e63 commit c5fc472
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 4 deletions.
6 changes: 5 additions & 1 deletion .github/workflows/react-jest.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
name: run-jest
on: [push]
on:
push:
paths:
- "src/**.tsx"
- "src/**.ts"

defaults:
run:
Expand Down
10 changes: 7 additions & 3 deletions doc/github-actions.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ actions/setup-python@コミットハッシュ

## GitHub ActionsでSecretを扱う

> [公式ドキュメント](https://docs.github.com/ja/actions/security-guides/using-secrets-in-github-actions)
> GUIの場合は[公式ドキュメント](https://docs.github.com/ja/actions/security-guides/using-secrets-in-github-actions)参照。
### 2種類のシークレット

Expand All @@ -41,8 +41,8 @@ actions/setup-python@コミットハッシュ

### 使用方法(CLI)

> [GitHub CLIでリポジトリへsecretを設定](https://zenn.dev/hankei6km/articles/set-secret-to-repo-with-githubcli)
> [GitHub Actionsで機密情報を扱う方法](https://qiita.com/ak2ie/items/4fbcdf74e7760c49c1af)
> [GitHub CLIでリポジトリへsecretを設定する方法](https://zenn.dev/hankei6km/articles/set-secret-to-repo-with-githubcli)
> [GitHub ActionsでEnvironment Secretを扱うサンプル](https://qiita.com/ak2ie/items/4fbcdf74e7760c49c1af)
- 個人的には.envから一括投入するのが使いやすそう。今回の例では--envを指定しているが指定しないとRepository Secretになる。

Expand All @@ -68,6 +68,10 @@ jobs:
---
## path filterを使って特定のファイル変更時のみCIを走らせる
---
## CodeQLを使ってファイルを出力
### Advanced Security must be enabled for this repository to use code scanning 403: GitHub Advanced Security is not enabled
Expand Down
2 changes: 2 additions & 0 deletions doc/tools_doc/github-comment.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@ GitHub Actionsを使いたい場合には後述の手順を参照。

## 使い方

> [公式ドキュメント](https://suzuki-shunsuke.github.io/github-comment/getting-started)
### 共通してやること

- github-comment.yaml(template)を用意する。
Expand Down

0 comments on commit c5fc472

Please sign in to comment.