mirror of
https://github.com/System-End/riceathon.git
synced 2026-04-19 22:05:16 +00:00
23 lines
665 B
YAML
23 lines
665 B
YAML
name: Form
|
|
on:
|
|
pull_request_target:
|
|
types: [closed]
|
|
|
|
permissions:
|
|
pull-requests: write # To leave comments on PRs
|
|
|
|
jobs:
|
|
send-message:
|
|
if: github.event.pull_request.merged == true && contains(github.event.pull_request.labels.*.name, 'rice-setup')
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/github-script@v6
|
|
with:
|
|
script: |
|
|
github.rest.issues.createComment({
|
|
issue_number: context.issue.number,
|
|
owner: "hackclub",
|
|
repo: "riceathon",
|
|
body: '👋 Thanks for your PR!\nTo get your prize, you will get an email!)'
|
|
})
|
|
|