From 2e7dcb3585027f8601de7bab66d284053b8570fe Mon Sep 17 00:00:00 2001 From: june Date: Sun, 12 May 2024 20:47:17 +0900 Subject: [PATCH 01/49] add push.yaml --- .github/workflows/push.yaml | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 .github/workflows/push.yaml diff --git a/.github/workflows/push.yaml b/.github/workflows/push.yaml new file mode 100644 index 000000000..465d0e280 --- /dev/null +++ b/.github/workflows/push.yaml @@ -0,0 +1,8 @@ +name: push-workflow +on: push +jobs: + push-job: + runs-on: ubuntu-latest + steps: + - name: step1 + run: echo hello world From bdf713ba38dcfd35adba6e806e76017be1e2648e Mon Sep 17 00:00:00 2001 From: june Date: Sun, 12 May 2024 20:49:12 +0900 Subject: [PATCH 02/49] add push.yaml --- .github/workflows/push.yaml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/push.yaml b/.github/workflows/push.yaml index 465d0e280..a6fd63072 100644 --- a/.github/workflows/push.yaml +++ b/.github/workflows/push.yaml @@ -6,3 +6,7 @@ jobs: steps: - name: step1 run: echo hello world + - name: step2 + run: | + echo hello world + echo github actions From 4b081e2cb1cc132d8cf1dcceaef083468dd6b4eb Mon Sep 17 00:00:00 2001 From: june Date: Sun, 12 May 2024 20:50:26 +0900 Subject: [PATCH 03/49] add push.yaml --- .github/workflows/{ => part1}/push.yaml | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename .github/workflows/{ => part1}/push.yaml (100%) diff --git a/.github/workflows/push.yaml b/.github/workflows/part1/push.yaml similarity index 100% rename from .github/workflows/push.yaml rename to .github/workflows/part1/push.yaml From 6c146ada7ab2670ffb15225f9c004be7f3232df2 Mon Sep 17 00:00:00 2001 From: june Date: Sun, 12 May 2024 20:56:32 +0900 Subject: [PATCH 04/49] add pull_request.yaml --- .github/workflows/pull_request.yaml | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 .github/workflows/pull_request.yaml diff --git a/.github/workflows/pull_request.yaml b/.github/workflows/pull_request.yaml new file mode 100644 index 000000000..1d0f87bc0 --- /dev/null +++ b/.github/workflows/pull_request.yaml @@ -0,0 +1,12 @@ +name: pull-request-workflow +on: pull_request +jobs: + pull-request-job: + runs-on: ubuntu-latest + steps: + - name: step1 + run: echo hello world + - name: step2 + run: | + echo hello world + echo github actions From 609426ce6a1b0103adf95495c82616f3aacf3f85 Mon Sep 17 00:00:00 2001 From: june Date: Sun, 12 May 2024 21:12:34 +0900 Subject: [PATCH 05/49] add pull_request.yaml --- .github/workflows/pull_request.yaml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/pull_request.yaml b/.github/workflows/pull_request.yaml index 1d0f87bc0..e5e2cb4fb 100644 --- a/.github/workflows/pull_request.yaml +++ b/.github/workflows/pull_request.yaml @@ -1,5 +1,7 @@ name: pull-request-workflow -on: pull_request +on: + pull_request: + types: [opened] jobs: pull-request-job: runs-on: ubuntu-latest From 3695758e094fe1d5a885671ab6101860c22f407d Mon Sep 17 00:00:00 2001 From: june Date: Sun, 12 May 2024 21:22:52 +0900 Subject: [PATCH 06/49] issue.yaml --- .github/workflows/issue.yaml | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 .github/workflows/issue.yaml diff --git a/.github/workflows/issue.yaml b/.github/workflows/issue.yaml new file mode 100644 index 000000000..4fbbb32aa --- /dev/null +++ b/.github/workflows/issue.yaml @@ -0,0 +1,15 @@ +name: issue-workflow +on: + issues: + types: [opened] + +jobs: + issue-job: + runs-on: ubuntu-latest + steps: + - name: step1 + run: echo hello world + - name: step2 + run: | + echo hello world + echo github actions From 0f9dae74b4e78418c9ae0645c312dadfaee68ece Mon Sep 17 00:00:00 2001 From: june Date: Sun, 12 May 2024 21:34:07 +0900 Subject: [PATCH 07/49] Add issue_comment.yaml --- .github/workflows/issue_comment.yaml | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 .github/workflows/issue_comment.yaml diff --git a/.github/workflows/issue_comment.yaml b/.github/workflows/issue_comment.yaml new file mode 100644 index 000000000..920c244ce --- /dev/null +++ b/.github/workflows/issue_comment.yaml @@ -0,0 +1,17 @@ +name: issue_comment_workflow +on: issue_comment + +jobs: + pr-comment: + if: ${{ github.event.issue.pull_request }} + runs-on: ubuntu-latest + steps: + - name: pr comment + run: echo ${{ github.event.issue.pull_request }} + + issue_comment: + if: ${{ !github.event.issue.pull_request }} + runs-on: ubuntu-latest + steps: + - name: issue comment + run: echo ${{ github.event.issue.pull_request }} From 1df261ae5b88965eae41bf12612dbb4f7c2204ad Mon Sep 17 00:00:00 2001 From: june Date: Sun, 12 May 2024 22:04:22 +0900 Subject: [PATCH 08/49] workflow dispatch --- ".github/workflows/\bworkflow_dispatch.yaml" | 27 ++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 ".github/workflows/\bworkflow_dispatch.yaml" diff --git "a/.github/workflows/\bworkflow_dispatch.yaml" "b/.github/workflows/\bworkflow_dispatch.yaml" new file mode 100644 index 000000000..4c77a6854 --- /dev/null +++ "b/.github/workflows/\bworkflow_dispatch.yaml" @@ -0,0 +1,27 @@ +name: workflow_dispatch +on: + workflow_dispatch: + inputs: + name: + description: "set name" + required: true + default: "github-actions" + type: string + environment: + description: "set env" + required: true + default: "dev" + type: choice + options: + - dev + - qa + - prod + +jobs: + workflow-dispatch-job: + runs-on: ubuntu-latest + steps: + - name: step1 + run: echo ${{ inputs.name }} + - name: step2 + run: echo ${{ inputs.environment }} From a2f192b8efb15a2e5a5855a1c233fa72ba2cab09 Mon Sep 17 00:00:00 2001 From: june Date: Sun, 12 May 2024 22:10:53 +0900 Subject: [PATCH 09/49] multiple-events-workflow.yaml --- .github/workflows/multiple_events.yaml | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 .github/workflows/multiple_events.yaml diff --git a/.github/workflows/multiple_events.yaml b/.github/workflows/multiple_events.yaml new file mode 100644 index 000000000..60bd15895 --- /dev/null +++ b/.github/workflows/multiple_events.yaml @@ -0,0 +1,17 @@ +name: multiple-events-workflow +on: + push: + issues: + types: [opened] + workflow_dispatch: + +jobs: + multiple-events-job: + runs-on: ubuntu-latest + steps: + - name: step1 + run: echo hello world + - name: step2 + run: | + echo hello world + echo github actions From 414da9cfc2bfc3f175969e19944e0de731ae9eb8 Mon Sep 17 00:00:00 2001 From: june Date: Sun, 12 May 2024 22:20:53 +0900 Subject: [PATCH 10/49] needs.yaml --- .github/workflows/needs.yaml | 40 ++++++++++++++++++++++++++++++++++++ 1 file changed, 40 insertions(+) create mode 100644 .github/workflows/needs.yaml diff --git a/.github/workflows/needs.yaml b/.github/workflows/needs.yaml new file mode 100644 index 000000000..630da5ede --- /dev/null +++ b/.github/workflows/needs.yaml @@ -0,0 +1,40 @@ +name: needs +on: push + +jobs: + job1: + runs-on: ubuntu-latest + steps: + - name: step1 + run: echo hello world + - name: step2 + run: | + echo hello world + echo github actions + job2: + needs: [job1] + runs-on: ubuntu-latest + steps: + - name: step1 + run: echo hello world + - name: step2 + run: | + echo hello world + echo github actions + job3: + runs-on: ubuntu-latest + steps: + - name: step1 + run: | + echo "job3 failed" + exit 1 + job4: + needs: [job3] + runs-on: ubuntu-latest + steps: + - name: step1 + run: echo hello world + - name: step2 + run: | + echo hello world + echo github actions From b62248f7c3383af9ad208016b29228ceb4014ff9 Mon Sep 17 00:00:00 2001 From: june Date: Sun, 12 May 2024 22:26:16 +0900 Subject: [PATCH 11/49] rerun test --- .github/workflows/re-run.yaml | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 .github/workflows/re-run.yaml diff --git a/.github/workflows/re-run.yaml b/.github/workflows/re-run.yaml new file mode 100644 index 000000000..669438912 --- /dev/null +++ b/.github/workflows/re-run.yaml @@ -0,0 +1,14 @@ +name: re-run +on: push +jobs: + test: + runs-on: ubuntu-latest + steps: + - name: step1 + run: echo hello world + - name: step2 + run: | + echo hello world + echo github actions + - name: cat readme + run: cat README.md From 1df4fc1baa51c6016e90e41a4bc3848762f5f148 Mon Sep 17 00:00:00 2001 From: june Date: Mon, 13 May 2024 21:45:06 +0900 Subject: [PATCH 12/49] checkout --- .github/workflows/checkout.yaml | 17 +++++++++++++++++ .../workflows/part1/\bworkflow_dispatch.yaml" | 0 .github/workflows/{ => part1}/issue.yaml | 0 .../workflows/{ => part1}/issue_comment.yaml | 0 .../workflows/{ => part1}/multiple_events.yaml | 0 .github/workflows/{ => part1}/needs.yaml | 0 .github/workflows/{ => part1}/pull_request.yaml | 0 .github/workflows/{ => part1}/re-run.yaml | 0 8 files changed, 17 insertions(+) create mode 100644 .github/workflows/checkout.yaml rename ".github/workflows/\bworkflow_dispatch.yaml" => ".github/workflows/part1/\bworkflow_dispatch.yaml" (100%) rename .github/workflows/{ => part1}/issue.yaml (100%) rename .github/workflows/{ => part1}/issue_comment.yaml (100%) rename .github/workflows/{ => part1}/multiple_events.yaml (100%) rename .github/workflows/{ => part1}/needs.yaml (100%) rename .github/workflows/{ => part1}/pull_request.yaml (100%) rename .github/workflows/{ => part1}/re-run.yaml (100%) diff --git a/.github/workflows/checkout.yaml b/.github/workflows/checkout.yaml new file mode 100644 index 000000000..beb76ff51 --- /dev/null +++ b/.github/workflows/checkout.yaml @@ -0,0 +1,17 @@ +name: checkout_workflow +on: workflow_dispatch + +jobs: + no-checkout-job: + runs-on: ubuntu-latest + steps: + - name: check file list + run: cat README.md + + checkout-job: + runs-on: ubuntu-latest + steps: + - name: use checkout action + uses: actions/checkout@v2 + - name: check file list + run: cat README.md diff --git "a/.github/workflows/\bworkflow_dispatch.yaml" "b/.github/workflows/part1/\bworkflow_dispatch.yaml" similarity index 100% rename from ".github/workflows/\bworkflow_dispatch.yaml" rename to ".github/workflows/part1/\bworkflow_dispatch.yaml" diff --git a/.github/workflows/issue.yaml b/.github/workflows/part1/issue.yaml similarity index 100% rename from .github/workflows/issue.yaml rename to .github/workflows/part1/issue.yaml diff --git a/.github/workflows/issue_comment.yaml b/.github/workflows/part1/issue_comment.yaml similarity index 100% rename from .github/workflows/issue_comment.yaml rename to .github/workflows/part1/issue_comment.yaml diff --git a/.github/workflows/multiple_events.yaml b/.github/workflows/part1/multiple_events.yaml similarity index 100% rename from .github/workflows/multiple_events.yaml rename to .github/workflows/part1/multiple_events.yaml diff --git a/.github/workflows/needs.yaml b/.github/workflows/part1/needs.yaml similarity index 100% rename from .github/workflows/needs.yaml rename to .github/workflows/part1/needs.yaml diff --git a/.github/workflows/pull_request.yaml b/.github/workflows/part1/pull_request.yaml similarity index 100% rename from .github/workflows/pull_request.yaml rename to .github/workflows/part1/pull_request.yaml diff --git a/.github/workflows/re-run.yaml b/.github/workflows/part1/re-run.yaml similarity index 100% rename from .github/workflows/re-run.yaml rename to .github/workflows/part1/re-run.yaml From 16d9c7976c0da309eba837f0530cb24a53162686 Mon Sep 17 00:00:00 2001 From: june Date: Mon, 13 May 2024 21:56:45 +0900 Subject: [PATCH 13/49] context1 --- .github/workflows/context.yaml | 9 +++++++++ .github/workflows/{ => part2}/checkout.yaml | 0 2 files changed, 9 insertions(+) create mode 100644 .github/workflows/context.yaml rename .github/workflows/{ => part2}/checkout.yaml (100%) diff --git a/.github/workflows/context.yaml b/.github/workflows/context.yaml new file mode 100644 index 000000000..926641a8b --- /dev/null +++ b/.github/workflows/context.yaml @@ -0,0 +1,9 @@ +name: context +on: workflow_dispatch + +jobs: + context: + runs-on: ubuntu-latest + steps: + - name: step1 + run: echo '${{ toJSON(github) }}' diff --git a/.github/workflows/checkout.yaml b/.github/workflows/part2/checkout.yaml similarity index 100% rename from .github/workflows/checkout.yaml rename to .github/workflows/part2/checkout.yaml From ddc3dd53b6050a4a3813115e0ec3c8ec0f235880 Mon Sep 17 00:00:00 2001 From: june Date: Mon, 13 May 2024 22:00:50 +0900 Subject: [PATCH 14/49] context2 --- .github/workflows/context.yaml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/context.yaml b/.github/workflows/context.yaml index 926641a8b..237754907 100644 --- a/.github/workflows/context.yaml +++ b/.github/workflows/context.yaml @@ -7,3 +7,7 @@ jobs: steps: - name: step1 run: echo '${{ toJSON(github) }}' + - name: check github context + run: | + echo ${{ github.repository }} + echo ${{ github.event_name }} From 7bd73422cb4d2db001879f6641cd37fbd0a3059a Mon Sep 17 00:00:00 2001 From: june Date: Mon, 13 May 2024 22:16:09 +0900 Subject: [PATCH 15/49] path_filter --- .github/workflows/part2/branch_filter.yaml | 4 ++++ .github/workflows/{ => part2}/context.yaml | 0 .github/workflows/path_filter.yaml | 12 ++++++++++++ 3 files changed, 16 insertions(+) create mode 100644 .github/workflows/part2/branch_filter.yaml rename .github/workflows/{ => part2}/context.yaml (100%) create mode 100644 .github/workflows/path_filter.yaml diff --git a/.github/workflows/part2/branch_filter.yaml b/.github/workflows/part2/branch_filter.yaml new file mode 100644 index 000000000..e6c10bea3 --- /dev/null +++ b/.github/workflows/part2/branch_filter.yaml @@ -0,0 +1,4 @@ +name: branch-filter +on: + push: + branches: ["dev"] diff --git a/.github/workflows/context.yaml b/.github/workflows/part2/context.yaml similarity index 100% rename from .github/workflows/context.yaml rename to .github/workflows/part2/context.yaml diff --git a/.github/workflows/path_filter.yaml b/.github/workflows/path_filter.yaml new file mode 100644 index 000000000..16e33f0da --- /dev/null +++ b/.github/workflows/path_filter.yaml @@ -0,0 +1,12 @@ +name: path-filter +on: + push: + paths: + - ".github/workflows/part1/*" + +jobs: + push-filter: + runs-on: ubuntu-latest + steps: + - name: echo + run: echo "This is a push event with path filter" From 251670c42add9ff29fe219337806e02ba4bb866d Mon Sep 17 00:00:00 2001 From: june Date: Mon, 13 May 2024 22:16:54 +0900 Subject: [PATCH 16/49] edit push.yaml --- .github/workflows/part1/push.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/part1/push.yaml b/.github/workflows/part1/push.yaml index a6fd63072..2589237d6 100644 --- a/.github/workflows/part1/push.yaml +++ b/.github/workflows/part1/push.yaml @@ -1,4 +1,4 @@ -name: push-workflow +name: push-workflow-hello on: push jobs: push-job: From 2fa008a84c1c0f529b19792478df2b54bef3675a Mon Sep 17 00:00:00 2001 From: june Date: Mon, 13 May 2024 22:18:17 +0900 Subject: [PATCH 17/49] edit path_filter --- .github/workflows/part1/push.yaml | 2 +- .github/workflows/path_filter.yaml | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/part1/push.yaml b/.github/workflows/part1/push.yaml index 2589237d6..35123f607 100644 --- a/.github/workflows/part1/push.yaml +++ b/.github/workflows/part1/push.yaml @@ -1,4 +1,4 @@ -name: push-workflow-hello +name: push-workflow-hello2 on: push jobs: push-job: diff --git a/.github/workflows/path_filter.yaml b/.github/workflows/path_filter.yaml index 16e33f0da..8f9c31499 100644 --- a/.github/workflows/path_filter.yaml +++ b/.github/workflows/path_filter.yaml @@ -3,6 +3,7 @@ on: push: paths: - ".github/workflows/part1/*" + - "!.github/workflows/part1/push.yaml" jobs: push-filter: From ae2deb4d996454db460c87a785eb861a6b4da9cc Mon Sep 17 00:00:00 2001 From: june Date: Mon, 13 May 2024 22:18:43 +0900 Subject: [PATCH 18/49] edit pr --- .github/workflows/part1/pull_request.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/part1/pull_request.yaml b/.github/workflows/part1/pull_request.yaml index e5e2cb4fb..21c179226 100644 --- a/.github/workflows/part1/pull_request.yaml +++ b/.github/workflows/part1/pull_request.yaml @@ -1,4 +1,4 @@ -name: pull-request-workflow +name: pull-request-workflow-hello on: pull_request: types: [opened] From 240a234b464549c3d75448b09ff5c81e4e22b022 Mon Sep 17 00:00:00 2001 From: june Date: Mon, 13 May 2024 22:19:03 +0900 Subject: [PATCH 19/49] edit push --- .github/workflows/part1/push.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/part1/push.yaml b/.github/workflows/part1/push.yaml index 35123f607..c1f96da0f 100644 --- a/.github/workflows/part1/push.yaml +++ b/.github/workflows/part1/push.yaml @@ -1,4 +1,4 @@ -name: push-workflow-hello2 +name: push-workflow-hello3 on: push jobs: push-job: From 7c450c1475c767968742911583de6e11e3c6a9dd Mon Sep 17 00:00:00 2001 From: june Date: Mon, 13 May 2024 22:22:26 +0900 Subject: [PATCH 20/49] tag --- .github/workflows/{ => part2}/path_filter.yaml | 0 .github/workflows/tag.yaml | 11 +++++++++++ 2 files changed, 11 insertions(+) rename .github/workflows/{ => part2}/path_filter.yaml (100%) create mode 100644 .github/workflows/tag.yaml diff --git a/.github/workflows/path_filter.yaml b/.github/workflows/part2/path_filter.yaml similarity index 100% rename from .github/workflows/path_filter.yaml rename to .github/workflows/part2/path_filter.yaml diff --git a/.github/workflows/tag.yaml b/.github/workflows/tag.yaml new file mode 100644 index 000000000..8af0894ac --- /dev/null +++ b/.github/workflows/tag.yaml @@ -0,0 +1,11 @@ +name: tag_filter.yaml +on: + push: + tags: + - "v[0-9]+.[0-9]+.[0-9]+" +jobs: + tag-filter: + runs-on: ubuntu-latest + steps: + - name: echo + run: echo "This is a push event with tag filter" From 41278378147a2f4a510f77b6872ec1b318327542 Mon Sep 17 00:00:00 2001 From: june Date: Mon, 13 May 2024 22:27:47 +0900 Subject: [PATCH 21/49] timeout --- .github/workflows/{ => part2}/tag.yaml | 0 .github/workflows/timeout.yaml | 20 ++++++++++++++++++++ 2 files changed, 20 insertions(+) rename .github/workflows/{ => part2}/tag.yaml (100%) create mode 100644 .github/workflows/timeout.yaml diff --git a/.github/workflows/tag.yaml b/.github/workflows/part2/tag.yaml similarity index 100% rename from .github/workflows/tag.yaml rename to .github/workflows/part2/tag.yaml diff --git a/.github/workflows/timeout.yaml b/.github/workflows/timeout.yaml new file mode 100644 index 000000000..f8e8281ce --- /dev/null +++ b/.github/workflows/timeout.yaml @@ -0,0 +1,20 @@ +name: timeout +on: push + +jobs: + timeout: + runs-on: ubuntu-latest + timeout-minutes: 2 + steps: + - name: step1 + run: | + count=0 + while true; do + echo "Hello $count" + count=$((count+1)) + sleep 1 + done + - name: step2 + run: | + echo hello world + echo ${{ github.actions }} From 6b1dd36b13679d9added76a1d765e947ebab8cd3 Mon Sep 17 00:00:00 2001 From: june Date: Mon, 13 May 2024 22:40:27 +0900 Subject: [PATCH 22/49] timeout --- .github/workflows/timeout.yaml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/timeout.yaml b/.github/workflows/timeout.yaml index f8e8281ce..b7871a315 100644 --- a/.github/workflows/timeout.yaml +++ b/.github/workflows/timeout.yaml @@ -14,7 +14,8 @@ jobs: count=$((count+1)) sleep 1 done + timeout-minutes: 1 - name: step2 run: | echo hello world - echo ${{ github.actions }} + echo ${{ github.repository }} From a3039f625750610144520018431cf290f4ecf931 Mon Sep 17 00:00:00 2001 From: june Date: Tue, 14 May 2024 11:45:33 +0900 Subject: [PATCH 23/49] cache --- .github/workflows/cache.yaml | 30 ++++++++++++++++++++++ .github/workflows/{ => part2}/timeout.yaml | 0 my-app/src/App.js | 6 ++--- 3 files changed, 33 insertions(+), 3 deletions(-) create mode 100644 .github/workflows/cache.yaml rename .github/workflows/{ => part2}/timeout.yaml (100%) diff --git a/.github/workflows/cache.yaml b/.github/workflows/cache.yaml new file mode 100644 index 000000000..796c54f8a --- /dev/null +++ b/.github/workflows/cache.yaml @@ -0,0 +1,30 @@ +name: cache +on: + push: + paths: + - "my-app/**" +jobs: + cache: + runs-on: ubuntu-latest + steps: + - name: checkout + uses: actions/checkout@v4 + - name: setup-node + uses: actions/setup-node@v3 + with: + node-version: "18" + - name: Cache Node.js modules + uses: actions/cache@v3 + with: + path: ~/.npm + key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }} + restore-keys: | + ${{ runner.os }}-node- + - name: Install dependencies + run: | + cd my-app + npm ci + - name: Build + run: | + cd my-app + npm run build diff --git a/.github/workflows/timeout.yaml b/.github/workflows/part2/timeout.yaml similarity index 100% rename from .github/workflows/timeout.yaml rename to .github/workflows/part2/timeout.yaml diff --git a/my-app/src/App.js b/my-app/src/App.js index 725bc9db5..06c11e7ac 100644 --- a/my-app/src/App.js +++ b/my-app/src/App.js @@ -1,5 +1,5 @@ -import logo from './logo.svg'; -import './App.css'; +import logo from "./logo.svg"; +import "./App.css"; function App() { return ( @@ -7,7 +7,7 @@ function App() {
logo

- Edit src/App.js and save to reload. + Edittttttttttttt src/App.js and save to reload.

Date: Tue, 14 May 2024 11:48:01 +0900 Subject: [PATCH 24/49] edit app.js --- my-app/src/App.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/my-app/src/App.js b/my-app/src/App.js index 06c11e7ac..7a85f2e59 100644 --- a/my-app/src/App.js +++ b/my-app/src/App.js @@ -15,7 +15,8 @@ function App() { target="_blank" rel="noopener noreferrer" > - Learn GithubAction cicd + Learn GitHub Action cicd
+ Let's go~
From 5fe4774db803dbc7a204e0a260f6e0fd946851fe Mon Sep 17 00:00:00 2001 From: june Date: Tue, 14 May 2024 12:11:03 +0900 Subject: [PATCH 25/49] artifact --- .github/workflows/artifact.yaml | 25 ++++++++++++++++++++++++ .github/workflows/{ => part2}/cache.yaml | 0 2 files changed, 25 insertions(+) create mode 100644 .github/workflows/artifact.yaml rename .github/workflows/{ => part2}/cache.yaml (100%) diff --git a/.github/workflows/artifact.yaml b/.github/workflows/artifact.yaml new file mode 100644 index 000000000..7887120c4 --- /dev/null +++ b/.github/workflows/artifact.yaml @@ -0,0 +1,25 @@ +name: artifact +on: push + +jobs: + upload-artifact: + runs-on: ubuntu-latest + steps: + - name: echo + run: echo hello-world > hello.txt + - name: upload artifact + uses: actions/upload-artifact@v3 + with: + name: artifact-test + path: ./hello.txt + download-artifact: + runs-on: ubuntu-latest + needs: upload-artifact + steps: + - name: download artifact + uses: actions/download-artifact@v3 + with: + name: artifact-test + path: ./ + - name: check + run: cat hello.txt diff --git a/.github/workflows/cache.yaml b/.github/workflows/part2/cache.yaml similarity index 100% rename from .github/workflows/cache.yaml rename to .github/workflows/part2/cache.yaml From b71a4bab938e0bab0a07c892917f6d4223225e49 Mon Sep 17 00:00:00 2001 From: june Date: Tue, 14 May 2024 12:50:42 +0900 Subject: [PATCH 26/49] output --- .github/workflows/output.yaml | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 .github/workflows/output.yaml diff --git a/.github/workflows/output.yaml b/.github/workflows/output.yaml new file mode 100644 index 000000000..0c8e1fe48 --- /dev/null +++ b/.github/workflows/output.yaml @@ -0,0 +1,13 @@ +name: output +on: push +jobs: + create-output: + runs-on: ubuntu-latest + steps: + - name: echo output + id: check-output + run: | + echo "test=hello" >> $GITHUB_OUTPUT + - name: check output + run: | + echo ${{ steps.check-output.outputs.test }} From fbbbb72387a81de02565622435e68ed0ce9afb86 Mon Sep 17 00:00:00 2001 From: june Date: Tue, 14 May 2024 12:53:34 +0900 Subject: [PATCH 27/49] output --- .github/workflows/output.yaml | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/.github/workflows/output.yaml b/.github/workflows/output.yaml index 0c8e1fe48..57f34e631 100644 --- a/.github/workflows/output.yaml +++ b/.github/workflows/output.yaml @@ -3,6 +3,8 @@ on: push jobs: create-output: runs-on: ubuntu-latest + outputs: + test: ${{ steps.check-output.outputs.test }} steps: - name: echo output id: check-output @@ -11,3 +13,11 @@ jobs: - name: check output run: | echo ${{ steps.check-output.outputs.test }} + + get-output: + runs-on: ubuntu-latest + needs: create-output + steps: + - name: check output + run: | + echo ${{ needs.create-output.outputs.test }} From 9a1b08b320d7e4b24d26fd6222997886dc4cdc90 Mon Sep 17 00:00:00 2001 From: june Date: Tue, 14 May 2024 13:15:04 +0900 Subject: [PATCH 28/49] env1 --- .github/workflows/{ => part2}/artifact.yaml | 0 .github/workflows/{ => part2}/output.yaml | 0 .github/workflows/var-1.yaml | 38 +++++++++++++++++++++ 3 files changed, 38 insertions(+) rename .github/workflows/{ => part2}/artifact.yaml (100%) rename .github/workflows/{ => part2}/output.yaml (100%) create mode 100644 .github/workflows/var-1.yaml diff --git a/.github/workflows/artifact.yaml b/.github/workflows/part2/artifact.yaml similarity index 100% rename from .github/workflows/artifact.yaml rename to .github/workflows/part2/artifact.yaml diff --git a/.github/workflows/output.yaml b/.github/workflows/part2/output.yaml similarity index 100% rename from .github/workflows/output.yaml rename to .github/workflows/part2/output.yaml diff --git a/.github/workflows/var-1.yaml b/.github/workflows/var-1.yaml new file mode 100644 index 000000000..6fb9d6c31 --- /dev/null +++ b/.github/workflows/var-1.yaml @@ -0,0 +1,38 @@ +name: var-1 +on: push + +env: + level: workflow + +jobs: + get-env-1: + runs-on: ubuntu-latest + steps: + - name: check env + run: echo ${{ env.level }} + + get-env-2: + runs-on: ubuntu-latest + env: + level: job + steps: + - name: check env + run: echo ${{ env.level }} + + get-env-3: + runs-on: ubuntu-latest + env: + level: job + steps: + - name: check env + run: echo ${{ env.level }} + env: + level: step + + get-env: + runs-on: ubuntu-latest + steps: + - name: create env + run: echo "level=job" >> $GITHUB_ENV + - name: check env + run: echo ${{ env.level }} From 2e68998cb2330586a5c6ae80141f1b70efc303ae Mon Sep 17 00:00:00 2001 From: june Date: Tue, 14 May 2024 13:30:12 +0900 Subject: [PATCH 29/49] matrix --- .github/workflows/matrix.yaml | 15 +++++++++++++++ .github/workflows/{ => part2}/var-1.yaml | 0 2 files changed, 15 insertions(+) create mode 100644 .github/workflows/matrix.yaml rename .github/workflows/{ => part2}/var-1.yaml (100%) diff --git a/.github/workflows/matrix.yaml b/.github/workflows/matrix.yaml new file mode 100644 index 000000000..4d0ba5580 --- /dev/null +++ b/.github/workflows/matrix.yaml @@ -0,0 +1,15 @@ +name: matrix +on: push + +jobs: + get-matrix: + strategy: + matrix: + os: [ubuntu-latest, windows-latest, macos-latest] + node: [12, 14] + runs-on: ${{ matrix.os }} + steps: + - name: check matrix + run: | + echo ${{ matrix.os }} + echo ${{ matrix.node }} diff --git a/.github/workflows/var-1.yaml b/.github/workflows/part2/var-1.yaml similarity index 100% rename from .github/workflows/var-1.yaml rename to .github/workflows/part2/var-1.yaml From a1ff9ad058fa12a84d12eb7cc45a371fce15633e Mon Sep 17 00:00:00 2001 From: june Date: Tue, 14 May 2024 13:51:33 +0900 Subject: [PATCH 30/49] if --- .github/workflows/if-1.yaml | 18 ++++++++++++++++++ .github/workflows/{ => part2}/matrix.yaml | 0 2 files changed, 18 insertions(+) create mode 100644 .github/workflows/if-1.yaml rename .github/workflows/{ => part2}/matrix.yaml (100%) diff --git a/.github/workflows/if-1.yaml b/.github/workflows/if-1.yaml new file mode 100644 index 000000000..14df13bcf --- /dev/null +++ b/.github/workflows/if-1.yaml @@ -0,0 +1,18 @@ +name: if-1 +on: + push: + workflow_dispatch: + +jobs: + job1: + runs-on: ubuntu-latest + if: github.event_name == 'push' + steps: + - name: step1 + run: echo hello world + job2: + runs-on: ubuntu-latest + if: github.event_name != 'push' + steps: + - name: step1 + run: echo hello world diff --git a/.github/workflows/matrix.yaml b/.github/workflows/part2/matrix.yaml similarity index 100% rename from .github/workflows/matrix.yaml rename to .github/workflows/part2/matrix.yaml From ca8c613d6c08ffcdc73960bfcf2992948deaf060 Mon Sep 17 00:00:00 2001 From: june Date: Tue, 14 May 2024 13:54:28 +0900 Subject: [PATCH 31/49] if --- .github/workflows/if-1.yaml | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/.github/workflows/if-1.yaml b/.github/workflows/if-1.yaml index 14df13bcf..30dc133c5 100644 --- a/.github/workflows/if-1.yaml +++ b/.github/workflows/if-1.yaml @@ -16,3 +16,13 @@ jobs: steps: - name: step1 run: echo hello world + + job3: + runs-on: ubuntu-latest + steps: + - name: echo PUSH + if: github.event_name == 'push' + run: echo PUSH + - name: echo WORKFLOW_DISPATCH + if: github.event_name != 'push' + run: echo WORKFLOW_DISPATCH From 616fa5f58df78e439f005ee3e19ed03b81566501 Mon Sep 17 00:00:00 2001 From: june Date: Tue, 14 May 2024 13:57:55 +0900 Subject: [PATCH 32/49] if-2 g --- .github/workflows/if-2.yaml | 18 ++++++++++++++++++ .github/workflows/{ => part2}/if-1.yaml | 0 2 files changed, 18 insertions(+) create mode 100644 .github/workflows/if-2.yaml rename .github/workflows/{ => part2}/if-1.yaml (100%) diff --git a/.github/workflows/if-2.yaml b/.github/workflows/if-2.yaml new file mode 100644 index 000000000..726de9467 --- /dev/null +++ b/.github/workflows/if-2.yaml @@ -0,0 +1,18 @@ +name: if-2 +on: push + +jobs: + job1: + runs-on: ubuntu-latest + steps: + - name: exit 1 + run: exit 1 + - name: echo hello world + run: echo hello world + + job2: + needs: [job1] + runs-on: ubuntu-latest + steps: + - name: echo hello world + run: echo hello world diff --git a/.github/workflows/if-1.yaml b/.github/workflows/part2/if-1.yaml similarity index 100% rename from .github/workflows/if-1.yaml rename to .github/workflows/part2/if-1.yaml From 6a5da0994d4cc1aeb0de0c1e399f40a1f21e9676 Mon Sep 17 00:00:00 2001 From: june Date: Tue, 14 May 2024 13:58:13 +0900 Subject: [PATCH 33/49] if-2-always --- .github/workflows/if-2.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/if-2.yaml b/.github/workflows/if-2.yaml index 726de9467..8a822d84d 100644 --- a/.github/workflows/if-2.yaml +++ b/.github/workflows/if-2.yaml @@ -13,6 +13,7 @@ jobs: job2: needs: [job1] runs-on: ubuntu-latest + if: always() steps: - name: echo hello world run: echo hello world From 6c0f68342a60a4b2c8b2ba41efc4f9113ecd7593 Mon Sep 17 00:00:00 2001 From: june Date: Tue, 14 May 2024 13:59:10 +0900 Subject: [PATCH 34/49] if-2-always2 --- .github/workflows/if-2.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/if-2.yaml b/.github/workflows/if-2.yaml index 8a822d84d..dafc6e2f7 100644 --- a/.github/workflows/if-2.yaml +++ b/.github/workflows/if-2.yaml @@ -8,6 +8,7 @@ jobs: - name: exit 1 run: exit 1 - name: echo hello world + if: always() run: echo hello world job2: From 97263ac755f0c867651692c39402d24bf1ad3fd7 Mon Sep 17 00:00:00 2001 From: june Date: Tue, 14 May 2024 14:04:08 +0900 Subject: [PATCH 35/49] startswith --- .github/workflows/{ => part2}/if-2.yaml | 0 .github/workflows/string-function.yaml | 10 ++++++++++ 2 files changed, 10 insertions(+) rename .github/workflows/{ => part2}/if-2.yaml (100%) create mode 100644 .github/workflows/string-function.yaml diff --git a/.github/workflows/if-2.yaml b/.github/workflows/part2/if-2.yaml similarity index 100% rename from .github/workflows/if-2.yaml rename to .github/workflows/part2/if-2.yaml diff --git a/.github/workflows/string-function.yaml b/.github/workflows/string-function.yaml new file mode 100644 index 000000000..50d8ab0b2 --- /dev/null +++ b/.github/workflows/string-function.yaml @@ -0,0 +1,10 @@ +name: string-function +on: push + +jobs: + string-function: + runs-on: ubuntu-latest + steps: + - name: startswith + if: startsWith('github actions','git') + run: echo "The string starts with 'git'" From f0458b08f2c962b875c7a3020ce0a4f4b3079e52 Mon Sep 17 00:00:00 2001 From: june Date: Fri, 17 May 2024 19:09:45 +0900 Subject: [PATCH 36/49] part3 --- .github/workflows/create_repo.yaml | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 .github/workflows/create_repo.yaml diff --git a/.github/workflows/create_repo.yaml b/.github/workflows/create_repo.yaml new file mode 100644 index 000000000..cbd578598 --- /dev/null +++ b/.github/workflows/create_repo.yaml @@ -0,0 +1,28 @@ +name: create-repo +on: + workflow_dispatch: + inputs: + prefix: + description: "Prefix for the repository name" + required: true + default: "service" + type: choice + options: + - exmaple + - service + name: + description: "set repo name" + required: true + default: "github-actions" + type: string + +jobs: + create-repo-automation: + runs-on: ubuntu-latest + steps: + - name: gh auth login + run: | + echo ${{ secrets.PERSONAL_ACCESS_TOKE }} | gh auth login --with-token + - name: create repo + run: | + gh repo create june-github-action-practice/${{ inputs.prefix }}-${{ inputs.name }} --public --add-readme From 4827d757e7107f335c34c80eff1d0e74943d6bad Mon Sep 17 00:00:00 2001 From: june Date: Fri, 17 May 2024 19:27:42 +0900 Subject: [PATCH 37/49] add slack webhook --- .github/workflows/create_repo.yaml | 10 ++++++++++ .github/workflows/{ => part2}/string-function.yaml | 0 2 files changed, 10 insertions(+) rename .github/workflows/{ => part2}/string-function.yaml (100%) diff --git a/.github/workflows/create_repo.yaml b/.github/workflows/create_repo.yaml index cbd578598..04cf53e88 100644 --- a/.github/workflows/create_repo.yaml +++ b/.github/workflows/create_repo.yaml @@ -26,3 +26,13 @@ jobs: - name: create repo run: | gh repo create june-github-action-practice/${{ inputs.prefix }}-${{ inputs.name }} --public --add-readme + + send-slack-message: + runs-on: ubuntu-latest + if: always() + steps: + - name: Send GitHub Action trigger data to Slack workflow + id: slack + uses: slackapi/slack-github-action@v1.26.0 + env: + SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }} diff --git a/.github/workflows/string-function.yaml b/.github/workflows/part2/string-function.yaml similarity index 100% rename from .github/workflows/string-function.yaml rename to .github/workflows/part2/string-function.yaml From 7fbde7dca2ef2b79ff412b2090ed42909c72daa1 Mon Sep 17 00:00:00 2001 From: june Date: Fri, 17 May 2024 19:41:51 +0900 Subject: [PATCH 38/49] k --- .github/workflows/create_repo.yaml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/create_repo.yaml b/.github/workflows/create_repo.yaml index 04cf53e88..7b4397e2e 100644 --- a/.github/workflows/create_repo.yaml +++ b/.github/workflows/create_repo.yaml @@ -22,12 +22,13 @@ jobs: steps: - name: gh auth login run: | - echo ${{ secrets.PERSONAL_ACCESS_TOKE }} | gh auth login --with-token + echo ${{ secrets.PERSONAL_ACCESS_TOKEN }} | gh auth login --with-token - name: create repo run: | gh repo create june-github-action-practice/${{ inputs.prefix }}-${{ inputs.name }} --public --add-readme send-slack-message: + needs: [create-repo-automation] runs-on: ubuntu-latest if: always() steps: From a1c3619bcf94e6e93b597735cf4630ae4f354894 Mon Sep 17 00:00:00 2001 From: june Date: Fri, 17 May 2024 19:49:11 +0900 Subject: [PATCH 39/49] k --- .github/workflows/create_repo.yaml | 28 ++++++++++++++++++++-------- 1 file changed, 20 insertions(+), 8 deletions(-) diff --git a/.github/workflows/create_repo.yaml b/.github/workflows/create_repo.yaml index 7b4397e2e..32f1afd66 100644 --- a/.github/workflows/create_repo.yaml +++ b/.github/workflows/create_repo.yaml @@ -26,14 +26,26 @@ jobs: - name: create repo run: | gh repo create june-github-action-practice/${{ inputs.prefix }}-${{ inputs.name }} --public --add-readme - - send-slack-message: - needs: [create-repo-automation] - runs-on: ubuntu-latest - if: always() - steps: - - name: Send GitHub Action trigger data to Slack workflow - id: slack + - name: Send custom JSON data to Slack workflow + if: always() uses: slackapi/slack-github-action@v1.26.0 + with: + # This data can be any valid JSON from a previous step in the GitHub Action + payload: | + { + "attachments": [{ + "pretext": "A new repository has been created", + "color": "#36a64f", + "fields": [ + { + "title": "Repository Name", + "value": "${{ inputs.prefix }}-${{ inputs.name }}", + "short": true + } + ] + } + ] + } env: SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }} + SLACK_WEBHOOK_TYPE: INCOMING_WEBHOOK From 7b614a97819a777eb119aa5c76af70636d02c2c4 Mon Sep 17 00:00:00 2001 From: june Date: Fri, 17 May 2024 19:53:26 +0900 Subject: [PATCH 40/49] k --- .github/workflows/create_repo.yaml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/create_repo.yaml b/.github/workflows/create_repo.yaml index 32f1afd66..a274f8354 100644 --- a/.github/workflows/create_repo.yaml +++ b/.github/workflows/create_repo.yaml @@ -23,7 +23,8 @@ jobs: - name: gh auth login run: | echo ${{ secrets.PERSONAL_ACCESS_TOKEN }} | gh auth login --with-token - - name: create repo + - name: create-repo + id: create-repo run: | gh repo create june-github-action-practice/${{ inputs.prefix }}-${{ inputs.name }} --public --add-readme - name: Send custom JSON data to Slack workflow @@ -38,7 +39,7 @@ jobs: "color": "#36a64f", "fields": [ { - "title": "Repository Name", + "title": "Create repo result ${{ steps.create-repo.outcome }}", "value": "${{ inputs.prefix }}-${{ inputs.name }}", "short": true } From 7a1a7eaa78f3e1cf45719cf53afd70cb029c4164 Mon Sep 17 00:00:00 2001 From: june Date: Fri, 17 May 2024 19:57:34 +0900 Subject: [PATCH 41/49] k --- .github/workflows/create_repo.yaml | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/.github/workflows/create_repo.yaml b/.github/workflows/create_repo.yaml index a274f8354..ced5362de 100644 --- a/.github/workflows/create_repo.yaml +++ b/.github/workflows/create_repo.yaml @@ -27,6 +27,14 @@ jobs: id: create-repo run: | gh repo create june-github-action-practice/${{ inputs.prefix }}-${{ inputs.name }} --public --add-readme + - name: Set color based on outcome + id: set-color + run: | + if [ "${{ steps.create-repo.outcome }}" == "success" ]; then + echo "color=#36a64f" >> $GITHUB_ENV + else + echo "color=#FF0000" >> $GITHUB_ENV + fi - name: Send custom JSON data to Slack workflow if: always() uses: slackapi/slack-github-action@v1.26.0 @@ -36,7 +44,7 @@ jobs: { "attachments": [{ "pretext": "A new repository has been created", - "color": "#36a64f", + "color": "${{ env.color }}", "fields": [ { "title": "Create repo result ${{ steps.create-repo.outcome }}", From 323245ed597a12523cd6e0edb0eb2690cf7fd6ff Mon Sep 17 00:00:00 2001 From: june Date: Fri, 17 May 2024 20:02:03 +0900 Subject: [PATCH 42/49] k --- .github/workflows/create_repo.yaml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/create_repo.yaml b/.github/workflows/create_repo.yaml index ced5362de..0d1466172 100644 --- a/.github/workflows/create_repo.yaml +++ b/.github/workflows/create_repo.yaml @@ -31,11 +31,11 @@ jobs: id: set-color run: | if [ "${{ steps.create-repo.outcome }}" == "success" ]; then - echo "color=#36a64f" >> $GITHUB_ENV + echo "slack_color=#36a64f" >> $GITHUB_ENV else - echo "color=#FF0000" >> $GITHUB_ENV + echo "slack_color=#FF0000" >> $GITHUB_ENV fi - - name: Send custom JSON data to Slack workflow + - name: Slack message if: always() uses: slackapi/slack-github-action@v1.26.0 with: @@ -44,7 +44,7 @@ jobs: { "attachments": [{ "pretext": "A new repository has been created", - "color": "${{ env.color }}", + "color": "${{ env.slack_color }}", "fields": [ { "title": "Create repo result ${{ steps.create-repo.outcome }}", From 4938e6b73e3839eea40ca1e45e27153685f2a1cf Mon Sep 17 00:00:00 2001 From: june Date: Fri, 17 May 2024 20:02:49 +0900 Subject: [PATCH 43/49] k --- .github/workflows/create_repo.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/create_repo.yaml b/.github/workflows/create_repo.yaml index 0d1466172..2c9e52c0d 100644 --- a/.github/workflows/create_repo.yaml +++ b/.github/workflows/create_repo.yaml @@ -28,6 +28,7 @@ jobs: run: | gh repo create june-github-action-practice/${{ inputs.prefix }}-${{ inputs.name }} --public --add-readme - name: Set color based on outcome + if: always() id: set-color run: | if [ "${{ steps.create-repo.outcome }}" == "success" ]; then From 451173fa9bc8ffa91aed38d65d91b0f98c0e344b Mon Sep 17 00:00:00 2001 From: june Date: Sat, 18 May 2024 19:16:23 +0900 Subject: [PATCH 44/49] cicd-1.yaml --- .github/workflows/cicd-1.yaml | 28 +++++++++++++++++++ .../workflows/{ => part3}/create_repo.yaml | 0 2 files changed, 28 insertions(+) create mode 100644 .github/workflows/cicd-1.yaml rename .github/workflows/{ => part3}/create_repo.yaml (100%) diff --git a/.github/workflows/cicd-1.yaml b/.github/workflows/cicd-1.yaml new file mode 100644 index 000000000..aa76d5a6f --- /dev/null +++ b/.github/workflows/cicd-1.yaml @@ -0,0 +1,28 @@ +name: cick-1 +on: + pull_request: + types: [opened, synchronize, closed] + branches: [dev] + paths: + - "may-app/**" +jobs: + test: + if: github.event.action == 'opened' || github.event.action == 'synchronize' + runs-on: ubuntu-latest + steps: + - name: checkout + uses: actions/checkout@v4 + + image-build: + if: github.event.pull_request.merged == true + runs-on: ubuntu-latest + steps: + - name: checkout + uses: actions/checkout@v4 + + deploy: + runs-on: ubuntu-latest + needs: [image-build] + steps: + - name: checkout + uses: actions/checkout@v4 diff --git a/.github/workflows/create_repo.yaml b/.github/workflows/part3/create_repo.yaml similarity index 100% rename from .github/workflows/create_repo.yaml rename to .github/workflows/part3/create_repo.yaml From 5d64723a7609bdc67bc36ccb96b165a022434b91 Mon Sep 17 00:00:00 2001 From: june Date: Sat, 18 May 2024 19:21:44 +0900 Subject: [PATCH 45/49] k --- .github/workflows/cicd-1.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/cicd-1.yaml b/.github/workflows/cicd-1.yaml index aa76d5a6f..bdbdf36cf 100644 --- a/.github/workflows/cicd-1.yaml +++ b/.github/workflows/cicd-1.yaml @@ -1,10 +1,10 @@ -name: cick-1 +name: cicd-1 on: pull_request: types: [opened, synchronize, closed] branches: [dev] paths: - - "may-app/**" + - "my-app/**" jobs: test: if: github.event.action == 'opened' || github.event.action == 'synchronize' From 6e4dfbc2459ac08d2e355bdc332b94c1d82e4e09 Mon Sep 17 00:00:00 2001 From: june Date: Sat, 18 May 2024 19:20:14 +0900 Subject: [PATCH 46/49] cicd test --- my-app/src/App.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/my-app/src/App.js b/my-app/src/App.js index 7a85f2e59..94ae46808 100644 --- a/my-app/src/App.js +++ b/my-app/src/App.js @@ -7,7 +7,7 @@ function App() {
logo

- Edittttttttttttt src/App.js and save to reload. + Edit src/App.js and save to reload.

Date: Sat, 18 May 2024 19:23:56 +0900 Subject: [PATCH 47/49] k --- my-app/src/App.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/my-app/src/App.js b/my-app/src/App.js index 94ae46808..2b31dcf7c 100644 --- a/my-app/src/App.js +++ b/my-app/src/App.js @@ -16,7 +16,7 @@ function App() { rel="noopener noreferrer" > Learn GitHub Action cicd
- Let's go~ + Let's go~~~
From 215e2585f6d069e1a053ca23459933cbf8176124 Mon Sep 17 00:00:00 2001 From: june Date: Thu, 12 Dec 2024 21:09:45 +0900 Subject: [PATCH 48/49] kk --- .github/workflows/cicd-1.yaml | 2 +- my-app/src/App.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/cicd-1.yaml b/.github/workflows/cicd-1.yaml index bdbdf36cf..75e20ad10 100644 --- a/.github/workflows/cicd-1.yaml +++ b/.github/workflows/cicd-1.yaml @@ -1,4 +1,4 @@ -name: cicd-1 +name: cicd -1 on: pull_request: types: [opened, synchronize, closed] diff --git a/my-app/src/App.js b/my-app/src/App.js index 2b31dcf7c..b40d400dd 100644 --- a/my-app/src/App.js +++ b/my-app/src/App.js @@ -7,7 +7,7 @@ function App() {
logo

- Edit src/App.js and save to reload. + Edit src/App.js and savddde to reload.

Date: Thu, 12 Dec 2024 21:10:46 +0900 Subject: [PATCH 49/49] kk --- .github/workflows/cicd-1.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/cicd-1.yaml b/.github/workflows/cicd-1.yaml index 75e20ad10..bdbdf36cf 100644 --- a/.github/workflows/cicd-1.yaml +++ b/.github/workflows/cicd-1.yaml @@ -1,4 +1,4 @@ -name: cicd -1 +name: cicd-1 on: pull_request: types: [opened, synchronize, closed]