modified workflow files with necessary permissions #42
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: 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 ⭐. |