* feat: support vim.g.oil declarative configuration
Problem: oil.nvim requires an imperative require("oil").setup(opts)
call to initialize. The Neovim ecosystem is moving toward vim.g.plugin
as a declarative config source that works without explicit setup calls.
Solution: fall back to vim.g.oil in config.setup() when no opts are
passed, and add plugin/oil.lua to auto-initialize when vim.g.oil is
set. Explicit setup(opts) calls still take precedence. Update docs
and add tests for the new resolution order.
Closes: barrettruth/oil.nvim#1
* build: remove release-please pipeline
Problem: the release-please action creates automated releases that
are not needed for this fork's workflow.
Solution: remove the release job from tests.yml and the
release-please branch exclusion from the review request workflow.
* fix(doc): improve readme phrasing
* doc: minor phrasing "improvements"
* ci: add luarocks release on tag push
Problem: there is no automated way to publish oil.nvim to luarocks
when a new version is tagged.
Solution: add a luarocks workflow that triggers on v* tag pushes,
runs the test suite via workflow_call, then publishes via
luarocks-tag-release. Add workflow_call trigger to tests.yml so it
can be reused.
25 lines
732 B
YAML
25 lines
732 B
YAML
name: Request Review
|
|
permissions:
|
|
pull-requests: write
|
|
on:
|
|
pull_request_target:
|
|
types: [opened, reopened, ready_for_review, synchronize]
|
|
|
|
jobs:
|
|
# Request review automatically when PRs are opened
|
|
request_review:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Request Review
|
|
uses: actions/github-script@v7
|
|
if: github.actor != 'barrettruth'
|
|
with:
|
|
github-token: ${{secrets.GITHUB_TOKEN}}
|
|
script: |
|
|
const pr = context.payload.pull_request;
|
|
github.rest.pulls.requestReviewers({
|
|
owner: context.repo.owner,
|
|
repo: context.repo.repo,
|
|
pull_number: pr.number,
|
|
reviewers: ['barrettruth']
|
|
});
|