Skip to content

Commit bda5989

Browse files
authored
chore(ci): harden GitHub Actions (#36)
* chore(ci): harden github actions * chore(ci): add dependabot
1 parent 340e898 commit bda5989

4 files changed

Lines changed: 21 additions & 6 deletions

File tree

.github/dependabot.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
version: 2
2+
updates:
3+
- package-ecosystem: github-actions
4+
directory: /
5+
schedule:
6+
interval: weekly

.github/workflows/format.yml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,15 @@ on:
66
branches:
77
- main
88

9+
permissions: {}
10+
911
jobs:
1012
format:
1113
if: github.repository_owner == 'bombshell-dev'
12-
uses: bombshell-dev/automation/.github/workflows/format.yml@main
13-
secrets: inherit
14+
uses: bombshell-dev/automation/.github/workflows/format.yml@3a8b4a38fe464b0b51d14962ae416a169517fba9 # main as of 2026-05-13
15+
secrets:
16+
BOT_APP_ID: ${{ secrets.BOT_APP_ID }}
17+
BOT_PRIVATE_KEY: ${{ secrets.BOT_PRIVATE_KEY }}
1418
permissions:
1519
contents: write
1620
pull-requests: write

.github/workflows/preview.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,12 @@ on:
44
workflow_dispatch:
55
pull_request:
66

7+
permissions: {}
8+
79
jobs:
810
format:
911
if: github.repository_owner == 'bombshell-dev'
10-
uses: bombshell-dev/automation/.github/workflows/preview.yml@main
11-
secrets: inherit
12+
uses: bombshell-dev/automation/.github/workflows/preview.yml@3a8b4a38fe464b0b51d14962ae416a169517fba9 # main as of 2026-05-13
1213
permissions:
1314
contents: write
1415
pull-requests: write
Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,15 @@ on:
66
branches:
77
- main
88

9+
permissions: {}
10+
911
jobs:
1012
publish:
1113
if: github.repository_owner == 'bombshell-dev'
12-
uses: bombshell-dev/automation/.github/workflows/publish.yml@main
13-
secrets: inherit
14+
uses: bombshell-dev/automation/.github/workflows/publish.yml@3a8b4a38fe464b0b51d14962ae416a169517fba9 # main as of 2026-05-13
15+
secrets:
16+
BOT_APP_ID: ${{ secrets.BOT_APP_ID }}
17+
BOT_PRIVATE_KEY: ${{ secrets.BOT_PRIVATE_KEY }}
1418
permissions:
1519
contents: write
1620
pull-requests: write

0 commit comments

Comments
 (0)