Skip to content

Commit b4b8eba

Browse files
committed
UI fixes on organisation pages
2 parents 36d12b6 + 0486d6d commit b4b8eba

File tree

55 files changed

+3266
-3031
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

55 files changed

+3266
-3031
lines changed
Lines changed: 65 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,65 @@
1+
name: Merge Conflict Check Workflow
2+
3+
on:
4+
pull_request:
5+
branches:
6+
- '**'
7+
types:
8+
- opened
9+
- reopened
10+
- synchronize
11+
- ready_for_review
12+
13+
jobs:
14+
Merge-Conflict-Check:
15+
name: Check for Merge Conflicts
16+
runs-on: ubuntu-latest
17+
steps:
18+
- name: Checkout Code
19+
uses: actions/checkout@v4
20+
21+
- name: Check Mergeable Status via Github API
22+
env:
23+
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
24+
run: |
25+
PR_NUMBER=${{ github.event.pull_request.number }}
26+
max_retries=3
27+
retry_delay=5
28+
29+
for ((i=1; i<=max_retries; i++)); do
30+
echo "Attempt $i of $max_retries"
31+
32+
if ! response=$(gh api "repos/${{ github.repository }}/pulls/$PR_NUMBER" --jq '.mergeable'); then
33+
if [[ $response == *"rate limit exceeded"* ]]; then
34+
echo "Rate limit exceeded. Waiting before retry..."
35+
sleep 60 # Wait longer for rate limit
36+
else
37+
echo "Failed to call GitHub API: $response"
38+
if [ $i -eq $max_retries ]; then
39+
echo "Maximum retries reached. Exiting."
40+
exit 1
41+
fi
42+
sleep $retry_delay
43+
fi
44+
continue
45+
fi
46+
47+
case "$response" in
48+
"true")
49+
echo "No conflicts detected."
50+
exit 0
51+
;;
52+
"false")
53+
echo "Merge conflicts detected."
54+
exit 1
55+
;;
56+
*)
57+
echo "Mergeable status unknown: $response"
58+
if [ $i -eq $max_retries ]; then
59+
echo "Maximum retries reached. Exiting."
60+
exit 1
61+
fi
62+
sleep $retry_delay
63+
;;
64+
esac
65+
done

.github/workflows/pull-request.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -437,7 +437,7 @@ jobs:
437437
name: Validate CodeRabbit Approval
438438
runs-on: ubuntu-latest
439439
if: github.actor != 'dependabot[bot]'
440-
needs: [Code-Quality-Checks, Test-Application, Start-App-Without-Docker, Docker-Start-Check]
440+
needs: [Test-Docusaurus-Deployment]
441441
steps:
442442
- name: Checkout Repository
443443
uses: actions/checkout@v4

.github/workflows/scripts/validate-coderabbit.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ else
3232
echo " of the PR web page, add a comment with the"
3333
echo " statement below to restart a review"
3434
echo ""
35-
echo "@coderabbitai full review"
35+
echo " @coderabbitai full review"
3636
echo ""
3737
exit 1
3838
fi

.github/workflows/stale.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,17 +13,16 @@ name: Mark stale issues and pull requests
1313

1414
on:
1515
schedule:
16-
- cron: "0 0 * * *"
16+
- cron: "0 * * * *"
1717

1818
permissions:
1919
issues: write
2020
pull-requests: write
2121

2222
jobs:
2323
stale:
24-
24+
name: Process Stale Issues and PRs
2525
runs-on: ubuntu-latest
26-
2726
steps:
2827
- uses: actions/stale@v9
2928
with:

3141

Whitespace-only changes.

CODEOWNERS

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
/.github/ @palisadoes
2-
CODEOWNERS @palisadoes
2+
# CODEOWNERS @palisadoes

src/components/AddOn/core/AddOnStore/AddOnStore.module.css

Lines changed: 0 additions & 72 deletions
This file was deleted.

0 commit comments

Comments
 (0)