Skip to content

Commit

Permalink
Merge branch 'main' into story/DEVOPS-370/update-next-yarn-scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
ebronson68 authored Jan 16, 2024
2 parents ce59377 + 9034c63 commit fe6137a
Show file tree
Hide file tree
Showing 5 changed files with 144 additions and 9 deletions.
11 changes: 4 additions & 7 deletions .github/CODEOWNERS
Validating CODEOWNERS rules …
Original file line number Diff line number Diff line change
Expand Up @@ -25,10 +25,6 @@
# **/*.tsx @Andrews-McMeel-Universal/front-end-engineers
# .nvmrc @Andrews-McMeel-Universal/front-end-engineers
# .npmrc @Andrews-McMeel-Universal/front-end-engineers
# yarn.lock @Andrews-McMeel-Universal/front-end-engineers
# Gemfile.lock @Andrews-McMeel-Universal/front-end-engineers
# Gemfile @Andrews-McMeel-Universal/front-end-engineers
# package*.json @Andrews-McMeel-Universal/front-end-engineers
# public/ @Andrews-McMeel-Universal/front-end-engineers
# src/ @Andrews-McMeel-Universal/front-end-engineers
# .storybook/ @Andrews-McMeel-Universal/front-end-engineers
Expand Down Expand Up @@ -56,9 +52,10 @@

# DevOps
.github/ @Andrews-McMeel-Universal/devops-engineers
deployments/ @Andrews-McMeel-Universal/devops-engineers
*.ps1 @Andrews-McMeel-Universal/devops-engineers
Secrets-example.json @Andrews-McMeel-Universal/devops-engineers
deployments/**/templates/ @Andrews-McMeel-Universal/devops-engineers
deployments/**/.helmignore @Andrews-McMeel-Universal/devops-engineers
deployments/**/values.yaml @Andrews-McMeel-Universal/devops-engineers
*-Secrets.ps1 @Andrews-McMeel-Universal/devops-engineers
Dockerfile @Andrews-McMeel-Universal/devops-engineers
docker-compose.yml @Andrews-McMeel-Universal/devops-engineers
.nvmrc* @Andrews-McMeel-Universal/devops-engineers
23 changes: 22 additions & 1 deletion .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,10 +44,31 @@ updates:
- "front-end"
- "dependencies"
versioning-strategy: increase
open-pull-requests-limit: 10
commit-message:
# Prefix all commit messages with 'npm'
prefix: "npm"
# Create a group of dependencies to be updated together in one pull request
groups:
# Specify a name for the group, which will be used in pull request titles
# and branch names
dependencies-major:
# Open a PR with all major version updates from "dependencies" in package.json
dependency-type: "production"
update-types:
- "major"
dependencies-minor:
# Open a PR with all minor version updates from "dependencies" in package.json
dependency-type: "production"
update-types:
- "minor"
dependencies-patch:
# Open a PR with all patch version updates from "dependencies" in package.json
dependency-type: "production"
update-types:
- "patch"
devDependencies:
# Open a PR with all updates from "devDependencies" in package.json
dependency-type: "development"

- package-ecosystem: bundler
directory: "/"
Expand Down
94 changes: 94 additions & 0 deletions .github/release-drafter.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,94 @@
name-template: '$RESOLVED_VERSION'
tag-template: '$RESOLVED_VERSION'
categories:
- title: 🐛 Fixes
labels:
- 'bug'
- title: 📝 Documentation
labels:
- 'documentation'
- title: 🔨 Maintenance
labels:
- 'tools'
- 'tests'
- 'dependencies'
- title: 🔐 DevOps
labels:
- 'sync'
- 'devops'
exclude-labels:
- 'skip-changelog'
change-template: '- $TITLE by @$AUTHOR in #$NUMBER'
change-title-escapes: '\<*_&' # You can add # and @ to disable mentions, and add ` to disable code blocks.
exclude-contributors:
- 'dependabot[bot]'
- 'amutechtest'
- 'github-actions'
autolabeler:
- label: 'documentation'
files:
- '**/*.md'
- label: 'dependencies'
files:
- "{yarn,Gemfile}.lock"
- "package*.json"
- "Gemfile"
- ".ruby-{version,gemset}"
- "**/*.csproj"
- "**/pnpm-lock.yaml"
- ".yarn/"
- ".{npm,nvm}rc"
- label: 'front-end'
files:
- "**/*.{js,js.html,jsx,ts,tsx,html,css,less,scss,sass,otf,eot,ttf,woff*}"
- "public/"
- "src/"
- "wp-content/"
- ".storybook/"
- "package.json"
- "!/.vscode"
- "!/.devcontainer"
- "!**/*.test.js"
- label: 'back-end'
files:
- "**/*.{cs,sln,csproj,rb,ru}"
- label: 'tools'
files:
- "/.vscode"
- "/.devcontainer"
- "stylelint.config.js"
- ".{prettierrc,size-limit,eslintrc}.js"
- ".{yamllint,yarnrc,mega-linter,solargraph,postcssrc,erb-lint,rubocop}.yml"
- ".{jscpd,markdownlint,babel.config,prettierrc,eslintrc,stylelintrc}.json"
- label: 'tests'
files:
- "playwright/**"
- "cypress/**"
- ".spec.*"
- "*.test.js"
- "{jest,playwright}.*.js"
- label: 'devops'
files:
- ".github/"
- "deployments/"
- "*.ps1"
- "Secrets-example.json"
- "docker-compose.yml"
- "Dockerfile"
version-resolver:
major:
labels:
- 'major'
minor:
labels:
- 'minor'
patch:
labels:
- 'patch'
default: patch
template: |
## What's Changed
$CHANGES
**Full Changelog**: https://github.com/$OWNER/$REPOSITORY/compare/$PREVIOUS_TAG...$RESOLVED_VERSION
22 changes: 22 additions & 0 deletions .github/workflows/release-drafter.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
name: 📄 Create Release Draft

on:
push:
branches:
- main
pull_request:
types: [opened, reopened, synchronize]

permissions:
contents: write
pull-requests: write

jobs:
update-release-draft:
name: Update Release Draft
runs-on: ubuntu-latest
steps:
- name: Draft Release Notes
uses: release-drafter/release-drafter@v5
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -765,4 +765,5 @@ terraform/.terraform.lock.hcl
terraform/.terraform/
terraform/*.tfstate*
terraform/*.tfplan
terraform/variables.tf
terraform/variables.tf
terraform/*.key

0 comments on commit fe6137a

Please sign in to comment.