Skip to content

Commit 15f21eb

Browse files
committed
Update docs CI workflow for specific file paths
Extend workflow triggers to monitor `docs/**`, markdown files, and `.github/workflows/docs-ci.yaml` for changes. Adjust changes fetching in docs lint job for alignment with new paths.
1 parent 5392bb7 commit 15f21eb

File tree

4 files changed

+15
-8
lines changed

4 files changed

+15
-8
lines changed

.github/workflows/docs-ci.yaml

Lines changed: 12 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,24 +4,33 @@ on:
44
push:
55
branches:
66
- main
7+
paths:
8+
- docs/**
9+
- **.md
10+
- .github/workflows/docs-ci.yaml
11+
712
pull_request:
13+
paths:
14+
- docs/**
15+
- **.md
16+
- .github/workflows/docs-ci.yaml
817

918
jobs:
1019
docs:
1120
runs-on: ubuntu-latest
1221
steps:
1322
- name: Checkout
1423
uses: actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 # v4.2.1
15-
with:
16-
fetch-depth: 0
1724

1825
- name: Setup Node
1926
uses: ./.github/actions/setup-node
2027

2128
- uses: tj-actions/changed-files@bab30c2299617f6615ec02a68b9a40d10bd21366 # v45.0.5
2229
id: changed-files
2330
with:
24-
files: "docs/**/*.md"
31+
files: |
32+
docs/**
33+
README.md
2534
separator: ","
2635

2736
- name: lint

CODE_OF_CONDUCT.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
[https://coder.com/docs/coder-oss/latest/contributing/CODE_OF_CONDUCT](https://coder.com/docs/contributing/CODE_OF_CONDUCT)
1+
[https://coder.com/docs/contributing/CODE_OF_CONDUCT](https://coder.com/docs/contributing/CODE_OF_CONDUCT)

CONTRIBUTING.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
https://coder.com/docs/CONTRIBUTING
1+
[https://coder.com/docs/CONTRIBUTING](https://coder.com/docs/CONTRIBUTING)

docs/admin/users/idp-sync.md

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
<!-- markdownlint-disable MD024 -->
12
# IDP Sync
23

34
<blockquote class="info">
@@ -95,9 +96,6 @@ coder:
9596
From the example above, users that belong to the `myOIDCGroupID` group in your
9697
OIDC provider will be added to the `myCoderGroupName` group in Coder.
9798

98-
[azure-gids]:
99-
https://github.com/MicrosoftDocs/azure-docs/issues/59766#issuecomment-664387195
100-
10199
## Runtime (Organizations)
102100

103101
<blockquote class="admonition note">

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy