From 925e0eaf4b89e426d77733641b184877675f947c Mon Sep 17 00:00:00 2001 From: Moon Date: Mon, 17 Feb 2025 21:01:41 +0100 Subject: [PATCH 1/2] Maj README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 92556f0..3bf8349 100644 --- a/README.md +++ b/README.md @@ -8,7 +8,7 @@ _Create and run a GitHub Actions workflow._ ## Step 5: Trigger the workflow -_You've now added a fully functioning workflow to your repository! :smile:_ +_:tada: You've now added a fully functioning workflow to your repository! :smile:_ The shell script in the workflow will run whenever a new pull request is opened. From 60fc936cea1bd4885586ee3c63486f486cf876a1 Mon Sep 17 00:00:00 2001 From: Moon Date: Mon, 17 Feb 2025 21:16:45 +0100 Subject: [PATCH 2/2] Correction welcome.yml --- .github/workflows/welcome.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/welcome.yml b/.github/workflows/welcome.yml index 08f8eec..a25df08 100644 --- a/.github/workflows/welcome.yml +++ b/.github/workflows/welcome.yml @@ -3,13 +3,13 @@ on: pull_request: types: [opened] permissions: - pull_request: write + pull-requests: write jobs: build: name: Post welcome comment runs-on: ubuntu-latest steps: - run: gh pr comment $PR_URL --body "Welcome to my 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 }}