Skip to content

Commit

Permalink
Merge 'master' (except snapcraft.yaml)
Browse files Browse the repository at this point in the history
  • Loading branch information
justinmk committed Oct 3, 2024
2 parents e69bf8c + 68e7243 commit 80d7c06
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 1 deletion.
8 changes: 8 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
version: 2
updates:
- package-ecosystem: "github-actions"
directory: "/"
schedule:
interval: "daily"
commit-message:
prefix: "ci"
2 changes: 1 addition & 1 deletion .github/workflows/update-readme.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ jobs:
- uses: EndBug/add-and-commit@v9
with:
message: "docs(readme): Bump sync date"
message: "bump timestamp"
default_author: github_actions

call-sync-repo:
Expand Down
11 changes: 11 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,17 @@ sudo snap install nvim --edge --classic

[![Get it from the Snap Store](https://snapcraft.io/static/images/badges/en/snap-store-black.svg)](https://snapcraft.io/nvim)

## How this repo works

1. This repo defines a time-triggered (daily) [GHA workflow](./.github/workflows/update-readme.yaml) on both its `master` and `nightly` branches.
2. The workflow pushes a [timestamp commit](https://github.com/neovim/neovim-snap/commit/752cca5b7c2d8371f54825c61d0c8ebfedbf6711)
to "tickle" the external Snapcraft service.
3. Snapcraft fetches the `master` or `nightly` branch of this repo and processes `snap/snapcraft.yaml`.
4. Snapcraft builds Nvim (in its own, external service) as defined in `snap/snapcraft.yaml`.
- The `snap/snapcraft.yaml` in the `nightly` branch is [slightly different](https://github.com/neovim/neovim-snap/compare/master...nightly)
from the `master` branch. This is a limitation/requirement of Snapcraft's
design.

## Last Launchpad Sync

<!-- BEGIN SYNC INFO -->
Expand Down

0 comments on commit 80d7c06

Please sign in to comment.