tensorflow/.github/workflows/stale-issues.yml
dependabot[bot] 29070f51b6
Bump the github-actions group across 1 directory with 14 updates
Bumps the github-actions group with 14 updates in the / directory:

| Package | From | To |
| --- | --- | --- |
| [actions/checkout](https://github.com/actions/checkout) | `3.2.0` | `4.1.7` |
| [actions/github-script](https://github.com/actions/github-script) | `6.3.3` | `7.0.1` |
| [google/osv-scanner-action](https://github.com/google/osv-scanner-action) | `1.6.2.pre.beta1` | `1.7.4` |
| [actions/setup-python](https://github.com/actions/setup-python) | `4.3.1` | `5.1.0` |
| [peter-evans/create-pull-request](https://github.com/peter-evans/create-pull-request) | `4.2.3` | `6.1.0` |
| [ossf/scorecard-action](https://github.com/ossf/scorecard-action) | `2.3.1` | `2.3.3` |
| [actions/upload-artifact](https://github.com/actions/upload-artifact) | `3.pre.node20` | `4.3.3` |
| [github/codeql-action](https://github.com/github/codeql-action) | `3.24.9` | `3.25.10` |
| [docker/setup-buildx-action](https://github.com/docker/setup-buildx-action) | `2.2.1` | `3.3.0` |
| [docker/login-action](https://github.com/docker/login-action) | `2.1.0` | `3.2.0` |
| [docker/build-push-action](https://github.com/docker/build-push-action) | `3.2.0` | `6.2.0` |
| [mshick/add-pr-comment](https://github.com/mshick/add-pr-comment) | `a65df5f64fc741e91c59b8359a4bc56e57aaf5b1` | `dd126dd8c253650d181ad9538d8b4fa218fc31e8` |
| [actions/stale](https://github.com/actions/stale) | `7.0.0` | `9.0.0` |
| [zofrex/mirror-branch](https://github.com/zofrex/mirror-branch) | `1.0.3` | `1.0.4` |



Updates `actions/checkout` from 3.2.0 to 4.1.7
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v3.2.0...692973e3d937129bcbf40652eb9f2f61becf3332)

Updates `actions/github-script` from 6.3.3 to 7.0.1
- [Release notes](https://github.com/actions/github-script/releases)
- [Commits](d556feaca3...60a0d83039)

Updates `google/osv-scanner-action` from 1.6.2.pre.beta1 to 1.7.4
- [Release notes](https://github.com/google/osv-scanner-action/releases)
- [Commits](https://github.com/google/osv-scanner-action/compare/v1.6.2-beta1...v1.7.4)

Updates `actions/setup-python` from 4.3.1 to 5.1.0
- [Release notes](https://github.com/actions/setup-python/releases)
- [Commits](2c3dd9e7e2...82c7e631bb)

Updates `peter-evans/create-pull-request` from 4.2.3 to 6.1.0
- [Release notes](https://github.com/peter-evans/create-pull-request/releases)
- [Commits](2b011faafd...c5a7806660)

Updates `ossf/scorecard-action` from 2.3.1 to 2.3.3
- [Release notes](https://github.com/ossf/scorecard-action/releases)
- [Changelog](https://github.com/ossf/scorecard-action/blob/main/RELEASE.md)
- [Commits](0864cf1902...dc50aa9510)

Updates `actions/upload-artifact` from 3.pre.node20 to 4.3.3
- [Release notes](https://github.com/actions/upload-artifact/releases)
- [Commits](97a0fba137...65462800fd)

Updates `github/codeql-action` from 3.24.9 to 3.25.10
- [Release notes](https://github.com/github/codeql-action/releases)
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md)
- [Commits](1b1aada464...23acc5c183)

Updates `docker/setup-buildx-action` from 2.2.1 to 3.3.0
- [Release notes](https://github.com/docker/setup-buildx-action/releases)
- [Commits](8c0edbc76e...d70bba72b1)

Updates `docker/login-action` from 2.1.0 to 3.2.0
- [Release notes](https://github.com/docker/login-action/releases)
- [Commits](f4ef78c080...0d4c9c5ea7)

Updates `docker/build-push-action` from 3.2.0 to 6.2.0
- [Release notes](https://github.com/docker/build-push-action/releases)
- [Commits](c56af95754...15560696de)

Updates `mshick/add-pr-comment` from a65df5f64fc741e91c59b8359a4bc56e57aaf5b1 to dd126dd8c253650d181ad9538d8b4fa218fc31e8
- [Release notes](https://github.com/mshick/add-pr-comment/releases)
- [Commits](a65df5f64f...dd126dd8c2)

Updates `actions/stale` from 7.0.0 to 9.0.0
- [Release notes](https://github.com/actions/stale/releases)
- [Changelog](https://github.com/actions/stale/blob/main/CHANGELOG.md)
- [Commits](6f05e4244c...28ca103628)

Updates `zofrex/mirror-branch` from 1.0.3 to 1.0.4
- [Release notes](https://github.com/zofrex/mirror-branch/releases)
- [Commits](a8809f0b42...0be56f4c80)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-type: direct:production
  update-type: version-update:semver-major
  dependency-group: github-actions
- dependency-name: actions/github-script
  dependency-type: direct:production
  update-type: version-update:semver-major
  dependency-group: github-actions
- dependency-name: google/osv-scanner-action
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: github-actions
- dependency-name: actions/setup-python
  dependency-type: direct:production
  update-type: version-update:semver-major
  dependency-group: github-actions
- dependency-name: peter-evans/create-pull-request
  dependency-type: direct:production
  update-type: version-update:semver-major
  dependency-group: github-actions
- dependency-name: ossf/scorecard-action
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: github-actions
- dependency-name: actions/upload-artifact
  dependency-type: direct:production
  dependency-group: github-actions
- dependency-name: github/codeql-action
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: github-actions
- dependency-name: docker/setup-buildx-action
  dependency-type: direct:production
  update-type: version-update:semver-major
  dependency-group: github-actions
- dependency-name: docker/login-action
  dependency-type: direct:production
  update-type: version-update:semver-major
  dependency-group: github-actions
- dependency-name: docker/build-push-action
  dependency-type: direct:production
  update-type: version-update:semver-major
  dependency-group: github-actions
- dependency-name: mshick/add-pr-comment
  dependency-type: direct:production
  dependency-group: github-actions
- dependency-name: actions/stale
  dependency-type: direct:production
  update-type: version-update:semver-major
  dependency-group: github-actions
- dependency-name: zofrex/mirror-branch
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: github-actions
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-06-26 15:41:19 +00:00

84 lines
4.1 KiB
YAML

# Copyright 2023 The TensorFlow Authors. All Rights Reserved.
#
# 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 inactive issues
on:
schedule:
- cron: "30 1 * * *"
permissions:
contents: read
jobs:
close-issues:
# Don't do this in forks
if: github.repository == 'tensorflow/tensorflow'
runs-on: ubuntu-latest
permissions:
issues: write
pull-requests: write
steps:
- name: Awaiting response issues
uses: actions/stale@28ca1036281a5e5922ead5184a1bbf96e5fc984e # v9.0.0
with:
#Comma separated list of labels that can be assigned to issues to exclude them from being marked as stale
exempt-issue-labels: 'override-stale'
#Comma separated list of labels that can be assigned to PRs to exclude them from being marked as stale
exempt-pr-labels: "override-stale"
#Limit the No. of API calls in one run default value is 30.
operations-per-run: 1000
days-before-issue-stale: 7
days-before-issue-close: 7
stale-issue-label: "stale"
# reason for closed the issue default value is not_planned
close-issue-reason: completed
# List of labels to remove when issues/PRs unstale.
labels-to-remove-when-unstale: 'stat:awaiting response'
only-labels: "stat:awaiting response"
stale-issue-message: >
This issue is stale because it has been open for 7 days with no activity.
It will be closed if no further activity occurs. Thank you.
close-issue-message: >
This issue was closed because it has been inactive for 7 days since being marked as stale.
Please reopen if you'd like to work on this further.
days-before-pr-stale: 14
days-before-pr-close: 14
stale-pr-message: "This PR is stale because it has been open for 14 days with no activity. It will be closed if no further activity occurs. Thank you."
close-pr-message: "This PR was closed because it has been inactive for 14 days since being marked as stale. Please reopen if you'd like to work on this further."
repo-token: ${{ secrets.GITHUB_TOKEN }}
- name: Contribution issues
uses: actions/stale@28ca1036281a5e5922ead5184a1bbf96e5fc984e # v9.0.0
with:
#Comma separated list of labels that can be assigned to issues to exclude them from being marked as stale
exempt-issue-labels: 'override-stale'
#Comma separated list of labels that can be assigned to PRs to exclude them from being marked as stale
exempt-pr-labels: "override-stale"
#Limit the No. of API calls in one run default value is 30.
operations-per-run: 1000
days-before-issue-stale: 180
days-before-issue-close: 365
stale-issue-label: "stale"
# reason for closed the issue default value is not_planned
close-issue-reason: completed
# List of labels to remove when issues/PRs unstale.
labels-to-remove-when-unstale: "stat:contribution welcome,stat:good first issue"
any-of-labels: "stat:contribution welcome,stat:good first issue"
stale-issue-message: >
This issue is stale because it has been open for 180 days with no activity.
It will be closed if no further activity occurs. Thank you.
close-issue-message: >
This issue was closed because it has been inactive for 1 year.
repo-token: ${{ secrets.GITHUB_TOKEN }}