Skip to content

modified workflow files with necessary permissions #42

modified workflow files with necessary permissions

modified workflow files with necessary permissions #42

name: Greet Contributor
on:
fork:
push:
branches: [main]
issues:
types: [opened]
pull_request_target:
types: [opened]
permissions:
issues: write # Define permissions for issues
pull-requests: write # Define permissions for pull requests
jobs:
welcome:
runs-on: ubuntu-latest
steps:
- uses: EddieHubCommunity/gh-action-community/src/welcome@main
if: ${{ github.event.sender.login != github.repository_owner }}
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
issue-message: |
### Hello @${{ github.actor }},
Thank you for raising the issue. Soon, the maintainers/owner will review it and offer feedback and suggestions. If you enjoy contributing to the project, please consider giving it a star ⭐.
pr-message: |
### Good work @${{ github.actor }},
Thank you for raising the PR. Soon, the maintainers/owner will review it and offer feedback and suggestions. If you enjoy contributing to the project, please consider giving it a star ⭐.