Solution to 24 October Leetcode POTD #43
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: | |
push: | |
branches: | |
- '**' | |
issues: | |
types: [opened] | |
pull_request_target: | |
branches: | |
- '**' | |
types: [opened] | |
permissions: | |
issues: write | |
pull-requests: write | |
contents: read | |
jobs: | |
welcome: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Send Welcome Message | |
uses: EddieHubCommunity/gh-action-community/src/welcome@main | |
with: | |
github-token: ${{ secrets.GITHUB_TOKEN }} | |
issue-message: | | |
Welcome, @${{ github.actor }}! Thanks for raising the issue. | |
Soon the maintainers/owner will review it and provide you with feedback/suggestions. | |
Make sure to **star this awesome repository** and **follow the account!** | |
pr-message: | | |
Great job, @${{ github.actor }}! Thanks for creating the pull request. | |
Soon the maintainers/owner will review it and provide you with feedback/suggestions. | |
Make sure to **star this awesome repository** and **follow the account!** | |
# name: 'Greetings' | |
# on: | |
# push: | |
# branches: | |
# - '**' | |
# issues: | |
# types: [opened] # Trigger on issue opened event | |
# pull_request: | |
# branches: | |
# - '**' | |
# types: [opened] | |
# permissions: | |
# issues: write | |
# pull-requests: write | |
# jobs: | |
# welcome: | |
# runs-on: ubuntu-latest | |
# steps: | |
# - uses: actions/checkout@v4 # Updated to the latest version | |
# - name: Send Welcome Message | |
# uses: EddieHubCommunity/gh-action-community/src/welcome@main | |
# with: | |
# github-token: ${{ secrets.GITHUB_TOKEN }} | |
# issue-message: | | |
# Welcome, @${{ github.actor }}! Thanks for raising the issue. | |
# Soon the maintainers/owner will review it and provide you with feedback/suggestions. | |
# Make sure to **star this awesome repository** and **follow the account!** | |
# pr-message: | | |
# Great job, @${{ github.actor }}! Thanks for creating the pull request. | |
# Soon the maintainers/owner will review it and provide you with feedback/suggestions. | |
# Make sure to **star this awesome repository** and **follow the account!** | |
# footer: 'Make sure to stay involved and contribute to the project!' | |
# name: 'Greetings' | |
# on: | |
# push: | |
# branches: | |
# - '**' # Trigger on all branches for push events | |
# issues: | |
# types: [opened] # Trigger on issue opened events | |
# pull_request: | |
# branches: | |
# - '**' # Trigger on pull request opened for all branches | |
# types: [opened] # Trigger on pull request events like opened, reopened if needed | |
# permissions: | |
# issues: write | |
# pull-requests: write # Ensure pull request permissions are explicitly set to 'write' | |
# jobs: | |
# welcome: | |
# runs-on: ubuntu-latest | |
# steps: | |
# - uses: actions/checkout@v1 | |
# - uses: EddieHubCommunity/gh-action-community/src/welcome@main | |
# with: | |
# github-token: doler{{ secrets.GITHUB_TOKEN }} # Ensure the token is set | |
# issue-message: | | |
# Welcome, @doler{{ github.actor }}! Thanks for raising the issue. | |
# Soon the maintainers/owner will review it and provide you with feedback/suggestions. | |
# Make sure to **star this awesome repository** and **follow the account** for updates! | |
# pr-message: | | |
# Great job, @doler{{ github.actor }}! Thanks for creating the pull request. | |
# Soon the maintainers/owner will review it and provide you with feedback/suggestions. | |
# Make sure to **star this awesome repository** and **follow the account** for updates! | |
# footer: 'Make sure to stay involved and contribute to the project!' |