Skip to content

Commit 0318d11

Browse files
Merge remote-tracking branch 'origin/main' into jkt/adsjs-messaging
2 parents c7c03ad + c25e799 commit 0318d11

File tree

3 files changed

+39
-3
lines changed

3 files changed

+39
-3
lines changed
Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
name: Dependabot auto-approve and auto-merge
2+
on: pull_request
3+
4+
permissions:
5+
contents: write
6+
pull-requests: write
7+
8+
jobs:
9+
dependabot:
10+
runs-on: ubuntu-latest
11+
if: github.event.pull_request.user.login == 'dependabot[bot]'
12+
steps:
13+
- name: Dependabot metadata
14+
id: metadata
15+
uses: dependabot/fetch-metadata@08eff52bf64351f401fb50d4972fa95b9f2c2d1b
16+
with:
17+
github-token: '${{ secrets.GITHUB_TOKEN }}'
18+
19+
- name: Auto-approve and enable auto-merge for npm patch updates (except ignored packages)
20+
if: |
21+
steps.metadata.outputs.package-ecosystem == 'npm' &&
22+
steps.metadata.outputs.update-type == 'version-update:semver-patch' &&
23+
!contains(steps.metadata.outputs.dependency-names, '@atlaskit/pragmatic-drag-and-drop') &&
24+
!contains(steps.metadata.outputs.dependency-names, 'preact') &&
25+
!contains(steps.metadata.outputs.dependency-names, '@preact/signals') &&
26+
!contains(steps.metadata.outputs.dependency-names, 'lottie-web')
27+
run: |
28+
gh pr review --approve "$PR_URL"
29+
gh pr merge --auto --merge "$PR_URL"
30+
env:
31+
PR_URL: ${{ github.event.pull_request.html_url }}
32+
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}

CODEOWNERS

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,10 +21,10 @@ injected/integration-test/mocks/broker-protection/ @duckduckgo/content-scope-scr
2121
injected/integration-test/test-pages/broker-protection/ @duckduckgo/content-scope-scripts-owners @duckduckgo/injected-broker-protection
2222

2323
# Platform owners
24-
injected/src/features.js @duckduckgo/content-scope-scripts-owners @duckduckgo/apple-devs @duckduckgo/android-devs @duckduckgo/team-windows-development @kzar @sammacbeth
24+
injected/src/features.js @duckduckgo/content-scope-scripts-owners @duckduckgo/apple-devs @duckduckgo/android-devs @duckduckgo/team-windows-development @duckduckgo/extension-owners
2525
Sources/ @duckduckgo/content-scope-scripts-owners @duckduckgo/apple-devs
2626
injected/entry-points/android.js @duckduckgo/content-scope-scripts-owners @duckduckgo/android-devs
27-
injected/entry-points/extension-mv3.js @duckduckgo/content-scope-scripts-owners @kzar @sammacbeth
27+
injected/entry-points/extension-mv3.js @duckduckgo/content-scope-scripts-owners @duckduckgo/extension-owners
2828
injected/entry-points/windows.js @duckduckgo/content-scope-scripts-owners @duckduckgo/team-windows-development
2929

3030
# Test owners

injected/docs/build-and-troubleshooting.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,11 @@ This document provides platform-specific build instructions, troubleshooting ste
88

99
- **Check Xcode Version:**
1010
- [.xcode-version](https://github.com/duckduckgo/apple-browsers/tree/main/.xcode-version)
11-
- **Set up C-S-S or Autofill as a Local Dependency:**
11+
- **Set up C-S-S as a Local Dependency:**
12+
- Run `npm link` in your C-S-S check out.
13+
- Run `npm link @duckduckgo/content-scope-scripts` in your `apple-browsers` project.
14+
- Whenever files change run: `npm run build-content-scope-scripts`
15+
- **Set up Autofill as a Local Dependency:**
1216
- Drag the folder from Finder into the directory panel in Xcode.
1317
- **Privacy Config Files:**
1418
- Both apps bundle a privacy config file: [macos-config.json](https://github.com/duckduckgo/apple-browsers/blob/main/macOS/DuckDuckGo/ContentBlocker/macos-config.json) & [ios-config.json](https://github.com/duckduckgo/apple-browsers/blob/main/iOS/Core/ios-config.json).

0 commit comments

Comments
 (0)