Support POST /jobs
for various workflow implementations
#3836
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Greetings | |
on: [pull_request, issues] | |
# cancel the current workflow if another commit was pushed on the same PR or reference | |
# uses the GitHub workflow name to avoid collision with other workflows running on the same PR/reference | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }} | |
cancel-in-progress: true | |
jobs: | |
greeting: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/first-interaction@v1 | |
continue-on-error: true | |
with: | |
repo-token: ${{ secrets.GITHUB_TOKEN }} | |
issue-message: > | |
Thanks for submitting an issue. | |
Make sure you have checked through existing/resolved issues to avoid duplicates. | |
Also, make sure you provide enough details for us to be able to replicate and understand the problem. | |
pr-message: > | |
Thanks for submitting a PR. | |
Make sure that you have added tests to validates new features or bugfixes. | |
Also, ensure that existing test suites are still working with the change using the commit test statuses. |