Skip to content

Add config for bumping/closing inactive PRs #5

Add config for bumping/closing inactive PRs

Add config for bumping/closing inactive PRs #5

name: Add config for bumping/closing inactive PRs
on:
push:
branches:
- 'master'
paths:
- '.github/workflows/stale.yml'
- '.github/workflows/distribute-stale.yml'
workflow_dispatch:
inputs:
repo_name:
description: 'The name of the repository to distribute the stale.yml config to'
required: false
jobs:
distribute_stale:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: derberg/manage-files-in-multiple-repositories@v2
with:
# needed scopes: repo, workflow
github_token: ${{ secrets.GLOBAL_GH_ACTION_TOKEN }}
# you must specify what pattern to include otherwise all files from the repository will be replicated
patterns_to_include: '.github/workflows/stale.yml'
commit_message: 'Update stale.yml config'
committer_username: 'Atlas Team'
committer_email: '[email protected]'
exclude_forked: true