flutter/.github/workflows/lock.yaml

32 lines
1 KiB
YAML
Raw Normal View History

# Configuration for Lock Threads - https://github.com/dessant/lock-threads
name: 'Lock Threads'
# By specifying the access of one of the scopes, all of those that are not
# specified are set to 'none'.
permissions:
issues: write
on:
schedule:
- cron: '0 * * * *'
jobs:
lock:
permissions:
issues: write
runs-on: ubuntu-latest
if: ${{ github.repository == 'flutter/flutter' }}
steps:
Bump dessant/lock-threads from 4.0.0 to 4.0.1 (#128741) Bumps [dessant/lock-threads](https://github.com/dessant/lock-threads) from 4.0.0 to 4.0.1. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/dessant/lock-threads/releases">dessant/lock-threads's releases</a>.</em></p> <blockquote> <h2>v4.0.1</h2> <p>Learn more about this release from the <a href="https://github.com/dessant/lock-threads/blob/main/CHANGELOG.md#changelog">changelog</a>.</p> </blockquote> </details> <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/dessant/lock-threads/blob/main/CHANGELOG.md">dessant/lock-threads's changelog</a>.</em></p> <blockquote> <h1>Changelog</h1> <p>All notable changes to this project will be documented in this file. See <a href="https://github.com/conventional-changelog/standard-version">standard-version</a> for commit guidelines.</p> <h3><a href="https://github.com/dessant/lock-threads/compare/v4.0.0...v4.0.1">4.0.1</a> (2023-06-12)</h3> <h3>Bug Fixes</h3> <ul> <li>retry and throttle GitHub API requests (<a href="https://github.com/dessant/lock-threads/commit/1618e91da69b9fe614fb9837ac673ea4600eb529">1618e91</a>), closes <a href="https://redirect.github.com/dessant/lock-threads/issues/35">#35</a></li> </ul> <h2><a href="https://github.com/dessant/lock-threads/compare/v3.0.0...v4.0.0">4.0.0</a> (2022-12-04)</h2> <h3>⚠ BREAKING CHANGES</h3> <ul> <li>the action now requires Node.js 16</li> </ul> <h3>Bug Fixes</h3> <ul> <li>update dependencies (<a href="https://github.com/dessant/lock-threads/commit/38e918558115222435d26c0639870cdbe3572929">38e9185</a>)</li> <li>update docs (<a href="https://github.com/dessant/lock-threads/commit/32986e26965060a85db09e98ef7e5958c961ae84">32986e2</a>)</li> </ul> <h2><a href="https://github.com/dessant/lock-threads/compare/v2.1.2...v3.0.0">3.0.0</a> (2021-09-27)</h2> <h3>⚠ BREAKING CHANGES</h3> <ul> <li> <p>input parameter names have changed</p> <p>Rename the following input parameters when upgrading from v2 to v3:</p> <ul> <li><code>issue-lock-inactive-days</code> --&gt; <code>issue-inactive-days</code></li> <li><code>issue-exclude-created-before</code> --&gt; <code>exclude-issue-created-before</code></li> <li><code>issue-exclude-labels</code> --&gt; <code>exclude-any-issue-labels</code></li> <li><code>issue-lock-labels</code> --&gt; <code>add-issue-labels</code></li> <li><code>issue-lock-comment</code> --&gt; <code>issue-comment</code></li> <li><code>pr-lock-inactive-days</code> --&gt; <code>pr-inactive-days</code></li> <li><code>pr-exclude-created-before</code> --&gt; <code>exclude-pr-created-before</code></li> <li><code>pr-exclude-labels</code> --&gt; <code>exclude-any-pr-labels</code></li> <li><code>pr-lock-labels</code> --&gt; <code>add-pr-labels</code></li> <li><code>pr-lock-comment</code> --&gt; <code>pr-comment</code></li> </ul> </li> </ul> <h3>Features</h3> <ul> <li>add new filtering and labeling options, update input parameter names (<a href="https://github.com/dessant/lock-threads/commit/26fd836f96f46625de24663c4dc2b84c8408fcb1">26fd836</a>)</li> <li>allow manual triggering (<a href="https://github.com/dessant/lock-threads/commit/a0c7da306555d946273957477018fe178130ccf9">a0c7da3</a>)</li> </ul> <h3><a href="https://github.com/dessant/lock-threads/compare/v2.1.1...v2.1.2">2.1.2</a> (2021-08-17)</h3> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/dessant/lock-threads/commit/be8aa5be94131386884a6da4189effda9b14aa21"><code>be8aa5b</code></a> chore(release): 4.0.1</li> <li><a href="https://github.com/dessant/lock-threads/commit/52f040d195be10034c64af39fd7b7c72d5c8e89f"><code>52f040d</code></a> chore: update package</li> <li><a href="https://github.com/dessant/lock-threads/commit/1618e91da69b9fe614fb9837ac673ea4600eb529"><code>1618e91</code></a> fix: retry and throttle GitHub API requests</li> <li><a href="https://github.com/dessant/lock-threads/commit/bec0993a564cf47baa81cfa9911f1352d450b578"><code>bec0993</code></a> chore: remove graduated preview header</li> <li><a href="https://github.com/dessant/lock-threads/commit/20ec7bbb282d7ffa5df51baf1da0a195db4ba86f"><code>20ec7bb</code></a> chore: update dependencies</li> <li><a href="https://github.com/dessant/lock-threads/commit/b1f967d833bc79b6c0eb34e72a811b07039418b1"><code>b1f967d</code></a> chore: rename default branch</li> <li>See full diff in <a href="https://github.com/dessant/lock-threads/compare/c1b35aecc5cdb1a34539d14196df55838bb2f836...be8aa5be94131386884a6da4189effda9b14aa21">compare view</a></li> </ul> </details> <br /> [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=dessant/lock-threads&package-manager=github_actions&previous-version=4.0.0&new-version=4.0.1)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) You can trigger a rebase of this PR by commenting `@dependabot rebase`. --- <details> <summary>Dependabot commands and options</summary> <br /> You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) </details> > **Note** > Automatic rebases have been disabled on this pull request as it has been open for over 30 days.
2023-08-02 07:29:08 +00:00
- uses: dessant/lock-threads@be8aa5be94131386884a6da4189effda9b14aa21
with:
2021-09-14 04:32:04 +00:00
process-only: 'issues'
github-token: ${{ github.token }}
# Number of days of inactivity before a closed issue is locked.
issue-inactive-days: '14'
issue-comment: >
This thread has been automatically locked since there has not been
any recent activity after it was closed. If you are still experiencing a
similar issue, please open a new bug, including the output of
`flutter doctor -v` and a minimal reproduction of the issue.