mirror of
https://github.com/jellyfin/jellyfin-vue.git
synced 2024-11-27 00:00:23 +00:00
ci: add pull request title linting
Some checks failed
Push & Release 🌍 / Automation 🎛️ (push) Failing after 33s
Push & Release 🌍 / ${{ github.event_name == 'push' && 'Unstable 🚀⚠️' || 'Stable 🏷️✅' }} (push) Failing after 33s
Push & Release 🌍 / Deploy 🚀 (push) Has been skipped
Push & Release 🌍 / GitHub CodeQL 🔬 (push) Failing after 33s
Some checks failed
Push & Release 🌍 / Automation 🎛️ (push) Failing after 33s
Push & Release 🌍 / ${{ github.event_name == 'push' && 'Unstable 🚀⚠️' || 'Stable 🏷️✅' }} (push) Failing after 33s
Push & Release 🌍 / Deploy 🚀 (push) Has been skipped
Push & Release 🌍 / GitHub CodeQL 🔬 (push) Failing after 33s
This commit is contained in:
parent
ccb0754ae0
commit
02c624a617
25
.github/workflows/pull_request.yml
vendored
25
.github/workflows/pull_request.yml
vendored
@ -6,10 +6,11 @@ concurrency:
|
||||
|
||||
on:
|
||||
pull_request_target:
|
||||
paths-ignore:
|
||||
- '**/*.md'
|
||||
merge_group:
|
||||
|
||||
permissions:
|
||||
pull-requests: read
|
||||
|
||||
jobs:
|
||||
push-comment:
|
||||
name: Create comments ✍️
|
||||
@ -23,13 +24,29 @@ jobs:
|
||||
|
||||
automation:
|
||||
name: Automation 🎛️
|
||||
if: ${{ github.repository == 'jellyfin/jellyfin-vue' }}
|
||||
if: ${{ always() && !cancelled() && github.repository == 'jellyfin/jellyfin-vue' }}
|
||||
uses: ./.github/workflows/__automation.yml
|
||||
secrets: inherit
|
||||
|
||||
semantic-commits:
|
||||
if: ${{ always() && !cancelled() && github.repository == 'jellyfin/jellyfin-vue' }}
|
||||
runs-on: ubuntu-latest
|
||||
name: Semantic Pull Request 📚
|
||||
steps:
|
||||
- name: Validate PR title 👌
|
||||
uses: amannn/action-semantic-pull-request@v5.5.3
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.JF_BOT_TOKEN }}
|
||||
with:
|
||||
subjectPattern: ^(?![A-Z]).+$
|
||||
subjectPatternError: |
|
||||
The subject "{subject}" found in the pull request title "{title}"
|
||||
didn't match the configured pattern. Please ensure that the subject
|
||||
doesn't start with an uppercase character.
|
||||
|
||||
label:
|
||||
name: Labeling 🏷️
|
||||
if: ${{ always() && github.repository == 'jellyfin/jellyfin-vue'}}
|
||||
if: ${{ always() && !cancelled() && github.repository == 'jellyfin/jellyfin-vue'}}
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
|
Loading…
Reference in New Issue
Block a user