Fix broken GitHub Actions workflows (#402)

* Fix pull-request-labeler to permit outside collaborator

* Add welcome GitHub workflow

* Update welcome.yaml
This commit is contained in:
Byungjin Park (Claud) 2022-02-26 21:35:57 +09:00 committed by GitHub
parent a944c26b24
commit 8bffe694f9
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 28 additions and 1 deletions

View file

@ -1,7 +1,7 @@
name: Label Pull Requests name: Label Pull Requests
on: on:
- pull_request - pull_request_target
jobs: jobs:
label-pr: label-pr:

27
.github/workflows/welcome.yaml vendored Normal file
View file

@ -0,0 +1,27 @@
name: Welcome for First Issue or Pull Request
on:
pull_request_target:
types:
- opened
issues:
types:
- opened
jobs:
welcome:
runs-on: ubuntu-latest
steps:
- name: Welcome for First Issue or Pull Request
uses: actions/first-interaction@v1
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
issue-message: |
### :wave: Welcome! Looks like this is your first issue.
Hey, thanks for your contribution! Please give us a bit of time to review it. 😄
pr-message: |
### :wave: Welcome! Looks like this is your first pull request.
Hey, thanks for your contribution! Please give us a bit of time to review it. 😄