Skip to content

Delete profiles/Neeraj.md #5782

Delete profiles/Neeraj.md

Delete profiles/Neeraj.md #5782

Workflow file for this run

name: Comment · Star repo reminder
on:
pull_request_target:
types: [opened, reopened, synchronize]
issues:
types: [opened]
permissions:
pull-requests: write
issues: write
jobs:
star-reminder:
runs-on: ubuntu-latest
steps:
- name: Checkout scripts
if: github.event_name == 'pull_request_target'
uses: actions/checkout@v4
with:
sparse-checkout: |
.github/scripts
sparse-checkout-cone-mode: false
- name: Comment on pull request
if: github.event_name == 'pull_request_target'
uses: actions/github-script@v7
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
script: |
const run = require(`${process.env.GITHUB_WORKSPACE}/.github/scripts/post-star-reminder.js`);
await run({ github, context, core });
- name: Comment on new issue
if: github.event_name == 'issues'
uses: actions/github-script@v7
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
script: |
const issue = context.payload.issue;
const author = issue.user.login;
const body = `@${author} Please Star ⭐️ the repo to earn **hacktober-accepted** label for the event.`;
await github.rest.issues.createComment({
owner: context.repo.owner,
repo: context.repo.repo,
issue_number: issue.number,
body,
});