Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
# Please see the documentation for all configuration options:
# https://help.github.com/github/administering-a-repository/configuration-options-for-dependency-updates

version: 2
updates:
# Dependencies listed in .github/workflows/*.yml
- package-ecosystem: "github-actions"
directory: "/"
schedule:
interval: "daily"
3 changes: 3 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,9 @@ on:
- main
- release-*
pull_request:
schedule:
# Runs at 00:00 UTC every Monday
- cron: '0 0 * * 1'
Comment on lines +11 to +12
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

These always drive me nuts; I once wrote a nice comment to document the fields (as it's very easy to get them wrong);
https://github.com/docker/cli/blob/8b8f558b8350d80530d39cae51d4d425d381a1ef/.github/workflows/codeql.yml#L23-L33

  schedule:
    #        ┌───────────── minute (0 - 59)
    #        │ ┌───────────── hour (0 - 23)
    #        │ │ ┌───────────── day of the month (1 - 31)
    #        │ │ │ ┌───────────── month (1 - 12)
    #        │ │ │ │ ┌───────────── day of the week (0 - 6) (Sunday to Saturday)
    #        │ │ │ │ │
    #        │ │ │ │ │
    #        │ │ │ │ │
    #        * * * * *
    - cron: '0 9 * * 4'

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This used to be in crontab(5) man page, but cron is now gone from the distros in favor of systemd.timer so there's no documentation anymore).

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah, I'm pretty sure I originally copied it from somewhere; could've been from the man-page for sure!

permissions:
contents: read

Expand Down
9 changes: 9 additions & 0 deletions .github/workflows/validate.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,9 @@ on:
- main
- release-*
pull_request:
schedule:
# Runs at 00:00 UTC every Monday
- cron: '0 0 * * 1'
env:
GO_VERSION: 1.24
permissions:
Expand Down Expand Up @@ -75,11 +78,17 @@ jobs:
go-version: "${{ env.GO_VERSION }}"
- run: go mod tidy --diff

govulncheck:
runs-on: ubuntu-24.04
steps:
- uses: golang/govulncheck-action@v1

all-done:
needs:
- codespell
- deps
- go-fix
- govulncheck
- lint
- space-at-eol
runs-on: ubuntu-24.04
Expand Down
Loading