Skip to content

Commit

Permalink
Pre-GSoC 2024 - Stable (#2492)
Browse files Browse the repository at this point in the history
* Deleted all files in the main branch in anticipation of merging develop into main cleanly

* Merge develop into main
  • Loading branch information
palisadoes authored Apr 27, 2024
1 parent 4d25b76 commit d1c70ff
Show file tree
Hide file tree
Showing 2,060 changed files with 159,719 additions and 20,328 deletions.
34 changes: 34 additions & 0 deletions .github/ISSUE_TEMPLATE/bug-report.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
---
name: Bug Report
about: Create a report to help us improve.
title: Bug Report
labels: bug
assignees: ''

---

**Describe the bug**
A clear and concise description of what the bug is.

**To Reproduce**
Steps to reproduce the behavior:

1.
2.
3.
4.

**Expected behavior**
A clear and concise description of what you expected to happen.

**Actual behavior**
A clear and concise description of how the code performed w.r.t expectations.

**Screenshots**
If applicable, add screenshots to help explain your problem.

**Additional details**
Add any other context or screenshots about the feature request here.

**Potential internship candidates**
Please read this if you are planning to apply for a Palisadoes Foundation internship https://github.com/PalisadoesFoundation/talawa/issues/359
29 changes: 0 additions & 29 deletions .github/ISSUE_TEMPLATE/bug_report.md

This file was deleted.

26 changes: 26 additions & 0 deletions .github/ISSUE_TEMPLATE/feature-request.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
---
name: Feature Request
about: Suggest an idea for this project
title: Feature Request
labels: feature request
assignees: ''

---

**Is your feature request related to a problem? Please describe.**
A clear and concise description of what the problem is.

**Describe the solution you'd like**
A clear and concise description of what you want to happen.

**Describe alternatives you've considered**
A clear and concise description of any alternative solutions or features you've considered.

**Approach to be followed (optional)**
A clear and concise description of approach to be followed.

**Additional context**
Add any other context or screenshots about the feature request here.

**Potential internship candidates**
Please read this if you are planning to apply for a Palisadoes Foundation internship https://github.com/PalisadoesFoundation/talawa/issues/359
22 changes: 0 additions & 22 deletions .github/ISSUE_TEMPLATE/feature_request.md

This file was deleted.

15 changes: 15 additions & 0 deletions .github/dependabot.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
version: 2
updates:
# Enable version updates for flutter's pub package manager
- package-ecosystem: "pub"
# Look for `pubspec.yaml` and `pubspec.lock` files in the `root` directory
directory: "/"
# Check the pub.dev registry for updates every day (weekdays)
schedule:
interval: "weekly"
target-branch: "develop"
# # Add default reviewers
# reviewers:
# - "palisadoes"
# - "randomUserName"

6 changes: 4 additions & 2 deletions .github/pull_request_template.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,11 @@ This section can be deleted after reading.
We employ the following branching strategy to simplify the development process and to ensure that only stable code is pushed to the `master` branch:
- `develop`: For unstable code: New features and bug fixes.
- `alpha-x.x.x`: For stability testing: Only bug fixes accepted.
- `master`: Where the stable production ready code lies. Only security related bugs.
NOTE!!!
ONLY SUBMIT PRS AGAINST OUR `DEVELOP` BRANCH. THE DEFAULT IS `MAIN`, SO YOU WILL HAVE TO MODIFY THIS BEFORE SUBMITTING YOUR PR FOR REVIEW. PRS MADE AGAINST `MAIN` WILL BE CLOSED.
-->

<!--
Expand All @@ -19,7 +21,7 @@ Thanks for submitting a pull request! Please provide enough information so that

**Issue Number:**

Fixes #<!--Add related issue number here.-->
Fixes #<!--Add related issue number here and delete this comment text block.-->

**Did you add tests for your changes?**

Expand Down
35 changes: 30 additions & 5 deletions .github/workflows/README.md
Original file line number Diff line number Diff line change
@@ -1,13 +1,38 @@
# Talawa GitHub Workflows Guidelines

Here are some contributing guidelines for this directory.
Follow these guidelines when contributing to this directory.

## YAML Files
## General

Follow these guidelines when creating new YAML defined GitHub actions.
Any changes to files in this directory are flagged when pull requests are run. Make changes only on the advice of a contributor.

1. Place all actions related to issues in the `issues.yml` file.
1. Place all actions related to pull requests in the `pull-requests.yml` file.
## YAML Workflow Files

The YAML files in this directory have very specific roles depending on the type of workflow.

Whenever possible you must ensure that:
1. The file roles below are maintained
1. The sequence of the jobs in the workflows are maintained using [GitHub Action dependencies](https://docs.github.com/en/actions/learn-github-actions/managing-complex-workflows).

### File Roles
Follow these guidelines when creating new YAML defined GitHub actions. This is done to make troubleshooting easier.

1. `Issue` Workflows:
1. Place all actions related to issues in the `issues.yml` file.
1. `Pull Request` workflows to be run by:
1. Workflows to run **First Time** repo contributors:
1. Place all actions related to to this in the `pull-request-target.yml` file.
1. Workflows to be run by **ALL** repo contributors:
1. Place all actions related to pull requests in the `pull-request.yml` file.
1. `Push` workflows:
1. Place all actions related to pushes in the `push.yml` file.

#### File Role Exceptions

There are some exceptions to these rules in which jobs can be placed in dedicated separate files:
1. Jobs that require unique `cron:` schedules
1. Jobs that require unique `paths:` statements that operate only when files in a specific path are updated.
1. Jobs only work correctly if they have a dedicated file (eg. `CodeQL`)

## Scripts

Expand Down
31 changes: 31 additions & 0 deletions .github/workflows/authorized-changes-detection.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
##############################################################################
##############################################################################
#
# NOTE!
#
# Please read the README.md file in this directory that defines what should
# be placed in this file
#
##############################################################################
##############################################################################

name: Checking workflow files
on:
pull_request:
paths:
- '.github/**'
- 'analysis_options.yaml'
- 'pubspec.yaml'
- 'pubspec.lock'
- 'lib/main.dart'
- 'CODEOWNERS'
- 'LICENSE'

jobs:
Checking-for-unauthorized-file-changes:
name: Checking for unauthorized file changes
runs-on: ubuntu-latest

steps:
- name: Unauthorized file modification in PR
run: exit 1
Loading

0 comments on commit d1c70ff

Please sign in to comment.