Skip to content

Commit

Permalink
Update first-time-contributor.yml
Browse files Browse the repository at this point in the history
Signed-off-by: Vivek Vishal <[email protected]>
  • Loading branch information
vishalvivekm committed Sep 17, 2024
1 parent d1912e6 commit ff47cb2
Showing 1 changed file with 10 additions and 9 deletions.
19 changes: 10 additions & 9 deletions .github/workflows/first-time-contributor.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,7 @@
name: First-Time Contributor Welcome

on:
pull_request:
types: [opened]

jobs:
welcome:
runs-on: ubuntu-latest
Expand All @@ -14,18 +12,21 @@ jobs:
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
script: |
const message = `Welcome, @${{ github.event.pull_request.user.login }}! Thank you for your first contribution! 🎉 A contributor will be by to give feedback soon. In the meantime, please review the [Newcomers' Guide](https://layer5.io/community/newcomers) and be sure to join the [community Slack](https://slack.layer5.io/).
<p align="center" width="100%">
<img src="https://github.com/user-attachments/assets/f3f7d995-fc9a-4aec-8c9d-ed6570fb56ab" width="65%" />
</p>
Be sure to double-check that you have signed your commits.
Here are instructions for [making signing an implicit activity while peforming a commit](https://github.com/layer5io/layer5/blob/master/CONTRIBUTING.md#signing-off-on-commits-developer-certificate-of-origin).`;
github.rest.issues.createComment({
issue_number: context.issue.number,
owner: context.repo.owner,
repo: context.repo.repo,
body: "Welcome, @${{ github.event.pull_request.user.login }}! Thank you for your first contribution! 🎉 A contributor will be by to give feedback soon. In the meantime, please review the [Newcomers' Guide](https://layer5.io/community/newcomers) and be sure to join the [community Slack](https://slack.layer5.io/).
<p align="center" width="100%">
<img src="https://github.com/user-attachments/assets/f3f7d995-fc9a-4aec-8c9d-ed6570fb56ab" width="65%" />
</p>
Be sure to double-check that you have signed your commits.
Here are instructions for [making signing an implicit activity while peforming a commit](https://github.com/layer5io/layer5/blob/master/CONTRIBUTING.md#signing-off-on-commits-developer-certificate-of-origin)."
body: message
});
- name: Label Pull Request (Optional)
uses: actions/github-script@v6
with:
Expand Down

0 comments on commit ff47cb2

Please sign in to comment.