feat: enable GitHub OAuth2 login by default on new deployments #782
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Docs CI | |
on: | |
push: | |
branches: | |
- main | |
paths: | |
- "docs/**" | |
- "**.md" | |
- ".github/workflows/docs-ci.yaml" | |
pull_request: | |
paths: | |
- "docs/**" | |
- "**.md" | |
- ".github/workflows/docs-ci.yaml" | |
permissions: | |
contents: read | |
jobs: | |
docs: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 | |
- name: Setup Node | |
uses: ./.github/actions/setup-node | |
- uses: tj-actions/changed-files@dcc7a0cba800f454d79fff4b993e8c3555bcc0a8 # v45.0.7 | |
id: changed-files | |
with: | |
files: | | |
docs/** | |
**.md | |
separator: "," | |
- name: lint | |
if: steps.changed-files.outputs.any_changed == 'true' | |
run: | | |
pnpm exec markdownlint-cli2 ${{ steps.changed-files.outputs.all_changed_files }} | |
- name: fmt | |
if: steps.changed-files.outputs.any_changed == 'true' | |
run: | | |
# markdown-table-formatter requires a space separated list of files | |
echo ${{ steps.changed-files.outputs.all_changed_files }} | tr ',' '\n' | pnpm exec markdown-table-formatter --check |