Skip to content

Commit

Permalink
Merge pull request #89 from SeanAverS/main
Browse files Browse the repository at this point in the history
Implement Github Actions Bot to Welcome new PRs
  • Loading branch information
Bashamega authored Jun 16, 2024
2 parents 15396d4 + 5619287 commit ea3573e
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/greet.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,13 @@ jobs:
uses: actions/github-script@v6
with:
script: |
const { github, context } = require('@actions/github');
const { context } = require('@actions/github');
const github = require('@actions/github');
const pr = context.payload.pull_request;
const commentBody = `Hey there! 👋
Thanks for taking the time to send in this pull request. We're happy to have your contribution! If you have any questions or need any help, feel free to ask.`;
Thanks for taking the time to send in this pull request. We're happy to have your contribution! If you have any questions or need any help, feel free to ask.`;

github.rest.issues.createComment({
owner: context.repo.owner,
Expand Down

0 comments on commit ea3573e

Please sign in to comment.