Skip to content

Commit

Permalink
Update contents from base template
Browse files Browse the repository at this point in the history
  • Loading branch information
MebinAbraham committed Oct 15, 2024
0 parents commit 38126e9
Show file tree
Hide file tree
Showing 33 changed files with 3,002 additions and 0 deletions.
21 changes: 21 additions & 0 deletions .copier-answers.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
# Changes here will be overwritten by Copier
# Do not modify this file directly
# To update the project using the original template, run make copier-update
_commit: v1.0.0
_src_path: gh:ONSdigital/ons-python-template
default_branch: main
dependabot_open_pull_requests_limit: 10
dismiss_stale_reviews: false
enable_dependabot_version_updates: true
module_name: dis_wagtail
package_manager: poetry
repo_settings: custom
repository_description: The Django Wagtail CMS for managing and publishing content
for the Office for National Statistics (ONS)
repository_name: dis-wagtail
repository_owner: ONSdigital
repository_visibility: public
require_conversation_resolution: true
require_last_push_approval: false
required_approving_review_count: 2
set_up_git_repo: true
42 changes: 42 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
# http://editorconfig.org

# A special property that should be specified at the top of the file outside of
# any sections. Set to true to stop .editor config file search on current file
root = true

[*]
# Indentation style
# Possible values - tab, space
indent_style = space

# Character length allowed
max_line_length = 120

# Indentation size in single-spaced characters
# Possible values - an integer, tab
indent_size = 4

# Line ending file format
# Possible values - lf, crlf, cr
end_of_line = lf

# File character encoding
# Possible values - latin1, utf-8, utf-16be, utf-16le
charset = utf-8

# Denotes whether to trim whitespace at the end of lines
# Possible values - true, false
trim_trailing_whitespace = true

# Denotes whether file should end with a newline
# Possible values - true, false
insert_final_newline = true

[*.{js,html,json,yaml,yml}]
indent_size = 2

[*.{json,yaml,yml}]
max_line_length = 160

[Makefile]
indent_style = tab
1 change: 1 addition & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
* text=auto
35 changes: 35 additions & 0 deletions .github/ISSUE_TEMPLATE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
### Summary

Provide a brief summary of the issue you're encountering.

### Steps to Reproduce

Describe the steps you took when you encountered the bug:

1. ...
2. ...
3. ...

### Expected Behavior

What did you expect to happen when you followed the steps above?

### Actual Behavior

Describe what actually happened. Include details like error messages or unexpected outcomes.

### Technical Details

Any relevant technical information. Include as much information as possible, including:

- **Operating System**:
- **Browser/Application Version**:
- **Additional relevant software versions**:

### Proposed Solutions (Optional)

If you have any suggestions on how to fix this issue, please share them here.

### Screenshots

Attach any screenshots that help illustrate the issue.
11 changes: 11 additions & 0 deletions .github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
### What is the context of this PR?

Describe what you have changed and why, link to other PRs or Issues as appropriate.

### How to review

Describe the steps required to test the changes (include screenshots if appropriate).

### Follow-up Actions

List any follow-up actions (if applicable), like needed documentation updates or additional testing.
48 changes: 48 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
---
# Config for Dependabot updates. See Documentation here:
# https://docs.github.com/en/code-security/dependabot/dependabot-version-updates/configuration-options-for-the-dependabot.yml-file

version: 2
updates:
# Update GitHub actions in workflows
- package-ecosystem: github-actions
directory: /
# Every week
schedule:
interval: weekly

groups:
# Group updates into fewer pull requests
gh-security-updates:
applies-to: security-updates
patterns:
- "*"

gh-version-updates:
applies-to: version-updates
patterns:
- "*"

# Enable Security updates for Python package manager
- package-ecosystem: pip

# When set to 0, version updates are disabled.
open-pull-requests-limit: 10

# Look for a pyproject.toml/requirements.txt/Pipfile.lock in the root directory
directory: /
# Every weekday
schedule:
interval: daily

groups:
# Group updates into fewer pull requests
py-security-updates:
applies-to: security-updates
patterns:
- "*"

py-version-updates:
applies-to: version-updates
patterns:
- "*"
11 changes: 11 additions & 0 deletions .github/linters/.checkov.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
---
# https://github.com/bridgecrewio/checkov
compact: true
download-external-modules: false
evaluate-variables: true
output: cli
quiet: true
soft-fail: false
skip-check:
- CKV2_GHA_1 # Not needed
summary-position: bottom
6 changes: 6 additions & 0 deletions .github/linters/.markdown-link-check.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"ignorePatterns": [],
"retryOn429": true,
"retryCount": 3,
"fallbackRetryDelay": "30s"
}
Loading

0 comments on commit 38126e9

Please sign in to comment.