diff --git a/.github/workflows/docs-and-linting.yml b/.github/workflows/docs-and-linting.yml index 5b2f82a64..a5f5e79ba 100644 --- a/.github/workflows/docs-and-linting.yml +++ b/.github/workflows/docs-and-linting.yml @@ -1,8 +1,16 @@ name: Render and Lint Documentation on: + push: pull_request: - branches_ignore: [] + workflow_dispatch: + +concurrency: + group: ${{ github.workflow }}-${{ github.ref }} + cancel-in-progress: true + +permissions: + contents: read jobs: build: diff --git a/README.md b/README.md index 5cc39c72e..abfeed594 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,5 @@ # OCI Image Format Specification -![GitHub Actions for Docs and Linting](https://img.shields.io/github/actions/workflow/status/opencontainers/image-spec/docs-and-linting.yml?branch=main&label=GHA%20docs%20and%20linting) ![License](https://img.shields.io/github/license/opencontainers/image-spec) [![Go Reference](https://pkg.go.dev/badge/github.com/opencontainers/image-spec.svg)](https://pkg.go.dev/github.com/opencontainers/image-spec)