From f456b36e756315e262e35089d4625d937bcccdd4 Mon Sep 17 00:00:00 2001 From: Oleksii Date: Mon, 14 Jul 2025 23:45:27 +0100 Subject: [PATCH 1/9] Create welcome.yml --- .github/workflows/welcome.yml | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 .github/workflows/welcome.yml diff --git a/.github/workflows/welcome.yml b/.github/workflows/welcome.yml new file mode 100644 index 0000000..6c9a6eb --- /dev/null +++ b/.github/workflows/welcome.yml @@ -0,0 +1,6 @@ +name: Post welcome comment +on: + pull_request: + types: [opened] +permissions: + pull-requests: write From 02e5f87d06b99240768c38468de96e1944cb1f46 Mon Sep 17 00:00:00 2001 From: Oleksii Date: Mon, 14 Jul 2025 23:47:13 +0100 Subject: [PATCH 2/9] Delete .github/workflows/welcome.yml --- .github/workflows/welcome.yml | 6 ------ 1 file changed, 6 deletions(-) delete mode 100644 .github/workflows/welcome.yml diff --git a/.github/workflows/welcome.yml b/.github/workflows/welcome.yml deleted file mode 100644 index 6c9a6eb..0000000 --- a/.github/workflows/welcome.yml +++ /dev/null @@ -1,6 +0,0 @@ -name: Post welcome comment -on: - pull_request: - types: [opened] -permissions: - pull-requests: write From 41b0e57f845547e9c58c6dca19792eae821f4f95 Mon Sep 17 00:00:00 2001 From: Oleksii Date: Mon, 14 Jul 2025 23:48:54 +0100 Subject: [PATCH 3/9] Create welcome.yml --- .github/workflows/welcome.yml | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 .github/workflows/welcome.yml diff --git a/.github/workflows/welcome.yml b/.github/workflows/welcome.yml new file mode 100644 index 0000000..60aabe9 --- /dev/null +++ b/.github/workflows/welcome.yml @@ -0,0 +1,7 @@ +name: Post welcome comment +on: + pull_request: + types: [created] +permissions: + pull-requests: write + From ee86374270016a4760e2dcd13008de467aca1520 Mon Sep 17 00:00:00 2001 From: Oleksii Date: Mon, 14 Jul 2025 23:53:02 +0100 Subject: [PATCH 4/9] Update welcome.yml --- .github/workflows/welcome.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/welcome.yml b/.github/workflows/welcome.yml index 60aabe9..2a18f75 100644 --- a/.github/workflows/welcome.yml +++ b/.github/workflows/welcome.yml @@ -4,4 +4,7 @@ on: types: [created] permissions: pull-requests: write - +jobs: + welcome: + name: Post welcome comment + runs-on: ubuntu-latest From a20bac7160fe776fee32c43a737c39537409ef7c Mon Sep 17 00:00:00 2001 From: Oleksii Date: Mon, 14 Jul 2025 23:58:08 +0100 Subject: [PATCH 5/9] Update welcome.yml --- .github/workflows/welcome.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.github/workflows/welcome.yml b/.github/workflows/welcome.yml index 2a18f75..8fde5bb 100644 --- a/.github/workflows/welcome.yml +++ b/.github/workflows/welcome.yml @@ -8,3 +8,8 @@ jobs: welcome: name: Post welcome comment runs-on: ubuntu-latest + steps: + - run: gh pr "$PR_URL" --body "Welcome to the repository" + env: + GITHUB_TOKEN: ${{secret.GITHUB_TOKEN}} + PR_URL: ${{ github.event.pull_request.html_url }} From adf3807ed9d641e79eeed9a78b32aca5fd1b846b Mon Sep 17 00:00:00 2001 From: Oleksii Date: Tue, 15 Jul 2025 00:01:22 +0100 Subject: [PATCH 6/9] Update welcome.yml --- .github/workflows/welcome.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/welcome.yml b/.github/workflows/welcome.yml index 8fde5bb..cae4fac 100644 --- a/.github/workflows/welcome.yml +++ b/.github/workflows/welcome.yml @@ -9,7 +9,7 @@ jobs: name: Post welcome comment runs-on: ubuntu-latest steps: - - run: gh pr "$PR_URL" --body "Welcome to the repository" + - run: gh pr comment "$PR_URL" --body "Welcome to the repository" env: - GITHUB_TOKEN: ${{secret.GITHUB_TOKEN}} + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} PR_URL: ${{ github.event.pull_request.html_url }} From bb79dfc6db8b8a4ac635c567961b0ca5118df5ac Mon Sep 17 00:00:00 2001 From: Oleksii Date: Tue, 15 Jul 2025 00:03:30 +0100 Subject: [PATCH 7/9] Update welcome.yml --- .github/workflows/welcome.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/welcome.yml b/.github/workflows/welcome.yml index cae4fac..edd1a0e 100644 --- a/.github/workflows/welcome.yml +++ b/.github/workflows/welcome.yml @@ -9,7 +9,7 @@ jobs: name: Post welcome comment runs-on: ubuntu-latest steps: - - run: gh pr comment "$PR_URL" --body "Welcome to the repository" + - run: gh pr comment "$PR_URL" --body "Welcome to the repository!" env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} PR_URL: ${{ github.event.pull_request.html_url }} From ecdf090187bb15ce32601d028323fda64fcf7050 Mon Sep 17 00:00:00 2001 From: Oleksii Date: Tue, 15 Jul 2025 00:05:27 +0100 Subject: [PATCH 8/9] Update welcome.yml From e632706044dd7e8864cbd664fc13753672659783 Mon Sep 17 00:00:00 2001 From: Oleksii Date: Tue, 15 Jul 2025 00:06:24 +0100 Subject: [PATCH 9/9] Update welcome.yml --- .github/workflows/welcome.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/welcome.yml b/.github/workflows/welcome.yml index edd1a0e..3c514e5 100644 --- a/.github/workflows/welcome.yml +++ b/.github/workflows/welcome.yml @@ -1,7 +1,7 @@ name: Post welcome comment on: pull_request: - types: [created] + types: [opened] permissions: pull-requests: write jobs: