Skip to content

Commit

Permalink
ci: bump master weekly, instead of daily
Browse files Browse the repository at this point in the history
  • Loading branch information
justinmk committed Oct 20, 2024
1 parent 29565f9 commit e2d2dda
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/update-readme.yaml
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
name: automation
on:
workflow_dispatch:
# Run daily at 11:45 UTC.
# Run weekly at 11:45 UTC Wednesday.
schedule:
- cron: '45 11 * * *'
- cron: '45 11 * * 3'

jobs:
# Updates the timestamp in README.md, which triggers a "push" event.
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ sudo snap install nvim --edge --classic

## 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.
1. This repo defines time-triggered CI jobs which poke its [master](./.github/workflows/update-readme.yaml) and [nightly](./.github/workflows/update-readme-nightly.yaml) 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`.
Expand Down

0 comments on commit e2d2dda

Please sign in to comment.