Skip to content

Commit 8d903ad

Browse files
committed
Update GitHub Actions configuration
- remove meaningless badge - also lint/test pushes (not just PRs) - allow running the job explicitly on-demand ("workflow dispatch") - cancel in-progress runs on PR update / push to the same branch - explicitly limit GitHub token permissions
1 parent c05acf7 commit 8d903ad

File tree

2 files changed

+9
-2
lines changed

2 files changed

+9
-2
lines changed

.github/workflows/docs-and-linting.yml

+9-1
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,16 @@
11
name: Render and Lint Documentation
22

33
on:
4+
push:
45
pull_request:
5-
branches_ignore: []
6+
workflow_dispatch:
7+
8+
concurrency:
9+
group: ${{ github.workflow }}-${{ github.ref }}
10+
cancel-in-progress: true
11+
12+
permissions:
13+
contents: read
614

715
jobs:
816
build:

README.md

-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
# OCI Image Format Specification
22

3-
![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)
43
![License](https://img.shields.io/github/license/opencontainers/image-spec)
54
[![Go Reference](https://pkg.go.dev/badge/github.com/opencontainers/image-spec.svg)](https://pkg.go.dev/github.com/opencontainers/image-spec)
65

0 commit comments

Comments
 (0)