nix-community / nix-ts-mode

An Emacs major mode for editing Nix expressions, powered by tree-sitter [maintainer=@remi-gelinas]
https://github.com/nix-community/nix-ts-mode
Other
50 stars 9 forks source link

ci: lighten PR validation and change release process #23

Closed remi-gelinas closed 4 months ago

remi-gelinas commented 4 months ago

So, with the initial transfer for #19 out of the way, this PR is intended to make some changes to contribution and the release process, some of them discussed in #20 with @purcell.

Laundry list of changes in this PR:

Open questions I have for discussion:

  1. How do we want to restrict release tagging? Currently, the action in this PR will generate a changelog and release off of any tag. Obviously anyone in the nix-ts-mode team in theory will have permissions to push whatever tags. Do we want to restrict releasing to tags matching a semantic version (i.e. v.XX.XX.XX) exactly, which would leave room for tags for other uses? Do we really even care given how low traffic this repo is right now?

    EDIT: It occurs to me that we could easily use protected tag patterns for this - protect semver tags for individuals with release permissions, and that should solve the problem rather nicely

  2. Looks like other projects in nix-community tend to use Renovate rather than Dependabot - I prefer renovate myself, but did dependabot initially as it's arguably less configuration. Any preference folks have?

remi-gelinas commented 4 months ago

cc @antifuchs and @purcell for comments here :D