mirror of
https://github.com/zhom/donutbrowser.git
synced 2026-09-23 09:50:58 +02:00
chore: remove dependabot automerge workflow
This commit is contained in:
@@ -1,60 +0,0 @@
|
|||||||
name: Dependabot Automerge
|
|
||||||
|
|
||||||
on:
|
|
||||||
pull_request_target:
|
|
||||||
types: [opened, synchronize, reopened]
|
|
||||||
|
|
||||||
permissions:
|
|
||||||
pull-requests: write
|
|
||||||
contents: write
|
|
||||||
checks: read
|
|
||||||
|
|
||||||
jobs:
|
|
||||||
security-scan:
|
|
||||||
name: Security Vulnerability Scan
|
|
||||||
if: ${{ github.actor == 'dependabot[bot]' }}
|
|
||||||
uses: "google/osv-scanner-action/.github/workflows/osv-scanner-reusable-pr.yml@e69cc6c86b31f1e7e23935bbe7031b50e51082de" # v2.0.2
|
|
||||||
with:
|
|
||||||
scan-args: |-
|
|
||||||
-r
|
|
||||||
--skip-git
|
|
||||||
--lockfile=pnpm-lock.yaml
|
|
||||||
--lockfile=src-tauri/Cargo.lock
|
|
||||||
--lockfile=nodecar/pnpm-lock.yaml
|
|
||||||
./
|
|
||||||
permissions:
|
|
||||||
security-events: write
|
|
||||||
contents: read
|
|
||||||
actions: read
|
|
||||||
|
|
||||||
lint-js:
|
|
||||||
name: Lint JavaScript/TypeScript
|
|
||||||
if: ${{ github.actor == 'dependabot[bot]' }}
|
|
||||||
uses: ./.github/workflows/lint-js.yml
|
|
||||||
secrets: inherit
|
|
||||||
|
|
||||||
lint-rust:
|
|
||||||
name: Lint Rust
|
|
||||||
if: ${{ github.actor == 'dependabot[bot]' }}
|
|
||||||
uses: ./.github/workflows/lint-rs.yml
|
|
||||||
secrets: inherit
|
|
||||||
|
|
||||||
dependabot-automerge:
|
|
||||||
name: Dependabot Automerge
|
|
||||||
if: ${{ github.actor == 'dependabot[bot]' }}
|
|
||||||
needs: [security-scan, lint-js, lint-rust]
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
steps:
|
|
||||||
- name: Dependabot metadata
|
|
||||||
id: metadata
|
|
||||||
uses: dependabot/fetch-metadata@v2
|
|
||||||
with:
|
|
||||||
github-token: "${{ secrets.GITHUB_TOKEN }}"
|
|
||||||
|
|
||||||
- name: Auto-merge minor and patch updates
|
|
||||||
uses: ridedott/merge-me-action@v2
|
|
||||||
with:
|
|
||||||
GITHUB_TOKEN: ${{ secrets.SECRET_DEPENDABOT_GITHUB_TOKEN }}
|
|
||||||
PRESET: DEPENDABOT_MINOR
|
|
||||||
MERGE_METHOD: SQUASH
|
|
||||||
timeout-minutes: 10
|
|
||||||
Reference in New Issue
Block a user