Skip to content

Commit

Permalink
add github actions
Browse files Browse the repository at this point in the history
- author assign
- user greetings
  • Loading branch information
oyepriyansh committed Oct 3, 2023
1 parent 705d463 commit ad7cb5f
Show file tree
Hide file tree
Showing 2 changed files with 35 additions and 0 deletions.
13 changes: 13 additions & 0 deletions .github/workflows/author-assign.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
name: 'Author Assign'

on:
pull_request_target:
types: [opened, reopened]

jobs:
assign-author:
runs-on: ubuntu-latest
steps:
- uses: toshimaru/[email protected]
with:
repo-token: '${{ secrets.GITHUB_TOKEN }}'
22 changes: 22 additions & 0 deletions .github/workflows/greetings.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
name: 'Greetings'

on:
fork:
push:
branches: [main]
issues:
types: [opened]
pull_request_target:
types: [opened]

jobs:
welcome:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- uses: EddieHubCommunity/gh-action-community/src/welcome@main
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
issue-message: 'Welcome, @${{ github.actor }}! Thanks for raising the issue!'
pr-message: 'Great job, @${{ github.actor }}! Thanks for creating the pull request!'
footer: 'Soon the maintainers/owner will review it and provide you with feedback/suggestions, Make sure to star this awesome repository'

0 comments on commit ad7cb5f

Please sign in to comment.