Create new Greetings automation on github

This should make sure people are aware about copyright assignment on their first PR.
This commit is contained in:
Philip Herron 2021-01-05 11:27:48 +00:00 committed by Philip Herron
parent 36ebe9a038
commit 4d590e5d21
1 changed files with 13 additions and 0 deletions

13
.github/workflows/greetings.yml vendored Normal file
View File

@ -0,0 +1,13 @@
name: Greetings
on: [pull_request, issues]
jobs:
greeting:
runs-on: ubuntu-latest
steps:
- uses: actions/first-interaction@v1
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
issue-message: 'Thanks for your contribution fellow Rustacean'
pr-message: 'Thanks for your contribution, please be aware that this project is destined to be upstreamed to GCC. This will require copyright assignment, see https://gcc.gnu.org/contribute.html'