docs: add praptisharma28 as a contributor for code #4
Workflow file for this run
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_target, issues] | |
jobs: | |
greeting: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/first-interaction@v1 | |
with: | |
repo-token: ${{ secrets.GITHUB_TOKEN }} | |
issue-message: 'Thank you 🙏🏻 for submitting your first issue to Job Scraper. We appreciate your effort and look forward to more contributions.' | |
pr-message: 'Thank you 🙏🏻 for contributing to Job Scraper. Looking forward to more contributions.' | |
- name: Label Issues and Pull Requests | |
run: | | |
if [ "${{ github.event_name }}" == "issues" ]; then | |
# Label issues based on keywords in title or body | |
# For example, label "bug" if "bug" is found in the issue | |
# Add more conditions as needed | |
if [[ ${{ github.event.issue.title }} == *"bug"* ]]; then | |
echo "Adding label: bug" | |
gh issue add-label ${{ github.event.issue.number }} bug | |
fi | |
elif [ "${{ github.event_name }}" == "pull_request_target" ]; then | |
# Label pull requests based on keywords in title or body | |
# Add more conditions as needed | |
if [[ ${{ github.event.pull_request.title }} == *"feature"* ]]; then | |
echo "Adding label: feature" | |
gh pr add-label ${{ github.event.pull_request.number }} feature | |
fi | |
fi | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |