Skip to content
This repository was archived by the owner on Sep 11, 2024. It is now read-only.

Commit 9111508

Browse files
authored
Add CI to improve experience for community (#8779)
* Add CI to improve experience for community * Fix close-if-fork-develop if-condition * Extract into reusable workflow
1 parent c016815 commit 9111508

File tree

1 file changed

+4
-20
lines changed

1 file changed

+4
-20
lines changed

.github/workflows/pull_request.yaml

Lines changed: 4 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -4,23 +4,7 @@ on:
44
types: [ opened, edited, labeled, unlabeled, synchronize ]
55
concurrency: ${{ github.workflow }}-${{ github.event.pull_request.head.ref }}
66
jobs:
7-
changelog:
8-
name: Preview Changelog
9-
if: github.event.action != 'synchronize'
10-
runs-on: ubuntu-latest
11-
steps:
12-
- uses: matrix-org/allchange@main
13-
with:
14-
ghToken: ${{ secrets.GITHUB_TOKEN }}
15-
16-
enforce-label:
17-
name: Enforce Labels
18-
runs-on: ubuntu-latest
19-
permissions:
20-
pull-requests: read
21-
steps:
22-
- uses: yogevbd/[email protected]
23-
with:
24-
REQUIRED_LABELS_ANY: "T-Defect,T-Enhancement,T-Task"
25-
BANNED_LABELS: "X-Blocked"
26-
BANNED_LABELS_DESCRIPTION: "Preventing merge whilst PR is marked blocked!"
7+
action:
8+
uses: matrix-org/matrix-js-sdk/.github/workflows/pull_request.yaml@develop
9+
with:
10+
labels: "T-Defect,T-Enhancement,T-Task"

0 commit comments

Comments
 (0)