mirror of
https://github.com/opencontainers/image-spec.git
synced 2026-02-05 09:45:41 +01:00
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
Signed-off-by: Tianon Gravi <admwiggin@gmail.com>
This commit is contained in:
12
.github/workflows/docs-and-linting.yml
vendored
12
.github/workflows/docs-and-linting.yml
vendored
@@ -1,8 +1,18 @@
|
||||
name: Render and Lint Documentation
|
||||
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- main
|
||||
pull_request:
|
||||
branches_ignore: []
|
||||
workflow_dispatch:
|
||||
|
||||
concurrency:
|
||||
group: ${{ github.workflow }}-${{ github.ref }}
|
||||
cancel-in-progress: true
|
||||
|
||||
permissions:
|
||||
contents: read
|
||||
|
||||
jobs:
|
||||
build:
|
||||
|
||||
@@ -1,6 +1,5 @@
|
||||
# OCI Image Format Specification
|
||||
|
||||

|
||||

|
||||
[](https://pkg.go.dev/github.com/opencontainers/image-spec)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user