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 bdfbc2d commit 2c48a4d
Show file tree
Hide file tree
Showing 3 changed files with 46 additions and 1 deletion.
16 changes: 16 additions & 0 deletions .github/workflows/greeting.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
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
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
![image](https://github.com/SnowScriptWinterOfCode/QuickQuiz/assets/97171261/bd54be3f-6450-42a3-993b-06f9972fe548)

## Maintainers
@i-am-SnehaChauhan and @Nitya-Pasrija
[@i-am-SnehaChauhan](https://github.com/i-am-SnehaChauhan) and [@Nitya-Pasrija](https://github.com/Nitya-Pasrija)

Please reach out to the maintainers if you get stuck or wish to report someone.

Expand Down

0 comments on commit 2c48a4d

Please sign in to comment.