mirror of
https://github.com/electron/electron.git
synced 2026-04-10 03:01:51 -04:00
* chore: bump chromium in DEPS to 145.0.7620.0 * chore: bump chromium in DEPS to 145.0.7622.0 * chore: bump chromium in DEPS to 145.0.7624.0 * chore: bump chromium in DEPS to 145.0.7626.0 * chore: bump chromium in DEPS to 145.0.7628.0 * 7362759: Migrate various base::Contains() to contains() in ui | https://chromium-review.googlesource.com/c/chromium/src/+/7362759 * chore: update patches * 7411324: url: Mark deprecated functions as UNSAFE_BUFFER_USAGE https://chromium-review.googlesource.com/c/chromium/src/+/7411324 * 7366867: Store property info in CSSParserLocalContext for random() https://chromium-review.googlesource.com/c/chromium/src/+/7366867 * 7277406: Exclude PiP from getDisplayMedia picker thumbnails https://chromium-review.googlesource.com/c/chromium/src/+/7277406 * 7253489: activity_reporter: Create stub module owned by browser_process https://chromium-review.googlesource.com/c/chromium/src/+/7253489 * 7404514: Create device parental controls delegate https://chromium-review.googlesource.com/c/chromium/src/+/7404514 * 7269504: Update histograms to use the updated MediaStreamRequestResult enum https://chromium-review.googlesource.com/c/chromium/src/+/7269504 * fixup! 7253489: activity_reporter: Create stub module owned by browser_process * 7368549: Reland "Use native rollup" https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/7368549 * 4803165: Enable suppressing input event dispatch while paint-holding. https://chromium-review.googlesource.com/c/chromium/src/+/4803165 * chore: make device_parental_controls lazy --------- Co-authored-by: electron-roller[bot] <84116207+electron-roller[bot]@users.noreply.github.com> Co-authored-by: Keeley Hammond <khammond@slack-corp.com> Co-authored-by: Shelley Vohr <shelley.vohr@gmail.com>
70 lines
2.6 KiB
YAML
70 lines
2.6 KiB
YAML
name: Archaeologist
|
|
|
|
on:
|
|
pull_request:
|
|
|
|
permissions: {}
|
|
|
|
jobs:
|
|
archaeologist-dig:
|
|
name: Archaeologist Dig
|
|
runs-on: ubuntu-latest
|
|
permissions:
|
|
contents: read
|
|
steps:
|
|
- name: Checkout Electron
|
|
uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8
|
|
with:
|
|
fetch-depth: 0
|
|
- name: Setup Node.js/npm
|
|
uses: actions/setup-node@395ad3262231945c25e8478fd5baf05154b1d79f
|
|
with:
|
|
node-version: 24.12.x
|
|
- name: Setting Up Dig Site
|
|
run: |
|
|
echo "remote: ${{ github.event.pull_request.head.repo.clone_url }}"
|
|
echo "sha ${{ github.event.pull_request.head.sha }}"
|
|
echo "base ref ${{ github.event.pull_request.base.ref }}"
|
|
git clone https://github.com/electron/electron.git electron
|
|
cd electron
|
|
mkdir -p artifacts
|
|
git remote add fork ${{ github.event.pull_request.head.repo.clone_url }} && git fetch fork
|
|
git checkout ${{ github.event.pull_request.head.sha }}
|
|
git merge-base origin/${{ github.event.pull_request.base.ref }} HEAD > .dig-old
|
|
echo ${{ github.event.pull_request.head.sha }} > .dig-new
|
|
cp .dig-old artifacts
|
|
|
|
- name: Generating Types for SHA in .dig-new
|
|
uses: ./.github/actions/generate-types
|
|
with:
|
|
sha-file: .dig-new
|
|
filename: electron.new.d.ts
|
|
- name: Generating Types for SHA in .dig-old
|
|
uses: ./.github/actions/generate-types
|
|
with:
|
|
sha-file: .dig-old
|
|
filename: electron.old.d.ts
|
|
- name: Upload artifacts
|
|
uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 #v5.0.0
|
|
with:
|
|
name: artifacts
|
|
path: electron/artifacts
|
|
include-hidden-files: true
|
|
- name: Set job output
|
|
run: |
|
|
git diff --no-index electron.old.d.ts electron.new.d.ts > patchfile || true
|
|
if [ -s patchfile ]; then
|
|
echo "Changes Detected"
|
|
echo "## Changes Detected" > $GITHUB_STEP_SUMMARY
|
|
echo "Looks like the \`electron.d.ts\` file changed." >> $GITHUB_STEP_SUMMARY
|
|
echo "" >> $GITHUB_STEP_SUMMARY
|
|
echo "\`\`\`\`\`\`diff" >> $GITHUB_STEP_SUMMARY
|
|
cat patchfile >> $GITHUB_STEP_SUMMARY
|
|
echo "\`\`\`\`\`\`" >> $GITHUB_STEP_SUMMARY
|
|
else
|
|
echo "No Changes Detected"
|
|
echo "## No Changes" > $GITHUB_STEP_SUMMARY
|
|
echo "We couldn't see any changes in the \`electron.d.ts\` artifact" >> $GITHUB_STEP_SUMMARY
|
|
fi
|
|
working-directory: ./electron/artifacts
|