From d15c26ce517198f3bb501a444c0ce33a2e03abdf Mon Sep 17 00:00:00 2001 From: amelnychenko Date: Tue, 15 Sep 2026 13:56:31 +0200 Subject: [PATCH 1/3] commit --- .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 00000000..b1afb34b --- /dev/null +++ b/.github/workflows/welcome.yml @@ -0,0 +1,6 @@ +name: Post welcome comment +on: + pull_request: + types: [opened] +permissions: + pull-requests: write \ No newline at end of file From d2e664972be23680c6a5bf8f169cbd48b9c79b60 Mon Sep 17 00:00:00 2001 From: amelnychenko Date: Tue, 15 Sep 2026 13:59:55 +0200 Subject: [PATCH 2/3] commit step-2 --- .github/workflows/welcome.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/workflows/welcome.yml b/.github/workflows/welcome.yml index b1afb34b..ae995a47 100644 --- a/.github/workflows/welcome.yml +++ b/.github/workflows/welcome.yml @@ -3,4 +3,8 @@ on: pull_request: types: [opened] permissions: - pull-requests: write \ No newline at end of file + pull-requests: write +jobs: + welcome: + name: Post welcome comment + runs-on: ubuntu-latest \ No newline at end of file From c4136163b606bbb29cefcd0b8c3413b49cb73881 Mon Sep 17 00:00:00 2001 From: amelnychenko Date: Tue, 15 Sep 2026 14:02:51 +0200 Subject: [PATCH 3/3] commit step-3 --- .github/workflows/welcome.yml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/.github/workflows/welcome.yml b/.github/workflows/welcome.yml index ae995a47..03ad434b 100644 --- a/.github/workflows/welcome.yml +++ b/.github/workflows/welcome.yml @@ -7,4 +7,9 @@ permissions: jobs: welcome: name: Post welcome comment - runs-on: ubuntu-latest \ No newline at end of file + 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 }} \ No newline at end of file