From 56e093d47d4124cb6490829dfe238fddfa633fca Mon Sep 17 00:00:00 2001 From: Ryan Lee Date: Sat, 11 Jan 2025 14:48:46 -0500 Subject: [PATCH 01/22] Add push.yaml --- .github/workflows/push.yaml | 9 +++++++++ 1 file changed, 9 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..35fd62b00 --- /dev/null +++ b/.github/workflows/push.yaml @@ -0,0 +1,9 @@ +name: push-workflow +on: push + +jobs: + push-job: + runs-on: ubuntu-latest + steps: + - name: step1 + run: echo hello world \ No newline at end of file From 4fec473e967db4783e7c2a6761da12ad96dfe52c Mon Sep 17 00:00:00 2001 From: Ryan Lee Date: Sat, 11 Jan 2025 14:57:33 -0500 Subject: [PATCH 02/22] Add push.yaml 2 --- .github/workflows/push.yaml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/workflows/push.yaml b/.github/workflows/push.yaml index 35fd62b00..7543574b5 100644 --- a/.github/workflows/push.yaml +++ b/.github/workflows/push.yaml @@ -6,4 +6,8 @@ jobs: runs-on: ubuntu-latest steps: - name: step1 - run: echo hello world \ No newline at end of file + run: echo hello world + - name: step2 + run: + echo hello world + echo github action \ No newline at end of file From df7f1abeb00028597de6d6c468b2512ed18b7eae Mon Sep 17 00:00:00 2001 From: Ryan Lee Date: Sat, 11 Jan 2025 14:59:25 -0500 Subject: [PATCH 03/22] Add push.yaml 2 --- .github/workflows/push.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/push.yaml b/.github/workflows/push.yaml index 7543574b5..bad8f61bd 100644 --- a/.github/workflows/push.yaml +++ b/.github/workflows/push.yaml @@ -8,6 +8,6 @@ jobs: - name: step1 run: echo hello world - name: step2 - run: + run: | echo hello world echo github action \ No newline at end of file From 9aa9389aaf9237e05481e61f125bedf43c5ecf25 Mon Sep 17 00:00:00 2001 From: Ryan Lee Date: Sat, 11 Jan 2025 15:02:22 -0500 Subject: [PATCH 04/22] Add push.yaml 2 --- .github/workflows/push.yaml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/push.yaml b/.github/workflows/push.yaml index bad8f61bd..0ada5b5fd 100644 --- a/.github/workflows/push.yaml +++ b/.github/workflows/push.yaml @@ -10,4 +10,5 @@ jobs: - name: step2 run: | echo hello world - echo github action \ No newline at end of file + echo github action + echo I am Ryan Lee \ No newline at end of file From 75f5c170a80bf78c6761a9b26598f0d4b02bfdc8 Mon Sep 17 00:00:00 2001 From: Ryan Lee Date: Sat, 11 Jan 2025 15:04:34 -0500 Subject: [PATCH 05/22] Add push.yaml 2 --- .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 6ab1ee6f118d34f916bf6330a5f60c4b4fa47fce Mon Sep 17 00:00:00 2001 From: Ryan Lee Date: Sat, 11 Jan 2025 15:12:16 -0500 Subject: [PATCH 06/22] Add pull_request.yaml --- .github/workflows/part1/pull_request.yaml | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 .github/workflows/part1/pull_request.yaml diff --git a/.github/workflows/part1/pull_request.yaml b/.github/workflows/part1/pull_request.yaml new file mode 100644 index 000000000..3d6dc3f00 --- /dev/null +++ b/.github/workflows/part1/pull_request.yaml @@ -0,0 +1,14 @@ +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 action + echo I am Ryan Lee \ No newline at end of file From c62963132d5babe7cd428ba1eeb17a42102d25f1 Mon Sep 17 00:00:00 2001 From: Ryan Lee Date: Sat, 11 Jan 2025 15:26:32 -0500 Subject: [PATCH 07/22] Add pull_request.yaml --- .github/workflows/{part1 => }/pull_request.yaml | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename .github/workflows/{part1 => }/pull_request.yaml (100%) diff --git a/.github/workflows/part1/pull_request.yaml b/.github/workflows/pull_request.yaml similarity index 100% rename from .github/workflows/part1/pull_request.yaml rename to .github/workflows/pull_request.yaml From 80eabe340b7d85f227d3425e332c9b780690c62f Mon Sep 17 00:00:00 2001 From: Ryan Lee Date: Sat, 11 Jan 2025 15:28:46 -0500 Subject: [PATCH 08/22] Add pull_request.yaml --- .github/workflows/pull_request.yaml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.github/workflows/pull_request.yaml b/.github/workflows/pull_request.yaml index 3d6dc3f00..30e2373a0 100644 --- a/.github/workflows/pull_request.yaml +++ b/.github/workflows/pull_request.yaml @@ -10,5 +10,4 @@ jobs: - name: step2 run: | echo hello world - echo github action - echo I am Ryan Lee \ No newline at end of file + echo github action \ No newline at end of file From ba5a06eaff72473209064b29e180725ea16dbc76 Mon Sep 17 00:00:00 2001 From: Ryan Lee Date: Sat, 11 Jan 2025 15:32:27 -0500 Subject: [PATCH 09/22] 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 30e2373a0..842ea39b0 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: From 191a04cb9f7ffd715ea4a6db96cff11d4de1ca97 Mon Sep 17 00:00:00 2001 From: Ryan Lee Date: Sat, 11 Jan 2025 15:34:35 -0500 Subject: [PATCH 10/22] Add pull_request.yaml --- .github/workflows/pull_request.yaml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/pull_request.yaml b/.github/workflows/pull_request.yaml index 842ea39b0..b0cc98fa6 100644 --- a/.github/workflows/pull_request.yaml +++ b/.github/workflows/pull_request.yaml @@ -12,4 +12,5 @@ jobs: - name: step2 run: | echo hello world - echo github action \ No newline at end of file + echo github action + echo pull_request \ No newline at end of file From 8a4a779f693241662b5280c3658914f9c37532f3 Mon Sep 17 00:00:00 2001 From: Ryan Lee Date: Sat, 11 Jan 2025 16:32:09 -0500 Subject: [PATCH 11/22] Add issue.yaml --- .github/workflows/issue.yaml | 16 ++++++++++ .../workflows/{ => part1}/pull_request.yaml | 30 +++++++++---------- 2 files changed, 31 insertions(+), 15 deletions(-) create mode 100644 .github/workflows/issue.yaml rename .github/workflows/{ => part1}/pull_request.yaml (95%) diff --git a/.github/workflows/issue.yaml b/.github/workflows/issue.yaml new file mode 100644 index 000000000..cadf3656e --- /dev/null +++ b/.github/workflows/issue.yaml @@ -0,0 +1,16 @@ +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 action + \ No newline at end of file diff --git a/.github/workflows/pull_request.yaml b/.github/workflows/part1/pull_request.yaml similarity index 95% rename from .github/workflows/pull_request.yaml rename to .github/workflows/part1/pull_request.yaml index b0cc98fa6..5b4a1a3d0 100644 --- a/.github/workflows/pull_request.yaml +++ b/.github/workflows/part1/pull_request.yaml @@ -1,16 +1,16 @@ -name: pull-request-workflow -on: - pull_request: - types: [opened] - -jobs: - pull-request-job: - runs-on: ubuntu-latest - steps: - - name: step1 - run: echo hello world - - name: step2 - run: | - echo hello world - echo github action +name: pull-request-workflow +on: + pull_request: + types: [opened] + +jobs: + pull-request-job: + runs-on: ubuntu-latest + steps: + - name: step1 + run: echo hello world + - name: step2 + run: | + echo hello world + echo github action echo pull_request \ No newline at end of file From a4ea973fe1a61bacdb00593273b951bc1d881560 Mon Sep 17 00:00:00 2001 From: Ryan Lee Date: Sat, 11 Jan 2025 16:32:33 -0500 Subject: [PATCH 12/22] Add issue.yaml --- .github/workflows/issue.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/issue.yaml b/.github/workflows/issue.yaml index cadf3656e..aa012c067 100644 --- a/.github/workflows/issue.yaml +++ b/.github/workflows/issue.yaml @@ -1,7 +1,7 @@ name: issue-workflow on: issues: - types: [opened] + types: [opened] jobs: issue-job: From 5cab72e420d3d0837160f9e4738e69abf9135e9e Mon Sep 17 00:00:00 2001 From: Ryan Lee Date: Sat, 11 Jan 2025 16:34:13 -0500 Subject: [PATCH 13/22] Add issue.yaml --- .github/workflows/issue.yaml | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/.github/workflows/issue.yaml b/.github/workflows/issue.yaml index aa012c067..cc46c5b15 100644 --- a/.github/workflows/issue.yaml +++ b/.github/workflows/issue.yaml @@ -4,13 +4,13 @@ on: types: [opened] jobs: - issue-job: - runs-on: ubuntu-latest - steps: - - name: step1 - run: echo hello world - - name: step2 - run: | - echo hello world - echo github action + issue-job: + runs-on: ubuntu-latest + steps: + - name: step1 + run: echo hello world + - name: step2 + run: | + echo hello world + echo github action \ No newline at end of file From 499b8faf73fd109084c0791238185d29dad912be Mon Sep 17 00:00:00 2001 From: Ryan Lee Date: Sat, 11 Jan 2025 16:35:20 -0500 Subject: [PATCH 14/22] Add issue.yaml --- .github/workflows/issue.yaml | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/.github/workflows/issue.yaml b/.github/workflows/issue.yaml index cc46c5b15..ce41651b0 100644 --- a/.github/workflows/issue.yaml +++ b/.github/workflows/issue.yaml @@ -3,14 +3,14 @@ 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 action +jobs: + issue-job: + runs-on: ubuntu-latest + steps: + - name: step1 + run: echo hello world + - name: step2 + run: | + echo hello world + echo github action \ No newline at end of file From 0c19c57606bf8f28b8fcf13e388e519ad57ed50d Mon Sep 17 00:00:00 2001 From: Ryan Lee Date: Sat, 11 Jan 2025 16:48:49 -0500 Subject: [PATCH 15/22] Add issue_comment.yaml --- .github/issue_comment.yaml | 18 ++++++++++++++++++ .github/workflows/{ => part1}/issue.yaml | 0 2 files changed, 18 insertions(+) create mode 100644 .github/issue_comment.yaml rename .github/workflows/{ => part1}/issue.yaml (100%) diff --git a/.github/issue_comment.yaml b/.github/issue_comment.yaml new file mode 100644 index 000000000..f3a64bead --- /dev/null +++ b/.github/issue_comment.yaml @@ -0,0 +1,18 @@ +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 }} + \ No newline at end of file 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 From 61d8924ba7dd1c6b9cbc3e3ac488b245dd182def Mon Sep 17 00:00:00 2001 From: Ryan Lee <144248490+RyanLee9219@users.noreply.github.com> Date: Sat, 11 Jan 2025 16:50:00 -0500 Subject: [PATCH 16/22] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index ea85d664a..801ba41da 100644 --- a/README.md +++ b/README.md @@ -1 +1 @@ -# github-actions-setting \ No newline at end of file +# github-actions-setting1 From 2c912952dd9033d9ae556396bcef70aff08e0c2e Mon Sep 17 00:00:00 2001 From: Ryan Lee <144248490+RyanLee9219@users.noreply.github.com> Date: Sat, 11 Jan 2025 16:54:58 -0500 Subject: [PATCH 17/22] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 801ba41da..7d1c29f07 100644 --- a/README.md +++ b/README.md @@ -1 +1 @@ -# github-actions-setting1 +# github-actions-setting 2 From a227b53e356bee7249047a1847f786fd06039a04 Mon Sep 17 00:00:00 2001 From: Ryan Lee <144248490+RyanLee9219@users.noreply.github.com> Date: Sat, 11 Jan 2025 16:56:28 -0500 Subject: [PATCH 18/22] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 7d1c29f07..f794ef38f 100644 --- a/README.md +++ b/README.md @@ -1 +1 @@ -# github-actions-setting 2 +# github-actions-setting 1 From 4023b19b59972588ff31838abe75558478bf7b1b Mon Sep 17 00:00:00 2001 From: Ryan Lee <144248490+RyanLee9219@users.noreply.github.com> Date: Sat, 11 Jan 2025 16:59:19 -0500 Subject: [PATCH 19/22] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index f794ef38f..395c4ab0c 100644 --- a/README.md +++ b/README.md @@ -1 +1 @@ -# github-actions-setting 1 +# github-actions-changes From 0fe482d38cfd3585e818b0f75520e510983a8192 Mon Sep 17 00:00:00 2001 From: Ryan Lee <144248490+RyanLee9219@users.noreply.github.com> Date: Sat, 11 Jan 2025 17:01:30 -0500 Subject: [PATCH 20/22] Create test.txt --- test.txt | 1 + 1 file changed, 1 insertion(+) create mode 100644 test.txt diff --git a/test.txt b/test.txt new file mode 100644 index 000000000..ce0136250 --- /dev/null +++ b/test.txt @@ -0,0 +1 @@ +hello From 57672a46a29cbb4a77200655449b40aebd75599e Mon Sep 17 00:00:00 2001 From: Ryan Lee <144248490+RyanLee9219@users.noreply.github.com> Date: Sat, 11 Jan 2025 17:07:11 -0500 Subject: [PATCH 21/22] Update test.txt --- test.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test.txt b/test.txt index ce0136250..a04238969 100644 --- a/test.txt +++ b/test.txt @@ -1 +1 @@ -hello +hello world! From 5e96b33213ea0333bf2012f8479164d770527e81 Mon Sep 17 00:00:00 2001 From: Ryan Lee <144248490+RyanLee9219@users.noreply.github.com> Date: Sat, 11 Jan 2025 17:10:26 -0500 Subject: [PATCH 22/22] Update test.txt --- test.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test.txt b/test.txt index a04238969..60989a2d1 100644 --- a/test.txt +++ b/test.txt @@ -1 +1 @@ -hello world! +hello world! 2