Compare commits

...

2 Commits

Author SHA1 Message Date
Taranpreet26311
f265eb7a84 Merge branch 'develop' into Stale_PR_checker 2024-06-25 17:40:29 +04:00
Taranpreet26311
6562036c54 PR to add Stale pull request checker for Prysm 2024-06-25 17:39:46 +04:00

27
.github/workflows/stale_pr_checker.yml vendored Normal file
View File

@@ -0,0 +1,27 @@
name: Find stale PRs
on:
schedule:
- cron: '0 13 * * 1'
jobs:
fetch-PRs:
runs-on: ubuntu-latest
steps:
- name: Fetch pull requests from here
id: local
uses: paritytech/stale-pr-finder@main
with:
GITHUB_TOKEN: ${{ github.token }}
repo: prysm
- name: Post to a Slack channel
id: slack
uses: slackapi/slack-github-action@v1.23.0
with:
channel-id: ${{ secrets.CHANNEL }}
slack-message: |
Stale PRs this week:
${{ steps.local.outputs.message }}
env:
SLACK_BOT_TOKEN: ${{ secrets.SLACK_BOT_TOKEN }}
LOCAL_PR: ${{ steps.local.outputs.message }}"