Skip to content

Commit

Permalink
Update README.md to add license badge
Browse files Browse the repository at this point in the history
  • Loading branch information
RyosukeDTomita committed Jan 30, 2024
1 parent 9c20a83 commit b0c215c
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 6 deletions.
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
# DevSecOps demo React application for AWS ECS on Fargate

![no license](https://img.shields.io/github/license/RyosukeDTomita/devsecops-demo-aws-ecs)
[![jest](https://github.com/RyosukeDTomita/devsecops-demo-aws-ecs/actions/workflows/react-jest.yaml/badge.svg)](https://github.com/RyosukeDTomita/devsecops-demo-aws-ecs/actions/workflows/react-jest.yaml)
[![Semgrep](https://github.com/RyosukeDTomita/devsecops-demo-aws-ecs/actions/workflows/react-semgrep.yaml/badge.svg)](https://github.com/RyosukeDTomita/devsecops-demo-aws-ecs/actions/workflows/react-semgrep.yaml)
[![trivy-dependency-check](https://github.com/RyosukeDTomita/devsecops-demo-aws-ecs/actions/workflows/react-dependency-check.yaml/badge.svg)](https://github.com/RyosukeDTomita/devsecops-demo-aws-ecs/actions/workflows/react-dependency-check.yaml)
Expand Down Expand Up @@ -98,7 +100,6 @@ DOCKER_DEFAULT_PLATFORM=linux/amd64 copilot init
<details>
<summary>共通のVPCを使う場合の詳細</summary>


```shell
copilot env init
Environment name: prod-env
Expand Down
18 changes: 13 additions & 5 deletions doc/github-actions.md
Original file line number Diff line number Diff line change
@@ -1,16 +1,24 @@
# GitHub Actions 関連

> [!NOTE]
> 個々のツールのGitHub Actionsの実行方法はツールごとのドキュメント参照。
> 個々のツールの GitHub Actions の実行方法はツールごとのドキュメント参照。
## README にバッチをつける

## READMEにバッチをつける
### GitHub Actions の Workflow

- リポジトリのActionsのページから**Create status badge**をクリックしてREADME.mdに貼り付ける
- リポジトリの Actions のページから**Create status badge**をクリックして README.md に貼り付ける

![バッチのつけかた](./fig/badge.png)
******

### license を示すバッチをつける

- `https://img.shields.io/github/license/<Github-Username>/<Repository>`のようにしてつける。
![no license](https://img.shields.io/github/license/RyosukeDTomita/devsecops-demo-aws-ecs)

---

## 特定のコミットを使ってactionsを実行する。
## 特定のコミットを使って actions を実行する

```yaml
actions/setup-python@コミットハッシュ
Expand Down

0 comments on commit b0c215c

Please sign in to comment.