Skip to content

Commit

Permalink
permissions test
Browse files Browse the repository at this point in the history
  • Loading branch information
RyosukeDTomita committed Jun 17, 2024
1 parent cffe373 commit 109dc9a
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 1 deletion.
3 changes: 3 additions & 0 deletions .github/workflows/react-dependency-check.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,9 @@ jobs:

trivy-scan:
runs-on: ubuntu-latest
permissions:
contents: read
packages: write

steps:
- name: clone application source code
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/react-jest.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@ defaults:
jobs:
frontend-jest: # job id(Typed by user)
runs-on: ubuntu-latest
permissions:
contents: read
defaults:
# デフォルトのワーキングディレクトリのため設定不要だが,明示的に指定。
run:
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/react-semgrep.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,9 @@ jobs:

semgrep-full:
runs-on: ubuntu-latest
permissions:
contents: read
packages: write
container:
image: returntocorp/semgrep

Expand Down
1 change: 1 addition & 0 deletions aqua.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,3 +12,4 @@ registries:
packages:
- name: suzuki-shunsuke/pinact@v0.2.0
- name: suzuki-shunsuke/github-comment@v6.0.4
- name: suzuki-shunsuke/ghalint@v0.2.11
3 changes: 2 additions & 1 deletion doc/tools_doc/aqua.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,9 @@ export PATH="$(aqua root-dir)/bin:$PATH"

```shell
aqua init # aqua.yamlを作成
aqua i -l # これを実行しないとダウンロードしたツールが使えない。
aqua g -i suzuki-shunsuke/pinact
aqua i -l # これを実行後にコマンドを実行するとローカルにダウンロードされる。
pinact
```

---
Expand Down

0 comments on commit 109dc9a

Please sign in to comment.