Skip to content

Commit

Permalink
Release build 6.23.0 [ci release]
Browse files Browse the repository at this point in the history
  • Loading branch information
shakyShane authored and github-actions[bot] committed Oct 22, 2024
1 parent 3476f99 commit 6057273
Show file tree
Hide file tree
Showing 104 changed files with 4,912 additions and 1,556 deletions.
20 changes: 20 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,28 @@ updates:
schedule:
interval: "daily"
target-branch: "main"
open-pull-requests-limit: 20
labels:
- "dependencies"
groups:
eslint:
patterns:
- "eslint*"
- "@typescript-eslint*"
stylelint:
patterns:
- "stylelint*"
typescript:
patterns:
- "typedoc"
- "typescript"
- "@types/*"
- "@typescript-eslint*"
rollup:
patterns:
- "@rollup/*"
- "rollup-*"
- "rollup"
- package-ecosystem: "github-actions"
directory: "/"
schedule:
Expand Down
7 changes: 4 additions & 3 deletions .github/workflows/auto-respond-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,18 +6,19 @@ on:

jobs:
auto_respond:
if: github.actor != 'dependabot[bot]'
runs-on: ubuntu-latest

steps:
- name: Checkout base branch
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
ref: ${{ github.event.pull_request.base.ref }}
repository: ${{ github.event.pull_request.head.repo.full_name }}
path: base

- name: Checkout PR branch
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
ref: ${{ github.event.pull_request.head.ref }}
repository: ${{ github.event.pull_request.head.repo.full_name }}
Expand Down Expand Up @@ -78,4 +79,4 @@ jobs:
issue-number: ${{ github.event.pull_request.number }}
comment-id: ${{ steps.find_comment.outputs.comment-id }}
body: ${{ steps.create_body.outputs.comment_body }}
edit-mode: replace
edit-mode: replace
4 changes: 2 additions & 2 deletions .github/workflows/build-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:

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

- name: Use Node.js 20
uses: actions/setup-node@v1
Expand Down Expand Up @@ -95,7 +95,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Delete release branch
env:
Expand Down
23 changes: 15 additions & 8 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,16 +10,15 @@ on:
jobs:
release_pr:
runs-on: ubuntu-latest
if: "!contains(github.event.head_commit.message, 'ci skip') && !contains(github.event.head_commit.message, 'skip ci')"

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- uses: actions/setup-node@v3
with:
node-version: 20
cache: 'npm'

- name: Fetch files and checkout
- name: Fetch files and ensure branches exist
run: |
git fetch origin
# Check if the 'main' branch exists, if not, create it
Expand All @@ -34,6 +33,18 @@ jobs:
else
git checkout -b releases origin/releases
fi
- name: Collect commit ranges
run: |
bash ./scripts/changelog.sh > ${{ github.workspace }}/CHANGELOG.txt
- name: Debug changelog file
run: |
ls -la ${{ github.workspace }}/CHANGELOG.txt
cat ${{ github.workspace }}/CHANGELOG.txt
- name: Checkout code from main into release branch
run: |
# Checkout the code of main onto releases
git checkout main -- .
Expand All @@ -47,17 +58,13 @@ jobs:
git add -f build/ Sources/
- name: Commit build files
uses: stefanzweifel/git-auto-commit-action@v4
uses: stefanzweifel/git-auto-commit-action@v5
with:
commit_message: "Release build ${{ github.event.inputs.version }} [ci release]"
commit_options: '--allow-empty'
skip_checkout: true
branch: "releases"

- name: Collect commit ranges
run: |
bash ./scripts/changelog.sh > ${{ github.workspace }}/CHANGELOG.txt
- name: Debug changelog file
run: |
ls -la ${{ github.workspace }}/CHANGELOG.txt
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/codeql-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ jobs:

steps:
- name: Checkout repository
uses: actions/checkout@v2
uses: actions/checkout@v4

# Initializes the CodeQL tools for scanning.
- name: Initialize CodeQL
Expand Down
9 changes: 5 additions & 4 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
matrix:
os: [ ubuntu-latest, windows-latest ]
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- name: Use Node.js 20
uses: actions/setup-node@v1
with:
Expand All @@ -30,17 +30,18 @@ jobs:
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
restore-keys: |
${{ runner.os }}-node-
- run: npm install
- run: npm ci
- run: npm run build
- run: npm run lint
- run: npm run stylelint
- run: npm run test-unit
- name: "Clean tree"
run: "npm run test-clean-tree"
integration:
runs-on: ubuntu-latest
timeout-minutes: 10
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- name: Use Node.js 20
uses: actions/setup-node@v1
with:
Expand Down Expand Up @@ -83,7 +84,7 @@ jobs:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- name: Use Node.js 20
uses: actions/setup-node@v1
with:
Expand Down
40 changes: 40 additions & 0 deletions .stylelintrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
{
"extends": ["stylelint-config-standard"],
"plugins": ["stylelint-csstree-validator"],
"ignoreFiles": ["build/**/*.css", "Sources/**/*.css", "docs/**/*.css"],
"rules": {
"csstree/validator": {
"ignoreProperties": ["text-wrap"]
},
"alpha-value-notation": null,
"at-rule-empty-line-before": null,
"color-function-notation": null,
"color-hex-length": null,
"comment-empty-line-before": null,
"custom-property-empty-line-before": null,
"custom-property-pattern": null,
"declaration-block-no-redundant-longhand-properties": null,
"declaration-empty-line-before": null,
"function-url-quotes": null,
"length-zero-no-unit": null,
"media-feature-range-notation": null,
"no-descending-specificity": null,
"property-no-vendor-prefix": null,
"rule-empty-line-before": null,
"selector-attribute-quotes": null,
"selector-class-pattern": null,
"selector-pseudo-element-colon-notation": null,
"shorthand-property-no-redundant-values": null,
"no-duplicate-selectors": null,
"comment-whitespace-inside": null,
"declaration-block-no-duplicate-properties": null,
"value-keyword-case": null,
"keyframes-name-pattern": null,
"block-no-empty": null,
"selector-id-pattern": null,
"declaration-block-no-shorthand-property-overrides": null,
"font-family-no-missing-generic-family-keyword": null,
"font-family-name-quotes": null,
"value-no-vendor-prefix": null
}
}
1 change: 1 addition & 0 deletions CHANGELOG.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
- Move release debugging (#1155)
33 changes: 17 additions & 16 deletions CODEOWNERS
Validating CODEOWNERS rules …
Original file line number Diff line number Diff line change
@@ -1,26 +1,27 @@
* @jonathanKingston @shakyShane
* @duckduckgo/content-scope-scripts-owners

# Feature owners
injected/src/features/fingerprinting-* @jonathanKingston @englehardt
injected/src/canvas.js @jonathanKingston @englehardt
injected/src/element-hiding.js @jonathanKingston @dharb
injected/src/features/click-to-load.js @kzar @ladamski @franfaccin @jonathanKingston @shakyShane
injected/src/features/click-to-load/ @kzar @ladamski @franfaccin @jonathanKingston @shakyShane
injected/src/locales/click-to-load/ @kzar @ladamski @franfaccin @jonathanKingston @shakyShane
injected/src/features/broker-protection.js @brianhall @shakyShane
injected/src/features/broker-protection/ @brianhall @shakyShane
injected/src/features/fingerprinting-* @duckduckgo/content-scope-scripts-owners @jonathanKingston @englehardt
injected/src/canvas.js @duckduckgo/content-scope-scripts-owners @jonathanKingston @englehardt
injected/src/element-hiding.js @duckduckgo/content-scope-scripts-owners @jonathanKingston @dharb
injected/src/features/click-to-load.js @duckduckgo/content-scope-scripts-owners @kzar @ladamski @franfaccin @jonathanKingston @shakyShane
injected/src/features/click-to-load/ @duckduckgo/content-scope-scripts-owners @kzar @ladamski @franfaccin @jonathanKingston @shakyShane
injected/src/locales/click-to-load/ @duckduckgo/content-scope-scripts-owners @kzar @ladamski @franfaccin @jonathanKingston @shakyShane
injected/src/features/broker-protection.js @duckduckgo/content-scope-scripts-owners @brianhall @shakyShane
injected/src/features/broker-protection/ @duckduckgo/content-scope-scripts-owners @brianhall @shakyShane

# Platform owners
injected/entry-points/android.js @jonathanKingston @joshliebe
injected/entry-points/chrome-mv3.js @kzar @sammacbeth
injected/entry-points/chrome.js @jonathanKingston @sammacbeth
injected/entry-points/windows.js @jonathanKingston @q71114 @szanto90balazs
Sources/ @duckduckgo/content-scope-scripts-owners @duckduckgo/apple-devs
injected/entry-points/android.js @duckduckgo/content-scope-scripts-owners @duckduckgo/android-devs
injected/entry-points/chrome-mv3.js @duckduckgo/content-scope-scripts-owners @kzar @sammacbeth
injected/entry-points/chrome.js @duckduckgo/content-scope-scripts-owners @kzar @sammacbeth
injected/entry-points/windows.js @duckduckgo/content-scope-scripts-owners @duckduckgo/team-windows-development

# Test owners
injected/integration-tests/test-pages/ @kdzwinel @jonathanKingston
injected/integration-tests/test-pages/ @duckduckgo/content-scope-scripts-owners @kdzwinel @jonathanKingston

# Special Pages
special-pages/ @shakyShane @mgurgel
special-pages/ @duckduckgo/content-scope-scripts-owners @shakyShane @mgurgel

# Others
types-generator/ @shakyShane
types-generator/ @duckduckgo/content-scope-scripts-owners @shakyShane
Loading

0 comments on commit 6057273

Please sign in to comment.