From bbe003795ddd266f85d3d6731142a72e6b5706e8 Mon Sep 17 00:00:00 2001 From: budnaure Date: Tue, 14 Jan 2025 19:18:20 +0200 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 0aed450044977e2ee98b8d56bcf3c058f37fbb38 Mon Sep 17 00:00:00 2001 From: budnaure Date: Tue, 14 Jan 2025 19:21:19 +0200 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..dfaa776 100644 --- a/.github/workflows/welcome.yml +++ b/.github/workflows/welcome.yml @@ -4,3 +4,7 @@ on: types: [opened] permissions: pull-requests: write +jobs: + build: + name: Post welcome comment + runs-on: ubuntu-latest From d79a7859569f450f051e3b5d4e00e37737cad403 Mon Sep 17 00:00:00 2001 From: budnaure Date: Tue, 14 Jan 2025 19:24:28 +0200 Subject: [PATCH 3/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 dfaa776..a799e30 100644 --- a/.github/workflows/welcome.yml +++ b/.github/workflows/welcome.yml @@ -8,3 +8,8 @@ jobs: build: 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 8ba15cdc6636a1f1f0c913bc76ca04b20f9ea90a Mon Sep 17 00:00:00 2001 From: budnaure Date: Tue, 14 Jan 2025 19:28:46 +0200 Subject: [PATCH 4/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 a799e30..8485eb3 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, Abu!" env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} PR_URL: ${{ github.event.pull_request.html_url }} From fd965814ee61ad00cf36d67304fb4ba0d6a55993 Mon Sep 17 00:00:00 2001 From: budnaure Date: Tue, 14 Jan 2025 19:30:15 +0200 Subject: [PATCH 5/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 8485eb3..7da72e0 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, Abu!" + - run: gh pr comment $PR_URL --body "Welcome to the repository, Aurelijus!" env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} PR_URL: ${{ github.event.pull_request.html_url }}