Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
47 changes: 33 additions & 14 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
@@ -1,17 +1,36 @@
---
name: Lint
on:
pull_request:
branches: [main]
paths:
- 'src/pages/**'
name: Lint
on:
pull_request:
branches: [main]
paths:
- 'src/pages/**'

jobs:
lint:
runs-on: ubuntu-latest
permissions:
contents: read
pull-requests: write
steps:
- name: Checkout
uses: actions/checkout@v4

- name: Lint
id: lint
continue-on-error: true
run: npx --yes github:AdobeDocs/adp-devsite-utils runLint -v

jobs:
lint:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Post Linter Report to PR
if: always()
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
PR_ID: ${{ github.event.pull_request.number }}
GITHUB_REPOSITORY: ${{ github.repository }}
run: |
npm install --no-save github:AdobeDocs/adp-devsite-scripts
node node_modules/adp-devsite-scripts/linter-bot/postLinterReport.js
- name: Lint
run: npx --yes github:AdobeDocs/adp-devsite-utils runLint -v
- name: Fail if linter found errors
if: steps.lint.outcome == 'failure'
run: exit 1
1 change: 1 addition & 0 deletions src/pages/adp-site-metadata.json
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{"total":3,"offset":0,"limit":3,"data":[{"key":"contributors","value":null},{"key":"get-credentials","value":null},{"key":"site-wide-banner","value":null}],":type":"sheet"}
1 change: 1 addition & 0 deletions src/pages/contributors.json
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{"total":13,"offset":0,"limit":13,"data":[{"page":"/","avatars":["https://avatars.githubusercontent.com/u/14320591?v=4","https://avatars.githubusercontent.com/u/120194874?v=4"],"lastUpdated":"9/26/2025"},{"page":"/api/","avatars":["https://avatars.githubusercontent.com/u/14320591?v=4","https://avatars.githubusercontent.com/u/120194874?v=4"],"lastUpdated":"9/26/2025"},{"page":"/api/1-4","avatars":["https://avatars.githubusercontent.com/u/14320591?v=4"],"lastUpdated":"9/26/2025"},{"page":"/config","avatars":["https://avatars.githubusercontent.com/u/14320591?v=4"],"lastUpdated":"9/26/2025"},{"page":"/guides/","avatars":["https://avatars.githubusercontent.com/u/14320591?v=4","https://avatars.githubusercontent.com/u/120194874?v=4"],"lastUpdated":"9/26/2025"},{"page":"/guides/dummy_metrics_api/","avatars":["https://avatars.githubusercontent.com/u/120194874?v=4"],"lastUpdated":"10/25/2024"},{"page":"/guides/dummy_oauth_client/","avatars":["https://avatars.githubusercontent.com/u/120194874?v=4"],"lastUpdated":"10/25/2024"},{"page":"/guides/dummy_using_postman/","avatars":["https://avatars.githubusercontent.com/u/120194874?v=4"],"lastUpdated":"10/25/2024"},{"page":"/guides/migrating/","avatars":["https://avatars.githubusercontent.com/u/120194874?v=4"],"lastUpdated":"10/25/2024"},{"page":"/support/","avatars":["https://avatars.githubusercontent.com/u/14320591?v=4","https://avatars.githubusercontent.com/u/120194874?v=4"],"lastUpdated":"9/26/2025"},{"page":"/support/community/","avatars":["https://avatars.githubusercontent.com/u/14320591?v=4","https://avatars.githubusercontent.com/u/120194874?v=4"],"lastUpdated":"9/26/2025"},{"page":"/support/contribute/","avatars":["https://avatars.githubusercontent.com/u/14320591?v=4","https://avatars.githubusercontent.com/u/120194874?v=4"],"lastUpdated":"9/26/2025"},{"page":"/support/FAQ/","avatars":["https://avatars.githubusercontent.com/u/14320591?v=4","https://avatars.githubusercontent.com/u/120194874?v=4"],"lastUpdated":"9/26/2025"}],":type":"sheet"}