Skip to content

Commit

Permalink
Update auto-comment.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
ArshadAriff authored Oct 31, 2024
1 parent 80d3d7d commit 3addc54
Showing 1 changed file with 14 additions and 8 deletions.
22 changes: 14 additions & 8 deletions .github/workflows/auto-comment.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,15 @@
name: Auto Comment
on: [issues, pull_request]
permissions: write-all
on:
issues:
types: [opened]
pull_request:
types: [opened, unlabeled, synchronize, closed, reopened]

permissions:
contents: write
pull-requests: write
issues: write

jobs:
run:
runs-on: ubuntu-latest
Expand All @@ -10,17 +19,14 @@ jobs:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
issuesOpened: |
@{{ author }} Please Star ⭐️ the repo to earn "**_hacktober-accepted_**" label for the event.
Meanwhile if you want to work on this issue, Please raise the PR and we will review and merge it.

Meanwhile if you want to work on this issue, please raise the PR and we will review and merge it.
pullRequestOpened: |
@{{ author }} Please Star ⭐️ the repo to earn "**_hacktober-accepted_**" label for the event.
pullRequestUnlabeled: |
@{{ author }} Please Star ⭐️ the repo to earn "**_hacktober-accepted_**" label to participate in the event.
pullRequestSynchronize: |
@{{ author }} Please Star ⭐️ the repo to earn "**_hacktober-accepted_**" label to participate in the event.
pullRequestClosed: |
@{{ author }} As your PR is closed now, Please Star ⭐️ the repo to earn "**_hacktober-accepted_**" label to participate in the event.
@{{ author }} As your PR is closed now, please Star ⭐️ the repo to earn "**_hacktober-accepted_**" label to participate in the event.
pullRequestReopened: |
@{{ author }} As your PR is closed now, Please Star ⭐️ the repo to earn "**_hacktober-accepted_**" label to participate in the event.
@{{ author }} As your PR is reopened, please Star ⭐️ the repo to earn "**_hacktober-accepted_**" label to participate in the event.

0 comments on commit 3addc54

Please sign in to comment.