mirror of
https://github.com/ratatui/ratatui.git
synced 2025-09-28 05:21:23 +00:00
![dependabot[bot]](/assets/img/avatar_default.png)
Bumps [amannn/action-semantic-pull-request](https://github.com/amannn/action-semantic-pull-request) from 5.5.3 to 6.1.1. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/amannn/action-semantic-pull-request/releases">amannn/action-semantic-pull-request's releases</a>.</em></p> <blockquote> <h2>v6.1.1</h2> <h2><a href="https://github.com/amannn/action-semantic-pull-request/compare/v6.1.0...v6.1.1">6.1.1</a> (2025-08-22)</h2> <h3>Bug Fixes</h3> <ul> <li>Parse <code>headerPatternCorrespondence</code> properly (<a href="https://redirect.github.com/amannn/action-semantic-pull-request/issues/295">#295</a>) (<a href="800da4c97f
">800da4c</a>)</li> </ul> <h2>v6.1.0</h2> <h2><a href="https://github.com/amannn/action-semantic-pull-request/compare/v6.0.1...v6.1.0">6.1.0</a> (2025-08-19)</h2> <h3>Features</h3> <ul> <li>Support providing regexps for types (<a href="https://redirect.github.com/amannn/action-semantic-pull-request/issues/292">#292</a>) (<a href="a30288bf13
">a30288b</a>)</li> </ul> <h3>Bug Fixes</h3> <ul> <li>Remove trailing whitespace from "unknown release type" error message (<a href="https://redirect.github.com/amannn/action-semantic-pull-request/issues/291">#291</a>) (<a href="afa4edb1c4
">afa4edb</a>)</li> </ul> <h2>v6.0.1</h2> <h2><a href="https://github.com/amannn/action-semantic-pull-request/compare/v6.0.0...v6.0.1">6.0.1</a> (2025-08-13)</h2> <h3>Bug Fixes</h3> <ul> <li>Actually execute action (<a href="https://redirect.github.com/amannn/action-semantic-pull-request/issues/289">#289</a>) (<a href="58e4ab40f5
">58e4ab4</a>)</li> </ul> <h2>v6.0.0</h2> <h2><a href="https://github.com/amannn/action-semantic-pull-request/compare/v5.5.3...v6.0.0">6.0.0</a> (2025-08-13)</h2> <h3>⚠ BREAKING CHANGES</h3> <ul> <li>Upgrade action to use Node.js 24 and ESM (<a href="https://redirect.github.com/amannn/action-semantic-pull-request/issues/287">#287</a>)</li> </ul> <h3>Features</h3> <ul> <li>Upgrade action to use Node.js 24 and ESM (<a href="https://redirect.github.com/amannn/action-semantic-pull-request/issues/287">#287</a>) (<a href="bc0c9a79ab
">bc0c9a7</a>)</li> </ul> </blockquote> </details> <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/amannn/action-semantic-pull-request/blob/main/CHANGELOG.md">amannn/action-semantic-pull-request's changelog</a>.</em></p> <blockquote> <h1>Changelog</h1> <h2><a href="https://github.com/amannn/action-semantic-pull-request/compare/v6.1.0...v6.1.1">6.1.1</a> (2025-08-22)</h2> <h3>Bug Fixes</h3> <ul> <li>Parse <code>headerPatternCorrespondence</code> properly (<a href="https://redirect.github.com/amannn/action-semantic-pull-request/issues/295">#295</a>) (<a href="800da4c97f
">800da4c</a>)</li> </ul> <h2><a href="https://github.com/amannn/action-semantic-pull-request/compare/v6.0.1...v6.1.0">6.1.0</a> (2025-08-19)</h2> <h3>Features</h3> <ul> <li>Support providing regexps for types (<a href="https://redirect.github.com/amannn/action-semantic-pull-request/issues/292">#292</a>) (<a href="a30288bf13
">a30288b</a>)</li> </ul> <h3>Bug Fixes</h3> <ul> <li>Remove trailing whitespace from "unknown release type" error message (<a href="https://redirect.github.com/amannn/action-semantic-pull-request/issues/291">#291</a>) (<a href="afa4edb1c4
">afa4edb</a>)</li> </ul> <h2><a href="https://github.com/amannn/action-semantic-pull-request/compare/v6.0.0...v6.0.1">6.0.1</a> (2025-08-13)</h2> <h3>Bug Fixes</h3> <ul> <li>Actually execute action (<a href="https://redirect.github.com/amannn/action-semantic-pull-request/issues/289">#289</a>) (<a href="58e4ab40f5
">58e4ab4</a>)</li> </ul> <h2><a href="https://github.com/amannn/action-semantic-pull-request/compare/v5.5.3...v6.0.0">6.0.0</a> (2025-08-13)</h2> <h3>⚠ BREAKING CHANGES</h3> <ul> <li>Upgrade action to use Node.js 24 and ESM (<a href="https://redirect.github.com/amannn/action-semantic-pull-request/issues/287">#287</a>)</li> </ul> <h3>Features</h3> <ul> <li>Upgrade action to use Node.js 24 and ESM (<a href="https://redirect.github.com/amannn/action-semantic-pull-request/issues/287">#287</a>) (<a href="bc0c9a79ab
">bc0c9a7</a>)</li> </ul> <h2><a href="https://github.com/amannn/action-semantic-pull-request/compare/v5.5.2...v5.5.3">5.5.3</a> (2024-06-28)</h2> <h3>Bug Fixes</h3> <ul> <li>Bump <code>braces</code> dependency (<a href="https://redirect.github.com/amannn/action-semantic-pull-request/issues/269">#269</a>. by <a href="https://github.com/EelcoLos"><code>@EelcoLos</code></a>) (<a href="2d952a1bf9
">2d952a1</a>)</li> </ul> <h2><a href="https://github.com/amannn/action-semantic-pull-request/compare/v5.5.1...v5.5.2">5.5.2</a> (2024-04-24)</h2> <h3>Bug Fixes</h3> <ul> <li>Bump tar from 6.1.11 to 6.2.1 (<a href="https://redirect.github.com/amannn/action-semantic-pull-request/issues/262">#262</a> by <a href="https://github.com/EelcoLos"><code>@EelcoLos</code></a>) (<a href="9a90d5a5ac
">9a90d5a</a>)</li> </ul> <h2><a href="https://github.com/amannn/action-semantic-pull-request/compare/v5.5.0...v5.5.1">5.5.1</a> (2024-04-24)</h2> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href="48f256284b
"><code>48f2562</code></a> chore: Release 6.1.1 [skip ci]</li> <li><a href="800da4c97f
"><code>800da4c</code></a> fix: Parse <code>headerPatternCorrespondence</code> properly (<a href="https://redirect.github.com/amannn/action-semantic-pull-request/issues/295">#295</a>)</li> <li><a href="677b89571e
"><code>677b895</code></a> test: Fix broken test</li> <li><a href="24e6f016c1
"><code>24e6f01</code></a> ci: Fix permissions for tagger</li> <li><a href="7f33ba7922
"><code>7f33ba7</code></a> chore: Release 6.1.0 [skip ci]</li> <li><a href="afa4edb1c4
"><code>afa4edb</code></a> fix: Remove trailing whitespace from "unknown release type" error message (<a href="https://redirect.github.com/amannn/action-semantic-pull-request/issues/291">#291</a>)</li> <li><a href="a30288bf13
"><code>a30288b</code></a> feat: Support providing regexps for types (<a href="https://redirect.github.com/amannn/action-semantic-pull-request/issues/292">#292</a>)</li> <li><a href="a46a7c8dc4
"><code>a46a7c8</code></a> build: Move Vitest to <code>devDependencies</code> (<a href="https://redirect.github.com/amannn/action-semantic-pull-request/issues/290">#290</a>)</li> <li><a href="fdd4d3ddf6
"><code>fdd4d3d</code></a> chore: Release 6.0.1 [skip ci]</li> <li><a href="58e4ab40f5
"><code>58e4ab4</code></a> fix: Actually execute action (<a href="https://redirect.github.com/amannn/action-semantic-pull-request/issues/289">#289</a>)</li> <li>Additional commits viewable in <a href="0723387faa...48f256284b
">compare view</a></li> </ul> </details> <br /> [](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) --- <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 show <dependency name> ignore conditions` will show all of the ignore conditions of the specified dependency - `@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> Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
94 lines
3.4 KiB
YAML
94 lines
3.4 KiB
YAML
name: Check Pull Requests
|
|
|
|
# Set the permissions of the github token to the minimum and only enable what is needed
|
|
# See https://docs.github.com/en/actions/security-guides/automatic-token-authentication#permissions
|
|
permissions: {}
|
|
|
|
on:
|
|
# this workflow is required to be run on pull_request_target as it modifies the PR comments
|
|
# care should be taken that the jobs do not run any untrusted input
|
|
# zizmor: ignore[dangerous-triggers]
|
|
pull_request_target:
|
|
types:
|
|
- opened
|
|
- edited
|
|
- synchronize
|
|
- labeled
|
|
- unlabeled
|
|
|
|
jobs:
|
|
check-title:
|
|
permissions:
|
|
pull-requests: write
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Check PR title
|
|
if: github.event_name == 'pull_request_target'
|
|
uses: amannn/action-semantic-pull-request@48f256284bd46cdaab1048c3721360e808335d50 # v5
|
|
id: check_pr_title
|
|
env:
|
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
|
# Add comment indicating we require pull request titles to follow conventional commits specification
|
|
- uses: marocchino/sticky-pull-request-comment@773744901bac0e8cbb5a0dc842800d45e9b2b405 # v2
|
|
if: always() && (steps.check_pr_title.outputs.error_message != null)
|
|
with:
|
|
header: pr-title-lint-error
|
|
message: |
|
|
Thank you for opening this pull request!
|
|
|
|
We require pull request titles to follow the [Conventional Commits specification](https://www.conventionalcommits.org/en/v1.0.0/) and it looks like your proposed title needs to be adjusted.
|
|
|
|
Details:
|
|
|
|
> ${{ steps.check_pr_title.outputs.error_message }}
|
|
|
|
# Delete a previous comment when the issue has been resolved
|
|
- if: ${{ steps.check_pr_title.outputs.error_message == null }}
|
|
uses: marocchino/sticky-pull-request-comment@773744901bac0e8cbb5a0dc842800d45e9b2b405 # v2
|
|
with:
|
|
header: pr-title-lint-error
|
|
delete: true
|
|
|
|
check-breaking-change-label:
|
|
permissions:
|
|
pull-requests: write
|
|
runs-on: ubuntu-latest
|
|
env:
|
|
# use an environment variable to pass untrusted input to the script
|
|
# see https://securitylab.github.com/research/github-actions-untrusted-input/
|
|
PR_TITLE: ${{ github.event.pull_request.title }}
|
|
steps:
|
|
- name: Check breaking change label
|
|
id: check_breaking_change
|
|
run: |
|
|
pattern='^(build|chore|ci|docs|feat|fix|perf|refactor|revert|style|test)(\(\w+\))?!:'
|
|
# Check if pattern matches
|
|
if echo "${PR_TITLE}" | grep -qE "$pattern"; then
|
|
echo "breaking_change=true" >> $GITHUB_OUTPUT
|
|
else
|
|
echo "breaking_change=false" >> $GITHUB_OUTPUT
|
|
fi
|
|
- name: Add label
|
|
if: steps.check_breaking_change.outputs.breaking_change == 'true'
|
|
uses: actions/github-script@v8
|
|
with:
|
|
github-token: ${{ secrets.GITHUB_TOKEN }}
|
|
script: |
|
|
github.rest.issues.addLabels({
|
|
issue_number: context.issue.number,
|
|
owner: context.repo.owner,
|
|
repo: context.repo.repo,
|
|
labels: ['Type: Breaking Change']
|
|
})
|
|
|
|
do-not-merge:
|
|
if: ${{ contains(github.event.*.labels.*.name, 'do not merge') }}
|
|
name: Prevent Merging
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Check for label
|
|
run: |
|
|
echo "Pull request is labeled as 'do not merge'"
|
|
echo "This workflow fails so that the pull request cannot be merged"
|
|
exit 1
|