mirror of
https://github.com/nestriness/nestri.git
synced 2025-12-11 00:05:36 +02:00
Bumps [amannn/action-semantic-pull-request](https://github.com/amannn/action-semantic-pull-request) from 5.4.0 to 5.5.2. <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>v5.5.2</h2> <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>v5.5.1</h2> <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> <h3>Bug Fixes</h3> <ul> <li>Bump ip from 2.0.0 to 2.0.1 (<a href="https://redirect.github.com/amannn/action-semantic-pull-request/issues/263">#263</a> by <a href="https://github.com/EelcoLos"><code>@EelcoLos</code></a>) (<a href="5e7e9acca3">5e7e9ac</a>)</li> </ul> <h2>v5.5.0</h2> <h2><a href="https://github.com/amannn/action-semantic-pull-request/compare/v5.4.0...v5.5.0">5.5.0</a> (2024-04-23)</h2> <h3>Features</h3> <ul> <li>Add outputs for <code>type</code>, <code>scope</code> and <code>subject</code> (<a href="https://redirect.github.com/amannn/action-semantic-pull-request/issues/261">#261</a> by <a href="https://github.com/bcaurel"><code>@bcaurel</code></a>) (<a href="b05f5f6423">b05f5f6</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/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> <h3>Bug Fixes</h3> <ul> <li>Bump ip from 2.0.0 to 2.0.1 (<a href="https://redirect.github.com/amannn/action-semantic-pull-request/issues/263">#263</a> by <a href="https://github.com/EelcoLos"><code>@EelcoLos</code></a>) (<a href="5e7e9acca3">5e7e9ac</a>)</li> </ul> <h2><a href="https://github.com/amannn/action-semantic-pull-request/compare/v5.4.0...v5.5.0">5.5.0</a> (2024-04-23)</h2> <h3>Features</h3> <ul> <li>Add outputs for <code>type</code>, <code>scope</code> and <code>subject</code> (<a href="https://redirect.github.com/amannn/action-semantic-pull-request/issues/261">#261</a> by <a href="https://github.com/bcaurel"><code>@bcaurel</code></a>) (<a href="b05f5f6423">b05f5f6</a>)</li> </ul> <h2><a href="https://github.com/amannn/action-semantic-pull-request/compare/v5.3.0...v5.4.0">5.4.0</a> (2023-11-03)</h2> <h3>Features</h3> <ul> <li>Use <code>github.api_url</code> as default for <code>githubBaseUrl</code> (<a href="https://redirect.github.com/amannn/action-semantic-pull-request/issues/243">#243</a> by <a href="https://github.com/fty4"><code>@fty4</code></a>) (<a href="4d5734a0a2">4d5734a</a>)</li> </ul> <h2><a href="https://github.com/amannn/action-semantic-pull-request/compare/v5.2.0...v5.3.0">5.3.0</a> (2023-09-25)</h2> <h3>Features</h3> <ul> <li>Use Node.js 20 in action (<a href="https://redirect.github.com/amannn/action-semantic-pull-request/issues/240">#240</a>) (<a href="4c0d5a21fc">4c0d5a2</a>)</li> </ul> <h2><a href="https://github.com/amannn/action-semantic-pull-request/compare/v5.1.0...v5.2.0">5.2.0</a> (2023-03-16)</h2> <h3>Features</h3> <ul> <li>Update dependencies by <a href="https://github.com/EelcoLos"><code>@EelcoLos</code></a> (<a href="https://redirect.github.com/amannn/action-semantic-pull-request/issues/229">#229</a>) (<a href="e797448a07">e797448</a>)</li> </ul> <h2><a href="https://github.com/amannn/action-semantic-pull-request/compare/v5.0.2...v5.1.0">5.1.0</a> (2023-02-10)</h2> <h3>Features</h3> <ul> <li>Add regex support to <code>scope</code> and <code>disallowScopes</code> configuration (<a href="https://redirect.github.com/amannn/action-semantic-pull-request/issues/226">#226</a>) (<a href="403a6f8924">403a6f8</a>)</li> </ul> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href="cfb60706e1"><code>cfb6070</code></a> chore: Release 5.5.2 [skip ci]</li> <li><a href="9a90d5a5ac"><code>9a90d5a</code></a> fix: 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>)</li> <li><a href="9ebc021bcf"><code>9ebc021</code></a> chore: Release 5.5.1 [skip ci]</li> <li><a href="5e7e9acca3"><code>5e7e9ac</code></a> fix: Bump ip from 2.0.0 to 2.0.1 (<a href="https://redirect.github.com/amannn/action-semantic-pull-request/issues/263">#263</a> by <a href="https://github.com/EelcoLos"><code>@EelcoLos</code></a>)</li> <li><a href="c24d6dd07c"><code>c24d6dd</code></a> chore: Release 5.5.0 [skip ci]</li> <li><a href="b05f5f6423"><code>b05f5f6</code></a> feat: Add outputs for <code>type</code>, <code>scope</code> and <code>subject</code> (<a href="https://redirect.github.com/amannn/action-semantic-pull-request/issues/261">#261</a> by <a href="https://github.com/bcaurel"><code>@bcaurel</code></a>)</li> <li><a href="67cbd7a15a"><code>67cbd7a</code></a> chore: Bump <code>word-wrap</code> dependency from 1.2.3 to 1.2.4 (<a href="https://redirect.github.com/amannn/action-semantic-pull-request/issues/246">#246</a> by <a href="https://github.com/EelcoLos"><code>@EelcoLos</code></a>)</li> <li><a href="95af3b9b31"><code>95af3b9</code></a> chore(deps): Bump <code>@babel/traverse</code> from 7.17.0 to 7.23.2 (<a href="https://redirect.github.com/amannn/action-semantic-pull-request/issues/245">#245</a> by <a href="https://github.com/EelcoLos"><code>@EelcoLos</code></a>)</li> <li>See full diff in <a href="e9fabac35e...cfb60706e1">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>
93 lines
3.1 KiB
YAML
93 lines
3.1 KiB
YAML
name: Pull request auto-labeller
|
|
|
|
on:
|
|
pull_request:
|
|
types:
|
|
- labeled
|
|
- opened
|
|
- synchronize
|
|
- reopened
|
|
- ready_for_review
|
|
- edited
|
|
|
|
concurrency:
|
|
group: ${{ github.workflow }}-${{ github.ref == 'refs/heads/main' && github.run_id || github.event.pull_request.number || github.ref }}
|
|
cancel-in-progress: true
|
|
|
|
jobs:
|
|
validate:
|
|
name: Validate PR title
|
|
runs-on: ubuntu-latest
|
|
permissions:
|
|
pull-requests: write
|
|
steps:
|
|
- uses: amannn/action-semantic-pull-request@cfb60706e18bc85e8aec535e3c577abe8f70378e
|
|
id: lint_pr_title
|
|
env:
|
|
GITHUB_TOKEN: ${{ secrets.GIT_MASTER_TOKEN }}
|
|
with:
|
|
types: |-
|
|
build
|
|
chore
|
|
ci
|
|
deprecate
|
|
docs
|
|
feat
|
|
fix
|
|
perf
|
|
refactor
|
|
remove
|
|
revert
|
|
security
|
|
style
|
|
test
|
|
requireScope: false
|
|
# Ensures the subject start with an uppercase character.
|
|
subjectPattern: ^([A-Z]).+$
|
|
headerPattern: '^\s*.*?\s(\w*)(?:\(([\w$.\-*/ ]*)\))?: (.*)$'
|
|
headerPatternCorrespondence: type, scope, subject
|
|
subjectPatternError: |
|
|
The subject "{subject}" found in the pull request title "{title}"
|
|
didn't match the configured pattern. Please ensure that the subject
|
|
starts with an uppercase character
|
|
|
|
- uses: marocchino/sticky-pull-request-comment@331f8f5b4215f0445d3c07b4967662a32a2d3e31
|
|
# When the previous steps fails, the workflow would stop. By adding this
|
|
# condition you can continue the execution with the populated error message.
|
|
if: always() && (steps.lint_pr_title.outputs.error_message != null)
|
|
with:
|
|
header: pr-title-lint-error
|
|
message: |
|
|
Hey there and 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.
|
|
Additionally, the subject of the title must start with an uppercase character (e.g. feat: New `search` component).
|
|
|
|
```
|
|
${{ steps.lint_pr_title.outputs.error_message }}
|
|
```
|
|
# Delete a previous comment when the issue has been resolved
|
|
- if: ${{ steps.lint_pr_title.outputs.error_message == null }}
|
|
uses: marocchino/sticky-pull-request-comment@331f8f5b4215f0445d3c07b4967662a32a2d3e31
|
|
with:
|
|
header: pr-title-lint-error
|
|
delete: true
|
|
|
|
label:
|
|
needs: [ validate ]
|
|
runs-on: ubuntu-latest
|
|
name: Add labels
|
|
permissions:
|
|
contents: read
|
|
pull-requests: write
|
|
steps:
|
|
- name: Checkout your code
|
|
uses: actions/checkout@v4
|
|
|
|
- uses: srvaroa/labeler@v1
|
|
with:
|
|
config_path: .github/labeler.yml
|
|
use_local_config: true #FIXME:
|
|
fail_on_error: true
|
|
env:
|
|
GITHUB_TOKEN: "${{ secrets.GIT_MASTER_TOKEN }}" |