diff --git a/.github/workflows/first-time-contributor.yml b/.github/workflows/first-time-contributor.yml index 9f67d2923bd2..78dd419d2852 100644 --- a/.github/workflows/first-time-contributor.yml +++ b/.github/workflows/first-time-contributor.yml @@ -1,9 +1,7 @@ name: First-Time Contributor Welcome - on: pull_request: types: [opened] - jobs: welcome: runs-on: ubuntu-latest @@ -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/). + +

+ +

+ + 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/). -

- -

- 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: