Skip to content
Merged
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
9 changes: 6 additions & 3 deletions .github/workflows/stacklit-index.yml
Original file line number Diff line number Diff line change
@@ -1,12 +1,15 @@
name: Check stacklit index
name: Update stacklit index
on:
pull_request:
push:
branches: [master]
Copy link

Copilot AI Apr 13, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This workflow triggers only on master, but other workflows in this repo run on both master and main. If main is still used (or becomes the default branch), this index updater will stop running; consider including both branches ([master, main]) for consistency.

Suggested change
branches: [master]
branches: [master, main]

Copilot uses AI. Check for mistakes.

jobs:
stacklit:
Comment on lines +4 to 7
Copy link

Copilot AI Apr 13, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Because this workflow auto-commits, the resulting push to the same branch will re-trigger the workflow (at least once). To avoid redundant runs (and prevent potential loops if generated files vary), add paths-ignore for the generated outputs (e.g., stacklit.json and DEPENDENCIES.md) and/or guard with an if: that skips when the actor is the bot doing the commit.

Suggested change
branches: [master]
jobs:
stacklit:
branches: [master]
paths-ignore:
- stacklit.json
- DEPENDENCIES.md
jobs:
stacklit:
if: github.actor != 'github-actions[bot]'

Copilot uses AI. Check for mistakes.
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- uses: actions/checkout@v4
- uses: glincker/stacklit-action@v1
with:
mode: check
mode: auto-commit
Loading