diff options
author | William Carroll <wpcarro@gmail.com> | 2020-08-22T08·09+0100 |
---|---|---|
committer | William Carroll <wpcarro@gmail.com> | 2020-08-22T22·27+0100 |
commit | 7ab86f5423578cc86b76ed034e2a79e22a3af727 (patch) | |
tree | 2620fa28f654ce3b5d4b16b48e8d73fbd19423ed /emacs/.emacs.d/wpc/wpc-misc.el | |
parent | 42413399630d015e74aa0e782f217dbc25ff9fe8 (diff) |
Abandon the pre-receive hook
I wanted Gitea to call Buildkite's pre-receive pipeline and either accept or reject the incoming code depending on the outcome. The problem is that I can only *create* builds from Gitea's pre-receive hook. Now I'm left with two options: 1. run the lint-secrets step in post-receive 2. run `/nix/store/<hash>/git-secrets --scan-history $REPO_PATH` in Gitea As far as I can tell, I cannot define Gitea hooks in Nix, which is unfortunate; otherwise, option 2 would appeal more. I'm doing option one for now.
Diffstat (limited to 'emacs/.emacs.d/wpc/wpc-misc.el')
0 files changed, 0 insertions, 0 deletions