Skip to content

Commit

Permalink
Merge branch 'evergreen-ci:main' into main
Browse files Browse the repository at this point in the history
  • Loading branch information
malikchaya2 authored May 12, 2023
2 parents 2cdced5 + 6801372 commit 1e8c8e3
Show file tree
Hide file tree
Showing 1,766 changed files with 133,189 additions and 97,403 deletions.
10 changes: 10 additions & 0 deletions .github/pull_request_template.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
EVG-NNNNN

### Description
add description, context, thought process, etc

### Testing
add a description of how you tested it

### Documentation
remember to add or edit docs in the docs/ directory if relevant
76 changes: 76 additions & 0 deletions .github/workflows/codeql.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,76 @@
# For most projects, this workflow file will not need changing; you simply need
# to commit it to your repository.
#
# You may wish to alter this file to override the set of languages analyzed,
# or to provide custom queries or build logic.
#
# ******** NOTE ********
# We have attempted to detect the languages in your repository. Please check
# the `language` matrix defined below to confirm you have the correct set of
# supported CodeQL languages.
#
name: "CodeQL"

on:
push:
branches: [ "main" ]
pull_request:
# The branches below must be a subset of the branches above
branches: [ "main" ]
schedule:
- cron: '15 8 * * 2'

jobs:
analyze:
name: Analyze
runs-on: ubuntu-latest
permissions:
actions: read
contents: read
security-events: write

strategy:
fail-fast: false
matrix:
language: [ 'go', 'javascript', 'python' ]
# CodeQL supports [ 'cpp', 'csharp', 'go', 'java', 'javascript', 'python', 'ruby' ]
# Use only 'java' to analyze code written in Java, Kotlin or both
# Use only 'javascript' to analyze code written in JavaScript, TypeScript or both
# Learn more about CodeQL language support at https://aka.ms/codeql-docs/language-support

steps:
- name: Checkout repository
uses: actions/checkout@v3

# Initializes the CodeQL tools for scanning.
- name: Initialize CodeQL
uses: github/codeql-action/init@v2
with:
languages: ${{ matrix.language }}
# If you wish to specify custom queries, you can do so here or in a config file.
# By default, queries listed here will override any specified in a config file.
# Prefix the list here with "+" to use these queries and those in the config file.

# Details on CodeQL's query packs refer to : https://docs.github.com/en/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-code-scanning#using-queries-in-ql-packs
# queries: security-extended,security-and-quality


# Autobuild attempts to build any compiled languages (C/C++, C#, Go, or Java).
# If this step fails, then you should remove it and run the build manually (see below)
- name: Autobuild
uses: github/codeql-action/autobuild@v2

# ℹ️ Command-line programs to run using the OS shell.
# 📚 See https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_idstepsrun

# If the Autobuild fails above, remove it and uncomment the following three lines.
# modify them (or add more) to build your code if your project, please refer to the EXAMPLE below for guidance.

# - run: |
# echo "Run, Build Application using script"
# ./location_of_script_within_repo/buildscript.sh

- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v2
with:
category: "/language:${{matrix.language}}"
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,6 @@ source-patch-1*
evergreen
!cmd/evergreen

package-lock.json

# ag and ripgrep ignore file
.ignore
6 changes: 0 additions & 6 deletions .golangci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,17 +3,11 @@ linters:
disable-all: true
enable:
- asciicheck
- deadcode
- errcheck
- ineffassign
- goimports
- gosimple
- govet
- misspell
- structcheck
- unconvert
- unused

linters-settings:
govet:
check-shadowing: false
11 changes: 11 additions & 0 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
# Contributing
Pull requests to improve Evergreen are always welcome! To get started contributing, please follow these steps:

1. Sign the [contributor's agreement](http://www.mongodb.com/contributor). This will allow us to review and accept
contributions.
2. Evergreen uses [Jira](https://jira.mongodb.org/projects/EVG) to track work. If you're contributing a new change
that's not already tracked in an existing Jira ticket, file a ticket under the EVG project with a description of the
intended changes.
3. Make the code changes and open a pull request. The pull request title should be prefixed with the Jira ticket number
and include a brief summary of the changes. An Evergreen developer will review the code changes and run automated
tests. If the change looks good, it will be merged.
6 changes: 1 addition & 5 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,4 @@
# Evergreen
Evergreen is a distributed continuous integration system built by MongoDB.
It dynamically allocates hosts to run tasks in parallel across many machines.

See [the wiki](https://github.com/evergreen-ci/evergreen/wiki) for
See [the docs](https://github.com/evergreen-ci/evergreen/tree/main/docs/) for
user-facing documentation.

See [the API docs](https://pkg.go.dev/github.com/evergreen-ci/evergreen) for
Expand Down
Loading

0 comments on commit 1e8c8e3

Please sign in to comment.