mirror of
https://github.com/timescale/timescaledb.git
synced 2025-05-17 02:53:51 +08:00
Fix Hypercore PR approval
Team agreed that changes to Hypercore table access method files only require a single approver for the time being. This might be revised in the future.
This commit is contained in:
parent
14c2c1d6e8
commit
67bcd2ea87
5
.github/workflows/pr-approvals.yaml
vendored
5
.github/workflows/pr-approvals.yaml
vendored
@ -35,7 +35,10 @@ jobs:
|
||||
# Get the list of modified files in this pull request
|
||||
echo "Modified files: "
|
||||
gh pr view $PR_NUMBER --json files
|
||||
files=$(gh pr view $PR_NUMBER --json files --jq '.files.[].path | select(startswith(".github") | not)')
|
||||
# Get modified files, but exclude those that are workflow
|
||||
# files or are related to Hypercore table access
|
||||
# method. These require only a single reviewer.
|
||||
files=$(gh pr view $PR_NUMBER --json files --jq '.files.[].path | select(startswith(".github") or test("hypercore|columnar_scan") | not)')
|
||||
|
||||
# Get the number of approvals in this pull request
|
||||
echo "Reviews: "
|
||||
|
Loading…
x
Reference in New Issue
Block a user