diff --git a/.github/dependabot.yml b/.github/dependabot.yml new file mode 100644 index 0000000..e96fd52 --- /dev/null +++ b/.github/dependabot.yml @@ -0,0 +1,8 @@ +version: 2 +updates: + - package-ecosystem: "github-actions" + directory: "/" + schedule: + interval: "daily" + commit-message: + prefix: "ci" diff --git a/.github/workflows/update-readme.yaml b/.github/workflows/update-readme.yaml index e0018d2..32882ff 100644 --- a/.github/workflows/update-readme.yaml +++ b/.github/workflows/update-readme.yaml @@ -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: diff --git a/README.md b/README.md index 25e4771..2324eb3 100644 --- a/README.md +++ b/README.md @@ -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