breadclip: document pin verb, config file, and ignore rules
All checks were successful
check / check (push) Successful in 2m9s
All checks were successful
check / check (push) Successful in 2m9s
- EVENTS.md: `bread.command.clip.pin` and `bread.clip.pinned` /
`.pin.failed` are now implemented; `select` stays explicitly not
implemented with the reason. AGENTS.md follows.
- README: Configuration section, Ctrl+P bind, updated privacy notes
(CLIPBOARD_STATE + ignore rules), JPEG image entries, primary badge.
- check.yml also runs on pushes to `main` — a push to main triggers a
dev-track release build, so it should be linted/tested first.
- release.yml uses `${GITHUB_REPOSITORY}` instead of a hard-coded
`Breadway/breadclip` for the GitHub mirror release upload.
This commit is contained in:
parent
d308593efd
commit
6db4a96026
6 changed files with 88 additions and 25 deletions
|
|
@ -1,10 +1,11 @@
|
|||
name: check
|
||||
|
||||
# Fast-fail lint/test on short-lived work branches, before it ever reaches
|
||||
# main and triggers a dev-track release build.
|
||||
# Fast-fail lint/test on short-lived work branches, and on `main` itself —
|
||||
# a push to main immediately triggers a dev-track release build, so it
|
||||
# should be linted/tested first, not shipped unchecked.
|
||||
on:
|
||||
push:
|
||||
branches: ['feature/**', 'fix/**']
|
||||
branches: ['feature/**', 'fix/**', 'main']
|
||||
|
||||
jobs:
|
||||
check:
|
||||
|
|
|
|||
|
|
@ -64,9 +64,9 @@ jobs:
|
|||
set -euo pipefail
|
||||
VERSION="${GITHUB_REF_NAME#v}"
|
||||
PKG_DIR="/srv/breadway-dl/breadclip/${VERSION}"
|
||||
gh release create "${GITHUB_REF_NAME}" --repo Breadway/breadclip \
|
||||
gh release create "${GITHUB_REF_NAME}" --repo "${GITHUB_REPOSITORY}" \
|
||||
--title "breadclip v${VERSION}" --generate-notes 2>/dev/null || true
|
||||
gh release upload "${GITHUB_REF_NAME}" --repo Breadway/breadclip \
|
||||
gh release upload "${GITHUB_REF_NAME}" --repo "${GITHUB_REPOSITORY}" \
|
||||
"${PKG_DIR}/breadclip-x86_64" \
|
||||
"${PKG_DIR}/breadclipd-x86_64" \
|
||||
"${PKG_DIR}/breadclip-x86_64.sha256" \
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue