feat: ring shapes, auth reuse, input tests, README docs, CI improvements
- Add --ring-shape (circle/square/diamond/hexagon/pill) with geometry module - Reuse PAM context across auth attempts (no reload per-keystroke) - Proper error propagation in screenshot effects (unwrap → Result + context) - Remove theme presets (modern/pixel/glass) and --theme flag - Add input cooldown after failed attempt (400ms debounce) - Add Ctrl+held peek password, Home/End/Delete cursor keys - Add all input unit tests (23 new tests) - Add --max-dots, feedback duration, timeout, interval config options - Add --log-path, --auth-timeout, verifying_color config fields - Remove unused deps: futures, gio, env_logger, num-traits, thiserror, bytemuck - Fix media bar: remove stop button, fix art+text overlap, uniform hit areas - Fix CI: source-only releases, nightly prereleases, dependabot groups, labeler paths - Update issue templates with structured forms - Add stale workflow for inactive issues/PRs - Update README: full options table (28 flags), remove theme docs, add shapes
This commit is contained in:
@@ -0,0 +1,38 @@
|
||||
name: Dependabot Automerge
|
||||
|
||||
on:
|
||||
pull_request:
|
||||
types: [opened, synchronize, reopened]
|
||||
|
||||
permissions:
|
||||
contents: write
|
||||
pull-requests: write
|
||||
|
||||
jobs:
|
||||
automerge:
|
||||
if: github.actor == 'dependabot[bot]'
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Fetch Dependabot metadata
|
||||
id: metadata
|
||||
uses: dependabot/fetch-metadata@v2
|
||||
with:
|
||||
github-token: "${{ secrets.GITHUB_TOKEN }}"
|
||||
|
||||
- name: Auto-approve minor/patch updates
|
||||
if: |
|
||||
steps.metadata.outputs.update-type == 'version-update:semver-minor' ||
|
||||
steps.metadata.outputs.update-type == 'version-update:semver-patch'
|
||||
run: gh pr review --approve "$PR_URL"
|
||||
env:
|
||||
PR_URL: ${{ github.event.pull_request.html_url }}
|
||||
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
|
||||
- name: Enable auto-merge for minor/patch updates
|
||||
if: |
|
||||
steps.metadata.outputs.update-type == 'version-update:semver-minor' ||
|
||||
steps.metadata.outputs.update-type == 'version-update:semver-patch'
|
||||
run: gh pr merge --auto --squash "$PR_URL"
|
||||
env:
|
||||
PR_URL: ${{ github.event.pull_request.html_url }}
|
||||
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
Reference in New Issue
Block a user