m15a / flake-awesome-neovim-plugins

Nix flake of Awesome Neovim plugins
BSD 3-Clause "New" or "Revised" License
51 stars 11 forks source link

fix(github): check fails on PR from forked repo #81

Closed m15a closed 2 years ago

m15a commented 2 years ago

https://github.com/m15a/nixpkgs-vim-extra-plugins/actions/runs/2853374006:

Fetching the repository
  /usr/bin/git -c protocol.version=2 fetch --no-tags --prune --progress --no-recurse-submodules --depth=1 origin +refs/heads/add-vim-printer*:refs/remotes/origin/add-vim-printer* +refs/tags/add-vim-printer*:refs/tags/add-vim-printer*
  The process '/usr/bin/git' failed with exit code 1
  Waiting 20 seconds before trying again

See https://github.com/actions/checkout/issues/366. Note that in actions/checkout, default ref is github.ref.

m15a commented 2 years ago

In test #82, actions/checkout runs fine.