WARNING: THIS SITE IS A MIRROR OF GITHUB.COM / IT CANNOT LOGIN OR REGISTER ACCOUNTS / THE CONTENTS ARE PROVIDED AS-IS / THIS SITE ASSUMES NO RESPONSIBILITY FOR ANY DISPLAYED CONTENT OR LINKS / IF YOU FOUND SOMETHING MAY NOT GOOD FOR EVERYONE, CONTACT ADMIN AT ilovescratch@foxmail.com
Skip to content

Commit c93cb56

Browse files
authored
Q4 Update (#4783)
1 parent d5af662 commit c93cb56

File tree

1,443 files changed

+137154
-65533
lines changed

Some content is hidden

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

1,443 files changed

+137154
-65533
lines changed

.coderabbit.yaml

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
# yaml-language-server: $schema=https://coderabbit.ai/integrations/schema.v2.json
22

3-
language: "en-US"
3+
language: 'en-US'
44
early_access: false
55
chat:
66
auto_reply: true
77
reviews:
8-
profile: "assertive"
8+
profile: 'assertive'
99
poem: false
1010
request_changes_workflow: true
1111
high_level_summary: true
@@ -20,7 +20,6 @@ reviews:
2020
- main
2121
path_filters:
2222
- '!**/docs/docs/**'
23-
- "!*.html"
24-
- "!*.md"
25-
- "!*.svg"
26-
23+
- '!*.html'
24+
- '!*.md'
25+
- '!*.svg'

.github/ISSUE_TEMPLATE/bug-report.md

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,3 @@ If applicable, add screenshots to help explain your problem.
2929

3030
**Additional details**
3131
Add any other context or screenshots about the feature request here.
32-
33-
**Potential internship candidates**
34-
35-
Please read this if you are planning to apply for a Palisadoes Foundation internship
36-
- https://github.com/PalisadoesFoundation/talawa/issues/359

.github/ISSUE_TEMPLATE/feature-request.md

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,3 @@ A clear and concise description of approach to be followed.
2121

2222
**Additional context**
2323
Add any other context or screenshots about the feature request here.
24-
25-
**Potential internship candidates**
26-
27-
Please read this if you are planning to apply for a Palisadoes Foundation internship
28-
- https://github.com/PalisadoesFoundation/talawa/issues/359

.github/dependabot.yaml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,17 +2,17 @@
22
version: 2
33
updates:
44
# Define the target package ecosystem
5-
- package-ecosystem: "npm"
5+
- package-ecosystem: 'npm'
66
# Specify the root directory
7-
directory: "/"
7+
directory: '/'
88
# Schedule automated updates to run weekly
99
schedule:
10-
interval: "monthly"
10+
interval: 'monthly'
1111
# Labels to apply to Dependabot PRs
1212
labels:
13-
- "dependencies"
13+
- 'dependencies'
1414
# Specify the target branch for PRs
15-
target-branch: "develop"
15+
target-branch: 'develop'
1616
# Customize commit message prefix
1717
commit-message:
18-
prefix: "chore(deps):"
18+
prefix: 'chore(deps):'

.github/workflows/README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ Follow these guidelines when creating new YAML defined GitHub actions. This is d
1919

2020
1. `Issue` Workflows:
2121
1. Place all actions related to issues in the `issues.yml` file.
22+
1. `issue-assigned.yml` - Removes unapproved labels when issues are assigned to contributors (exception; see “File Role Exceptions”).
2223
1. `Pull Request` workflows to be run by:
2324
1. Workflows to run **First Time** repo contributors:
2425
1. Place all actions related to to this in the `pull-request-target.yml` file.
@@ -33,6 +34,7 @@ There are some exceptions to these rules in which jobs can be placed in dedicate
3334
1. Jobs that require unique `cron:` schedules
3435
1. Jobs that require unique `paths:` statements that operate only when files in a specific path are updated.
3536
1. Jobs only work correctly if they have a dedicated file (eg. `CodeQL`)
37+
1. Workflows isolated to specific issue activity types (e.g., `issues: [assigned]`) to avoid side effects on the unified issue workflow (e.g., `issue-assigned.yml`)
3638

3739
## Scripts
3840

.github/workflows/auto-label.json5

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,4 +13,3 @@
1313
},
1414
defaultLabels: ['unapproved'],
1515
}
16-

.github/workflows/codeql-codescan.yml

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
#
44
# NOTE!
55
#
6-
# Please read the README.md file in this directory that defines what should
6+
# Please read the README.md file in this directory that defines what should
77
# be placed in this file
88
#
99
##############################################################################
@@ -14,10 +14,10 @@ name: codeql codescan workflow
1414
on:
1515
pull_request:
1616
branches:
17-
- '**'
17+
- '**'
1818
push:
1919
branches:
20-
- '**'
20+
- '**'
2121
jobs:
2222
CodeQL:
2323
if: ${{ github.actor != 'dependabot[bot]' }}
@@ -26,19 +26,19 @@ jobs:
2626
strategy:
2727
fail-fast: false
2828
matrix:
29-
language: [ 'javascript' ]
29+
language: ['javascript']
3030
steps:
31-
- name: Checkout repository
32-
uses: actions/checkout@v4
31+
- name: Checkout repository
32+
uses: actions/checkout@v4
3333

34-
- name: Initialize CodeQL
35-
uses: github/codeql-action/init@v3
36-
with:
34+
- name: Initialize CodeQL
35+
uses: github/codeql-action/init@v3
36+
with:
3737
languages: ${{ matrix.language }}
3838
debug: true
3939

40-
- name: Autobuild
41-
uses: github/codeql-action/autobuild@v3
40+
- name: Autobuild
41+
uses: github/codeql-action/autobuild@v3
4242

43-
- name: Perform CodeQL Analysis
44-
uses: github/codeql-action/analyze@v3
43+
- name: Perform CodeQL Analysis
44+
uses: github/codeql-action/analyze@v3

.github/workflows/issue-assigned.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
#
44
# NOTE!
55
#
6-
# Please read the README.md file in this directory that defines what should
6+
# Please read the README.md file in this directory that defines what should
77
# be placed in this file
88
#
99
##############################################################################
@@ -12,7 +12,7 @@
1212
name: Issue Assignment Workflow
1313
on:
1414
issues:
15-
types: ['assigned']
15+
types: ['assigned']
1616
permissions:
1717
contents: read
1818
issues: write
@@ -32,7 +32,7 @@ jobs:
3232
repo,
3333
issue_number
3434
};
35-
35+
3636
// Get current labels on the issue
3737
const { data: labelList } = await github.rest.issues.listLabelsOnIssue(apiParams);
3838
const unapprovedLabel = labelList.find(l =>

.github/workflows/issue.yml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
#
44
# NOTE!
55
#
6-
# Please read the README.md file in this directory that defines what should
6+
# Please read the README.md file in this directory that defines what should
77
# be placed in this file
88
#
99
##############################################################################
@@ -12,7 +12,7 @@
1212
name: Issue Workflow
1313
on:
1414
issues:
15-
types: ['opened']
15+
types: ['opened']
1616
jobs:
1717
Opened-issue-label:
1818
name: Adding Issue Label
@@ -54,7 +54,6 @@ jobs:
5454
labels: ["good first issue"]
5555
});
5656
57-
5857
Issue-Greeting:
5958
name: Greeting Message to User
6059
runs-on: ubuntu-latest
@@ -63,4 +62,3 @@ jobs:
6362
with:
6463
repo-token: ${{ secrets.GITHUB_TOKEN }}
6564
issue-message: "Congratulations on making your first Issue! :confetti_ball: If you haven't already, check out our [Contributing Guidelines](https://github.com/PalisadoesFoundation/talawa-admin/blob/develop/CONTRIBUTING.md) and [Issue Reporting Guidelines](https://github.com/PalisadoesFoundation/talawa-admin/blob/develop/ISSUE_GUIDELINES.md) to ensure that you are following our guidelines for contributing and making issues."
66-

.github/workflows/merge-conflict-check.yml

Lines changed: 36 additions & 36 deletions
Original file line numberDiff line numberDiff line change
@@ -22,44 +22,44 @@ jobs:
2222
env:
2323
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
2424
run: |
25-
PR_NUMBER=${{ github.event.pull_request.number }}
26-
max_retries=3
27-
retry_delay=5
25+
PR_NUMBER=${{ github.event.pull_request.number }}
26+
max_retries=3
27+
retry_delay=5
2828
29-
for ((i=1; i<=max_retries; i++)); do
30-
echo "Attempt $i of $max_retries"
29+
for ((i=1; i<=max_retries; i++)); do
30+
echo "Attempt $i of $max_retries"
3131
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
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
4341
fi
44-
continue
42+
sleep $retry_delay
4543
fi
46-
47-
case "$response" in
48-
"true")
49-
echo "No conflicts detected."
50-
exit 0
51-
;;
52-
"false")
53-
echo "Merge conflicts detected."
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."
5460
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
61+
fi
62+
sleep $retry_delay
63+
;;
64+
esac
65+
done

0 commit comments

Comments
 (0)