diff --git a/.github/workflows/greeting.yml b/.github/workflows/greeting.yml new file mode 100644 index 000000000..46774343e --- /dev/null +++ b/.github/workflows/greeting.yml @@ -0,0 +1,16 @@ +name: Greetings + +on: [pull_request_target, issues] + +jobs: + greeting: + runs-on: ubuntu-latest + permissions: + issues: write + pull-requests: write + steps: + - uses: actions/first-interaction@v1 + with: + repo-token: ${{ secrets.GITHUB_TOKEN }} + issue-message: "Message that will be displayed on users' first issue" + pr-message: "Message that will be displayed on users' first pull request" diff --git a/.github/workflows/greetings.yml b/.github/workflows/greetings.yml new file mode 100644 index 000000000..abee67385 --- /dev/null +++ b/.github/workflows/greetings.yml @@ -0,0 +1,16 @@ + name: Greetings + +on: [pull_request_target, issues] + +jobs: + greeting: + runs-on: ubuntu-latest + permissions: + issues: write + pull-requests: write + steps: + - uses: actions/first-interaction@v1 + with: + repo-token: ${{ secrets.GITHUB_TOKEN }} + issue-message: "Message that will be displayed on users' first issue" + pr-message: "Message that will be displayed on users' first pull request" diff --git a/README.md b/README.md index 43fc9143d..5cdfa3c09 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,5 @@ # Github-Examples A repo containing GitHub for programmatic examples + + + \ No newline at end of file