mirror of
https://github.com/opencloud-eu/opencloud.git
synced 2025-12-28 16:48:30 -05:00
* Fix broken links in opencloud_full README.md Fixes opencloud-eu/opencloud#621 * Update GitHub workflow to skip label check for PRs from forks
31 lines
792 B
YAML
31 lines
792 B
YAML
name: Require Pull Request Labels
|
|
on:
|
|
pull_request:
|
|
types: [opened, labeled, unlabeled, synchronize]
|
|
jobs:
|
|
label:
|
|
# Only run if PR is not from a fork
|
|
if: github.event.pull_request.head.repo.full_name == github.repository
|
|
runs-on: ubuntu-latest
|
|
permissions:
|
|
issues: write
|
|
pull-requests: write
|
|
steps:
|
|
- uses: mheap/github-action-required-labels@v5
|
|
with:
|
|
mode: minimum
|
|
count: 1
|
|
labels: |
|
|
Type:Bug
|
|
Type:Enhancement
|
|
Type:Feature
|
|
Type:Breaking-Change
|
|
Type:Test
|
|
Type:Documentation
|
|
Type:Maintenance
|
|
Type:Security
|
|
Type:Dependencies
|
|
Type:DevOps
|
|
dependencies
|
|
add_comment: true
|