Skip to content

Close stale pull requests #214

Close stale pull requests

Close stale pull requests #214

Workflow file for this run

# Copyright 2025 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
name: "Close stale pull requests"
on:
schedule:
- cron: "0 3 * * *"
permissions:
contents: read
jobs:
stale:
permissions:
issues: write
pull-requests: write
runs-on: ubuntu-latest
steps:
- uses: actions/stale@v9
with:
stale-pr-message: 'This PR was marked stale due to lack of activity. It will be closed in 14 days.'
close-pr-message: 'Closed as inactive. Feel free to reopen if this PR is still being worked on.'
stale-issue-message: 'This issue was marked stale due to lack of activity. It will be closed in 14 days.'
close-issue-message: 'Closed as inactive. Feel free to reopen if this issue is still relevant.'
days-before-close: 14
exempt-pr-labels: 'no-stale'
exempt-issue-labels: 'no-stale'