Skip to content

Bump @docusaurus/types from 3.6.0 to 3.6.1 #7960

Bump @docusaurus/types from 3.6.0 to 3.6.1

Bump @docusaurus/types from 3.6.0 to 3.6.1 #7960

Workflow file for this run

name: 'Greetings'
on:
issues:
types: [opened]
pull_request_target:
types: [opened]
permissions:
issues: write
pull-requests: write
jobs:
welcome:
runs-on: ubuntu-latest
steps:
- name: Check out repository
uses: actions/checkout@v4
- name: Greet first-time contributors
id: greet
uses: actions/first-interaction@v1
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
issue-message: |
Hi @${{ github.actor }}! 👋 Thank you for opening your first issue on CodeHarborHub. We're excited to hear your thoughts and help you out. You've raised a great topic! Please provide as much detail as you can so we can assist you effectively. Welcome aboard!
pr-message: |
Hi @${{ github.actor }}! 👋 Thank you for submitting your first pull request to CodeHarborHub. Great job on the contribution! 🎉 We appreciate your efforts and our team will review it soon. If you have any questions or need further assistance, feel free to reach out. Keep up the great work!
- name: Assign issue or pull request to team member
if: github.event_name == 'issues' || github.event_name == 'pull_request_target'
run: |
ISSUE_NUMBER=${{ github.event.issue.number || github.event.pull_request.number }}
curl -X POST -H "Authorization: token ${{ secrets.GITHUB_TOKEN }}" \
-d '{"assignees":["team-member"]}' \
"https://api.github.com/repos/${{ github.repository }}/issues/${ISSUE_NUMBER}"
- name: Welcome message for community contributors
if: github.event_name == 'issues' || github.event_name == 'pull_request_target'
uses: EddieHubCommunity/gh-action-community/src/welcome@main
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
issue-message: "Hi @${{ github.actor }}! Thanks for opening this issue. We appreciate your contribution to this open-source project. Your input is valuable and we aim to respond or assign your issue as soon as possible. Thanks again!"
pr-message: "Great job, @${{ github.actor }}! 🎉 Thank you for submitting your pull request to CodeHarborHub. We appreciate your contribution and enthusiasm! Our team will review it soon. If you have any questions or need further assistance, feel free to reach out. Thanks for contributing!"
- name: Label first-time issues
if: github.event_name == 'issues'
run: |
ISSUE_NUMBER=${{ github.event.issue.number }}
curl -X POST -H "Authorization: token ${{ secrets.GITHUB_TOKEN }}" \
-d '{"labels":["CodeHarborHub - Thanks for creating an issue!"]}' \
"https://api.github.com/repos/${{ github.repository }}/issues/${ISSUE_NUMBER}"
- name: Label first-time pull requests
if: github.event_name == 'pull_request_target'
run: |
PR_NUMBER=${{ github.event.pull_request.number }}
curl -X POST -H "Authorization: token ${{ secrets.GITHUB_TOKEN }}" \
-d '{"labels":["CodeHarborHub - Thanks for creating a pull request!"]}' \
"https://api.github.com/repos/${{ github.repository }}/issues/${PR_NUMBER}"