Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
37 changes: 37 additions & 0 deletions .github/workflows/project-submission.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
# This is a basic workflow to help you get started with Actions
name: Project Submission

# Controls when the workflow will run
on:
pull_request:
branches: [ "main" ]
types: [opened]

# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:

permissions:
pull-requests: write

# A workflow run is made up of one or more jobs that can run sequentially or in parallel
jobs:
comment:
runs-on: ubuntu-latest

steps:
- name: Comment on PR
uses: actions/github-script@v7
with:
script: |
github.rest.issues.createComment({
issue_number: context.issues.number,
owner: context.repo.owner,
repo: context.repo.repo,
body: `## 🚀 Project Submitted!

Thanks for submitting your project! I will review it soon.

📋 **Please check the dashboard** to make sure the project was submitted successfully.

⚠️ If it's not there, submit it manually using the URL for this PR.`
})
Loading