-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
🔄 Synced file(s) with realm/ci-actions (#7876)
* 🔄 Synced local '.github/workflows/issue-labeler.yml' with remote 'synced-files/.github/workflows/issue-labeler.yml' * 🔄 Created local '.github/workflows/check-pr-title.yml' from remote 'synced-files/.github/workflows/check-pr-title.yml' --------- Co-authored-by: realm-ci <robot@realm.io>
- Loading branch information
1 parent
02bddd5
commit d095601
Showing
2 changed files
with
23 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
# NOTE: This is a common file that is overwritten by realm/ci-actions sync service | ||
# and should only be modified in that repository. | ||
|
||
name: "Check PR Title" | ||
on: | ||
pull_request: | ||
types: [opened, synchronize, reopened, ready_for_review, labeled, unlabeled, converted_to_draft, edited] | ||
|
||
jobs: | ||
check-pr-title: | ||
name: Check PR Title | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v4 | ||
with: | ||
submodules: false | ||
- name: Enforce PR title | ||
uses: realm/ci-actions/title-checker@main | ||
with: | ||
regex: R[A-Z]{2,6}-[0-9]{1,6} | ||
error-hint: Invalid PR title. Make sure it's prefixed with the JIRA ticket the PR addresses or add the no-jira-ticket label. | ||
ignore-labels: 'no-jira-ticket' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters