Skip to content

Commit

Permalink
🔄 Synchronize with @Andrews-McMeel-Universal/action_template
Browse files Browse the repository at this point in the history
  • Loading branch information
amutechtest committed Apr 1, 2024
1 parent f957c0a commit df905d1
Show file tree
Hide file tree
Showing 6 changed files with 140 additions and 40 deletions.
5 changes: 0 additions & 5 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,11 +51,6 @@ updates:
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"
Expand Down
27 changes: 19 additions & 8 deletions .github/release-drafter.yml
Original file line number Diff line number Diff line change
@@ -1,17 +1,20 @@
name-template: '$RESOLVED_VERSION'
tag-template: '$RESOLVED_VERSION'
categories:
- title: 🚀 Features
labels:
- 'feature'
- 'epic'
- 'story'
- title: 🐛 Fixes
labels:
- 'bug'
- title: 📝 Documentation
labels:
- 'documentation'
- title: 🔨 Maintenance
labels:
- 'tools'
- 'tests'
- 'dependencies'
- 'documentation'
- title: 🔐 DevOps
labels:
- 'sync'
Expand Down Expand Up @@ -40,18 +43,19 @@ autolabeler:
- ".{npm,nvm}rc"
- label: 'front-end'
files:
- "**/*.{js,js.html,jsx,ts,tsx,html,css,less,scss,sass,otf,eot,ttf,woff*}"
- "**/*.{js,js.html,jsx,ts,tsx,html,css,less,scss,sass,otf,eot,ttf,woff*,erb}"
- "public/"
- "src/"
- "wp-content/"
- ".storybook/"
- "package.json"
- "!/.vscode"
- "!/.devcontainer"
- "!**/*.test.js"
- label: 'back-end'
files:
- "**/*.{cs,sln,csproj,rb,ru}"
- "**/*.{cs,sln,csproj,ru}"
- "appsettings.*json"
- "CodeCoverage.runsettings"
- label: 'tools'
files:
- "/.vscode"
Expand All @@ -60,13 +64,13 @@ autolabeler:
- ".{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"
- ".storybook/"
- ".browserlistrc"
- label: 'devops'
files:
- ".github/"
Expand All @@ -80,12 +84,19 @@ version-resolver:
major:
labels:
- 'major'
- 'epic'
- 'feature'
minor:
labels:
- 'minor'
- 'story'
- 'maintenance'
- 'research'
patch:
labels:
- 'patch'
- 'bug'
- 'sync'
default: patch
template: |
## What's Changed
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/cleanup.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ on:
types: [closed]
schedule:
- cron: 0 0 * * 0
workflow_dispatch:

jobs:
cleanup:
Expand Down
15 changes: 13 additions & 2 deletions .github/workflows/linters.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@ jobs:
name: Jira PR Linter
uses: Andrews-McMeel-Universal/reusable_workflows/.github/workflows/jira-lint.yaml@2
with:
fail-on-error: false
skip-comments: true
fail-on-error: ${{ vars.JIRA_LINT_FAIL_ON_ERROR || 'false' }}
skip-comments: ${{ vars.JIRA_LINT_SKIP_COMMENTS || 'true' }}
secrets:
JIRA_TOKEN: ${{ secrets.JIRA_TOKEN }}

Expand All @@ -29,3 +29,14 @@ jobs:
prettierPlugins: ${{ vars.INSTALL_PRETTIER_PLUGINS }}
secrets:
PAT_ACTION_CI: ${{ secrets.PAT_ACTION_CI }}

do-not-merge:
name: Disable merging on label
if: ${{ contains(github.event.pull_request.labels.*.name, 'do not merge') }}
runs-on: ubuntu-latest
steps:
- name: Check for label
run: |
echo "Pull request is labeled as 'do not merge'"
echo "This workflow fails so that the pull request cannot be merged"
exit 1
113 changes: 97 additions & 16 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -152,6 +152,7 @@ wp-content/shield/
/wp-content/plugins/wpengine-snapshot/snapshots
/wp-content/mysql.sql
/.wpe-devkit
/site-archive-*-live-*-*/

# Large and binary files
# NOTE:
Expand Down Expand Up @@ -333,19 +334,90 @@ atlassian-ide-plugin.xml
mono_crash.*

# Build results
[Dd]ebug/
[Dd]ebugPublic/
[Rr]elease/
[Rr]eleases/
x64/
x86/
[Ww][Ii][Nn]32/
[Aa][Rr][Mm]/
[Aa][Rr][Mm]64/
bld/
[Oo]bj/
[Ll]og/
[Ll]ogs/
*Service*/[Dd]ebug/
*Service*/[Dd]ebugPublic/
*Service*/[Rr]elease/
*Service*/[Rr]eleases/
*Service*/x64/
*Service*/x86/
*Service*/[Ww][Ii][Nn]32/
*Service*/[Aa][Rr][Mm]/
*Service*/[Aa][Rr][Mm]64/
*Service*/bld/
*Service*/[Oo]bj/
*Service*/[Ll]og/
*Service*/[Ll]ogs/
*Service*/bin/
SharedLibraries/*/[Dd]ebug/
SharedLibraries/*/[Dd]ebugPublic/
SharedLibraries/*/[Rr]elease/
SharedLibraries/*/[Rr]eleases/
SharedLibraries/*/x64/
SharedLibraries/*/x86/
SharedLibraries/*/[Ww][Ii][Nn]32/
SharedLibraries/*/[Aa][Rr][Mm]/
SharedLibraries/*/[Aa][Rr][Mm]64/
SharedLibraries/*/bld/
SharedLibraries/*/[Oo]bj/
SharedLibraries/*/[Ll]og/
SharedLibraries/*/[Ll]ogs/
SharedLibraries/*/bin/
*Function*/[Dd]ebug/
*Function*/[Dd]ebugPublic/
*Function*/[Rr]elease/
*Function*/[Rr]eleases/
*Function*/x64/
*Function*/x86/
*Function*/[Ww][Ii][Nn]32/
*Function*/[Aa][Rr][Mm]/
*Function*/[Aa][Rr][Mm]64/
*Function*/bld/
*Function*/[Oo]bj/
*Function*/[Ll]og/
*Function*/[Ll]ogs/
*Function*/bin/
*.Models/[Dd]ebug/
*.Models/[Dd]ebugPublic/
*.Models/[Rr]elease/
*.Models/[Rr]eleases/
*.Models/x64/
*.Models/x86/
*.Models/[Ww][Ii][Nn]32/
*.Models/[Aa][Rr][Mm]/
*.Models/[Aa][Rr][Mm]64/
*.Models/bld/
*.Models/[Oo]bj/
*.Models/[Ll]og/
*.Models/[Ll]ogs/
*.Models/bin/
*.Library/[Dd]ebug/
*.Library/[Dd]ebugPublic/
*.Library/[Rr]elease/
*.Library/[Rr]eleases/
*.Library/x64/
*.Library/x86/
*.Library/[Ww][Ii][Nn]32/
*.Library/[Aa][Rr][Mm]/
*.Library/[Aa][Rr][Mm]64/
*.Library/bld/
*.Library/[Oo]bj/
*.Library/[Ll]og/
*.Library/[Ll]ogs/
*.Library/bin/
*.Tests/[Dd]ebug/
*.Tests/[Dd]ebugPublic/
*.Tests/[Rr]elease/
*.Tests/[Rr]eleases/
*.Tests/x64/
*.Tests/x86/
*.Tests/[Ww][Ii][Nn]32/
*.Tests/[Aa][Rr][Mm]/
*.Tests/[Aa][Rr][Mm]64/
*.Tests/bld/
*.Tests/[Oo]bj/
*.Tests/[Ll]og/
*.Tests/[Ll]ogs/
*.Tests/bin/

# Visual Studio 2015/2017 cache/options directory
.vs/
Expand Down Expand Up @@ -726,6 +798,10 @@ FodyWeavers.xsd
/.pnp
.pnp.js

# generated during build
robots.txt
sitemap*.xml

# misc
.DS_Store

Expand Down Expand Up @@ -753,8 +829,10 @@ Secrets.json
.setup_done

# Azure B2C
/**/src/custom-policies/B2C_1A_*_*_SIGNINSIGNOUT_*.xml
/custom-policies/**/B2C_1A_*_*_SIGNINSIGNOUT_*.xml
**/B2C_1A_*SIGNINSIGNOUT*.xml
**/B2C_1A_*IMPERSONATION*.xml
dist/index.html
.parcel-cache/

# Azure Functions
*.Functions/Properties/ServiceDependencies/*/*.json
Expand All @@ -766,4 +844,7 @@ terraform/.terraform/
terraform/*.tfstate*
terraform/*.tfplan
terraform/variables.tf
terraform/*.key
terraform/*.key

# Ansible
vault.yml
19 changes: 10 additions & 9 deletions .prettierignore
Original file line number Diff line number Diff line change
Expand Up @@ -35,14 +35,15 @@ src/design-system-package/dist/**
wp-content/

# Games
*Game/
/*Game/

# Dotnet
*Service/
*.Library/
*.Tests/
*.WebAPI/
*.sln
*.csproj
*.lutconfig
.editorconfig
/*Service/
/*.Library/
/*.Tests/
/*.WebAPI/
**/*.sln
**/*.csproj
**/*.cs
/*.lutconfig
/.editorconfig

0 comments on commit df905d1

Please sign in to comment.