Skip to content

Commit c8da785

Browse files
authored
fix: run stacklit action on push to master with auto-commit, not on PRs (#16)
1 parent 8b2e019 commit c8da785

1 file changed

Lines changed: 6 additions & 3 deletions

File tree

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,15 @@
1-
name: Check stacklit index
1+
name: Update stacklit index
22
on:
3-
pull_request:
3+
push:
4+
branches: [master]
45

56
jobs:
67
stacklit:
78
runs-on: ubuntu-latest
9+
permissions:
10+
contents: write
811
steps:
912
- uses: actions/checkout@v4
1013
- uses: glincker/stacklit-action@v1
1114
with:
12-
mode: check
15+
mode: auto-commit

0 commit comments

Comments
 (0)