Skip to content
Merged
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
110 changes: 55 additions & 55 deletions .github/ISSUE_TEMPLATE/01-bug-report.yml
Original file line number Diff line number Diff line change
@@ -1,59 +1,59 @@
name: Bug Report
description: Report a bug with the Bibliography block.
title: "[Bug]: "
title: '[Bug]: '
labels:
- bug
- bug
body:
- type: textarea
id: summary
attributes:
label: Summary
description: What is broken?
placeholder: Describe the bug clearly and directly.
validations:
required: true
- type: textarea
id: steps
attributes:
label: Reproduction steps
description: How can someone reproduce it?
placeholder: |
1. Add the Bibliography block to a post.
2. Paste this input: ...
3. Observe ...
validations:
required: true
- type: textarea
id: expected
attributes:
label: Expected behavior
placeholder: What should have happened instead?
validations:
required: true
- type: input
id: input-format
attributes:
label: Input format
description: What type of input triggered the issue?
placeholder: "DOI, BibTeX, mixed, or N/A"
validations:
required: false
- type: textarea
id: environment
attributes:
label: Environment
description: WordPress version, PHP version, browser, OS.
placeholder: |
WordPress: 6.7
PHP: 8.2
Browser: Chrome 130
OS: macOS 15
validations:
required: false
- type: textarea
id: notes
attributes:
label: Additional context
placeholder: Logs, screenshots, sample DOIs or BibTeX that triggered the issue.
validations:
required: false
- type: textarea
id: summary
attributes:
label: Summary
description: What is broken?
placeholder: Describe the bug clearly and directly.
validations:
required: true
- type: textarea
id: steps
attributes:
label: Reproduction steps
description: How can someone reproduce it?
placeholder: |
1. Add the Bibliography block to a post.
2. Paste this input: ...
3. Observe ...
validations:
required: true
- type: textarea
id: expected
attributes:
label: Expected behavior
placeholder: What should have happened instead?
validations:
required: true
- type: input
id: input-format
attributes:
label: Input format
description: What type of input triggered the issue?
placeholder: 'DOI, BibTeX, mixed, or N/A'
validations:
required: false
- type: textarea
id: environment
attributes:
label: Environment
description: WordPress version, PHP version, browser, OS.
placeholder: |
WordPress: 6.7
PHP: 8.2
Browser: Chrome 130
OS: macOS 15
validations:
required: false
- type: textarea
id: notes
attributes:
label: Additional context
placeholder: Logs, screenshots, sample DOIs or BibTeX that triggered the issue.
validations:
required: false
64 changes: 32 additions & 32 deletions .github/ISSUE_TEMPLATE/02-feature-request.yml
Original file line number Diff line number Diff line change
@@ -1,36 +1,36 @@
name: Feature Request
description: Propose an improvement or new feature.
title: "[Feature]: "
title: '[Feature]: '
labels:
- enhancement
- enhancement
body:
- type: textarea
id: problem
attributes:
label: Problem or opportunity
description: What need, gap, or friction are you trying to address?
placeholder: Describe the problem first.
validations:
required: true
- type: textarea
id: proposal
attributes:
label: Proposed change
description: What should the plugin do differently?
placeholder: Describe the requested capability or change.
validations:
required: true
- type: textarea
id: alternatives
attributes:
label: Alternatives considered
placeholder: Other approaches, workarounds, or reasons to defer.
validations:
required: false
- type: textarea
id: context
attributes:
label: Additional context
placeholder: Links, examples, mockups, or related issues.
validations:
required: false
- type: textarea
id: problem
attributes:
label: Problem or opportunity
description: What need, gap, or friction are you trying to address?
placeholder: Describe the problem first.
validations:
required: true
- type: textarea
id: proposal
attributes:
label: Proposed change
description: What should the plugin do differently?
placeholder: Describe the requested capability or change.
validations:
required: true
- type: textarea
id: alternatives
attributes:
label: Alternatives considered
placeholder: Other approaches, workarounds, or reasons to defer.
validations:
required: false
- type: textarea
id: context
attributes:
label: Additional context
placeholder: Links, examples, mockups, or related issues.
validations:
required: false
6 changes: 3 additions & 3 deletions .github/ISSUE_TEMPLATE/config.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
blank_issues_enabled: false
contact_links:
- name: Security report
url: https://github.com/dknauss/blibliography-block/security/advisories/new
about: Report security issues privately instead of opening a public issue.
- name: Security report
url: https://github.com/dknauss/blibliography-block/security/advisories/new
about: Report security issues privately instead of opening a public issue.
3 changes: 3 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,9 @@ jobs:
- name: Lint i18n artifacts
run: npm run lint:i18n

- name: Check formatting
run: npm run format:check

- name: Audit production npm dependencies
run: npm audit --omit=dev --omit=optional

Expand Down
100 changes: 50 additions & 50 deletions .github/workflows/codeql.yml
Original file line number Diff line number Diff line change
@@ -1,55 +1,55 @@
name: CodeQL

on:
push:
branches:
- main
- master
- 'codex/**'
pull_request:
schedule:
- cron: '23 7 * * 1'
push:
branches:
- main
- master
- 'codex/**'
pull_request:
schedule:
- cron: '23 7 * * 1'

jobs:
analyze:
name: Analyze (${{ matrix.language }})
runs-on: ubuntu-latest
permissions:
actions: read
contents: read
security-events: write
strategy:
fail-fast: false
matrix:
language: [javascript, actions]

steps:
- name: Checkout
uses: actions/checkout@v5

- name: Initialize CodeQL
uses: github/codeql-action/init@v4
with:
languages: ${{ matrix.language }}

- name: Set up Node.js
if: matrix.language == 'javascript'
uses: actions/setup-node@v5
with:
node-version: 22
cache: npm

- name: Install JS dependencies
if: matrix.language == 'javascript'
run: npm ci --legacy-peer-deps

- name: Build JavaScript
if: matrix.language == 'javascript'
run: npm run build

- name: Autobuild non-JavaScript languages
if: matrix.language != 'javascript'
uses: github/codeql-action/autobuild@v4

- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v4
analyze:
name: Analyze (${{ matrix.language }})
runs-on: ubuntu-latest
permissions:
actions: read
contents: read
security-events: write
strategy:
fail-fast: false
matrix:
language: [javascript, actions]

steps:
- name: Checkout
uses: actions/checkout@v5

- name: Initialize CodeQL
uses: github/codeql-action/init@v4
with:
languages: ${{ matrix.language }}

- name: Set up Node.js
if: matrix.language == 'javascript'
uses: actions/setup-node@v5
with:
node-version: 22
cache: npm

- name: Install JS dependencies
if: matrix.language == 'javascript'
run: npm ci --legacy-peer-deps

- name: Build JavaScript
if: matrix.language == 'javascript'
run: npm run build

- name: Autobuild non-JavaScript languages
if: matrix.language != 'javascript'
uses: github/codeql-action/autobuild@v4

- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v4
22 changes: 11 additions & 11 deletions .github/workflows/components.yml
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
name: Component contracts
on:
push:
pull_request:
push:
pull_request:
permissions:
contents: read
contents: read
jobs:
contracts:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: '3.12'
- run: python3 tools/check-components.py
contracts:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: '3.12'
- run: python3 tools/check-components.py
20 changes: 10 additions & 10 deletions .github/workflows/demo-links.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,17 +6,17 @@ name: Demo Link Monitor
# structural blueprint contract is already covered by src/blueprint.test.js.

on:
schedule:
- cron: '17 9 * * 1' # Mondays 09:17 UTC
workflow_dispatch:
schedule:
- cron: '17 9 * * 1' # Mondays 09:17 UTC
workflow_dispatch:

permissions:
contents: read
contents: read

jobs:
check-demo-links:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v5
- name: Check demo install URLs resolve
run: sh ./scripts/check-demo-links.sh
check-demo-links:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v5
- name: Check demo install URLs resolve
run: sh ./scripts/check-demo-links.sh
Loading
Loading