Skip to content

Added Regular Expression Matching from Leetcode. #12

Added Regular Expression Matching from Leetcode.

Added Regular Expression Matching from Leetcode. #12

Workflow file for this run

name: Comment on Pull Request
on:
pull_request:
types:
- opened
jobs:
comment:
runs-on: ubuntu-latest
steps:
- name: Check Out Repository
uses: actions/checkout@v2
- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: '3.10'
- name: Install Dependencies
run: pip install -r requirements.txt
- name: Comment on Pull Request
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
# Customize the comment message here
comment_message="Thank you for opening this pull request! :tada:"
comment_url="https://api.github.com/repos/${{ github.repository }}/issues/${{ github.event.pull_request.number }}/comments"
curl -X POST "$comment_url" -H "Authorization: token $GITHUB_TOKEN" -d "{\"body\": \"$comment_message\"}"