Skip to content

Commit

Permalink
workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
Nitya-Pasrija authored Dec 28, 2023
1 parent 1a9ca24 commit b7c88e2
Show file tree
Hide file tree
Showing 2 changed files with 46 additions and 0 deletions.
17 changes: 17 additions & 0 deletions .github/workflows/greeting.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
# .github/workflows/greetings.yml
name: Greetings

on: [pull_request_target, issues]

jobs:
greeting:
runs-on: ubuntu-latest
permissions:
issues: write
pull-requests: write
steps:
- uses: actions/first-interaction@v1
with:
repo-token: ${{ secrets.TOKEN }}
issue-message: "Woohoo! Your first ever issue with us in this repository has been created🎊🎊!!"
pr-message: "Perfection! Advancing through the open-source world!🎊🎊 :) Please be patient while our maintainers and reviewers check the code."
29 changes: 29 additions & 0 deletions .github/workflows/stale.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
# This workflow warns and then closes issues and PRs that have had no activity for a specified amount of time.
#
# You can adjust the behavior by modifying this file.
# For more information, see:
# https://github.com/actions/stale
name: Mark stale issues and pull requests

on:
schedule:
- cron: '23 20 * * *'

jobs:
stale:

runs-on: ubuntu-latest
permissions:
issues: write
pull-requests: write

steps:
- uses: actions/stale@v5
with:
repo-token: ${{ secrets.TOKEN }}
stale-issue-message: 'We noticed that this Issue has been inactive for quite some time. 🥺'
stale-pr-message: 'This PR has no activity, Maintainers and Reviewers we need help here 💖'
stale-issue-label: 'inactive-issue'
stale-pr-label: 'pr-review-asap'
days-before-issue-stale: 5
days-before-pr-stale: 3

0 comments on commit b7c88e2

Please sign in to comment.