Skip to content

Commit

Permalink
Add logging
Browse files Browse the repository at this point in the history
  • Loading branch information
kkawula committed Jan 15, 2025
1 parent 2b06614 commit 2ecfe73
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion .github/workflows/automate-stale.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,9 @@ jobs:
permissions:
pull-requests: write
steps:
- uses: actions/stale@v9
- name: Run Stale Bot
id: stale-bot
uses: actions/stale@v9
with:
# General settings
days-before-stale: ${{ env.DAYS_BEFORE_STALE }}
Expand All @@ -32,3 +34,9 @@ jobs:
marking it as stale. It will close in ${{ env.DAYS_BEFORE_CLOSE }}
days unless something changes. Thanks for contributing!
close-pr-message: false

- name: Logs
if: ${{ steps.stale-bot.outputs.staled-issues-prs != '' || steps.stale-bot.outputs.closed-issues-prs != '' }}
run: |
echo "Staled PRs: ${{ steps.stale-bot.outputs.staled-issues-prs }}"
echo "Closed PRs: ${{ steps.stale-bot.outputs.closed-issues-prs }}"

0 comments on commit 2ecfe73

Please sign in to comment.