Skip to content

Commit c2d6596

Browse files
committed
git clean
1 parent 80a0cda commit c2d6596

File tree

3 files changed

+42
-32
lines changed

3 files changed

+42
-32
lines changed

.github/CODEOWNERS

+1-2
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,6 @@ packages/app-check-interop-types @hsubox76 @firebase/jssdk-global-approvers
9696
# Documentation Changes
9797
packages/firebase/index.d.ts @egilmorez @firebase/jssdk-global-approvers
9898
scripts/docgen/content-sources/ @egilmorez @firebase/jssdk-global-approvers
99-
docs-devsite/ @egilmorez @markarndt
10099

101100
# Changeset
102-
.changeset @egilmorez @firebase/jssdk-changeset-approvers @firebase/firestore-js-team @firebase/jssdk-global-approvers
101+
.changeset @egilmorez @firebase/jssdk-changeset-approvers @firebase/firestore-js-team @firebase/jssdk-global-approvers

.github/workflows/check-docs.yml

-30
This file was deleted.
+41
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
name: Label doc changes
2+
3+
on: pull_request
4+
5+
env:
6+
GITHUB_PULL_REQUEST_HEAD_SHA: ${{ github.event.pull_request.head.sha }}
7+
GITHUB_PULL_REQUEST_BASE_SHA: ${{ github.event.pull_request.base.sha }}
8+
9+
jobs:
10+
check_doc_changes:
11+
name: Check if docs are being changed
12+
runs-on: ubuntu-latest
13+
14+
steps:
15+
- name: Checkout Repo
16+
uses: actions/checkout@master
17+
with:
18+
# This makes Actions fetch all Git history so check_changeset script can diff properly.
19+
fetch-depth: 0
20+
- name: Set up Node (14)
21+
uses: actions/setup-node@v2
22+
with:
23+
node-version: 14.x
24+
- name: Yarn install
25+
run: yarn
26+
- name: Run detect doc changes script
27+
run: yarn ts-node-script scripts/ci/detect-doc-changes.ts
28+
id: check-doc-changes
29+
- name: Print if doc changed output
30+
run: echo "${{steps.check-doc-changes.outputs.DOC_CHANGED}}"
31+
- name: Add label if there are doc changes
32+
uses: actions-ecosystem/[email protected]
33+
if: ${{steps.check-doc-changes.outputs.DOC_CHANGED == 'true'}}
34+
with:
35+
labels: doc-changes
36+
github_token: ${{ github.token }}
37+
- name: assign techwriters to PR
38+
if: ${{steps.check-doc-changes.outputs.DOC_CHANGED == 'true'}}
39+
uses: kentaro-m/[email protected]
40+
with:
41+
configuration-path: ".github/auto_assign.yml"

0 commit comments

Comments
 (0)