From c7ca808c598fcb809fa67c9c2548c2dcff9d41c6 Mon Sep 17 00:00:00 2001 From: Nitya Pasrija <97171261+Nitya-Pasrija@users.noreply.github.com> Date: Sat, 30 Dec 2023 00:24:45 +0530 Subject: [PATCH] workflow changes --- .github/workflows/greetings.yml | 10 +++++----- .github/workflows/stale.yml | 29 ----------------------------- 2 files changed, 5 insertions(+), 34 deletions(-) delete mode 100644 .github/workflows/stale.yml diff --git a/.github/workflows/greetings.yml b/.github/workflows/greetings.yml index 99f80f8..68bb843 100644 --- a/.github/workflows/greetings.yml +++ b/.github/workflows/greetings.yml @@ -1,3 +1,4 @@ +# .github/workflows/greetings.yml name: Greetings on: [pull_request_target, issues] @@ -9,8 +10,7 @@ jobs: 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." + - uses: actions/first-interaction@v1 + with: + repo-token: ${{ secrets.TOKEN }} + issue-message: "Congratulations! Your first ever issue with us in this repository has been created. Please wait while it gets assigned to you." diff --git a/.github/workflows/stale.yml b/.github/workflows/stale.yml deleted file mode 100644 index cdea7d9..0000000 --- a/.github/workflows/stale.yml +++ /dev/null @@ -1,29 +0,0 @@ -# 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