From d0fef9f856be8c84c5279c21c72ec7ce5db08b0a Mon Sep 17 00:00:00 2001 From: Solomon Rashidzada <120286788+SuliR123@users.noreply.github.com> Date: Wed, 17 Sep 2025 13:51:13 -0400 Subject: [PATCH 1/5] 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 3ad44fcba41f6d6bee2c7ab4e59e6f3b70b6b097 Mon Sep 17 00:00:00 2001 From: Solomon Rashidzada <120286788+SuliR123@users.noreply.github.com> Date: Wed, 17 Sep 2025 14:12:25 -0400 Subject: [PATCH 2/5] Update welcome.yml --- .github/workflows/welcome.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/welcome.yml b/.github/workflows/welcome.yml index 6c9a6eb..6cf227b 100644 --- a/.github/workflows/welcome.yml +++ b/.github/workflows/welcome.yml @@ -4,3 +4,7 @@ on: types: [opened] permissions: pull-requests: write +jobs: + welcome: + name: Post welcome comment + runs-on: ubuntu-lastest From 276ff142c0c4374c49b3a5ba2cb9a8f104a10147 Mon Sep 17 00:00:00 2001 From: Solomon Rashidzada <120286788+SuliR123@users.noreply.github.com> Date: Wed, 17 Sep 2025 14:13:08 -0400 Subject: [PATCH 3/5] 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 6cf227b..37a7873 100644 --- a/.github/workflows/welcome.yml +++ b/.github/workflows/welcome.yml @@ -7,4 +7,4 @@ permissions: jobs: welcome: name: Post welcome comment - runs-on: ubuntu-lastest + runs-on: ubuntu-latest From 3ba883aff3c24c7418d73ec07b0b38061f987e54 Mon Sep 17 00:00:00 2001 From: Solomon Rashidzada <120286788+SuliR123@users.noreply.github.com> Date: Wed, 17 Sep 2025 14:47:55 -0400 Subject: [PATCH 4/5] 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 37a7873..ef6fb0d 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 comment "$PR_URL" --body "Welcome to the repository!" + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + PR_URL: ${{ github.event.pull_request.html_url }} From 2fc68930635d181308ffab7c4249e83bd7bf23eb Mon Sep 17 00:00:00 2001 From: Solomon Rashidzada <120286788+SuliR123@users.noreply.github.com> Date: Wed, 17 Sep 2025 14:49:27 -0400 Subject: [PATCH 5/5] Update welcome.yml --- .github/workflows/welcome.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/welcome.yml b/.github/workflows/welcome.yml index ef6fb0d..5c1dc56 100644 --- a/.github/workflows/welcome.yml +++ b/.github/workflows/welcome.yml @@ -10,6 +10,6 @@ jobs: runs-on: ubuntu-latest steps: - 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 }} + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + PR_URL: ${{ github.event.pull_request.html_url }}