diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index c886c3e..ef3c11e 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -2,9 +2,15 @@ name: Build on: + push: + branches: + - main pull_request: branches: - main + workflow_dispatch: {} + schedule: + - cron: 0 0 * * 1 permissions: contents: read @@ -13,4 +19,4 @@ permissions: jobs: golang-checks: name: Golang checks - uses: bodgit/workflows/.github/workflows/golang-checks.yml@f2ad91a9e0ba58982cdc180b62f69555ddf17d06 # v1.0.0 + uses: bodgit/workflows/.github/workflows/golang-checks.yml@90676a57fa5e7bb53dbea051211751b225ee60ca # v1.0.1 diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 121c647..fb76221 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -6,12 +6,11 @@ on: branches: - main -permissions: - contents: write - issues: write - pull-requests: write +permissions: {} jobs: release-please: name: Run release-please - uses: bodgit/workflows/.github/workflows/release.yml@f2ad91a9e0ba58982cdc180b62f69555ddf17d06 # v1.0.0 + uses: bodgit/workflows/.github/workflows/release.yml@90676a57fa5e7bb53dbea051211751b225ee60ca # v1.0.1 + secrets: + RELEASE_PLEASE_TOKEN: ${{ secrets.RELEASE_PLEASE_TOKEN }} diff --git a/README.md b/README.md index f656c1e..7b9d2b2 100644 --- a/README.md +++ b/README.md @@ -1,10 +1,9 @@ [![GitHub release](https://img.shields.io/github/v/release/bodgit/srp)](https://github.com/bodgit/srp/releases) -[![Build Status](https://img.shields.io/github/actions/workflow/status/bodgit/srp/main.yml?branch=main)](https://github.com/bodgit/srp/actions?query=workflow%3Abuild) +[![Build Status](https://img.shields.io/github/actions/workflow/status/bodgit/srp/build.yml?branch=main)](https://github.com/bodgit/srp/actions?query=workflow%3ABuild) [![Coverage Status](https://coveralls.io/repos/github/bodgit/srp/badge.svg?branch=main)](https://coveralls.io/github/bodgit/srp?branch=main) [![Go Report Card](https://goreportcard.com/badge/github.com/bodgit/srp)](https://goreportcard.com/report/github.com/bodgit/srp) [![GoDoc](https://godoc.org/github.com/bodgit/srp?status.svg)](https://godoc.org/github.com/bodgit/srp) -![Go version](https://img.shields.io/badge/Go-1.19-brightgreen.svg) -![Go version](https://img.shields.io/badge/Go-1.18-brightgreen.svg) +![GitHub go.mod Go version](https://img.shields.io/github/go-mod/go-version/bodgit/srp) # SRP