Skip to content

Commit c1f4575

Browse files
committed
Add workflows for Dependabot on-demand and after release triggers
1 parent 71c594b commit c1f4575

File tree

2 files changed

+41
-0
lines changed

2 files changed

+41
-0
lines changed
Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
name: After Release
2+
3+
on:
4+
release:
5+
types: [published]
6+
7+
permissions:
8+
contents: read
9+
10+
jobs:
11+
trigger-dependabot:
12+
runs-on: ubuntu-latest
13+
strategy:
14+
matrix:
15+
repo:
16+
- gofiber/contrib
17+
- gofiber/storage
18+
- gofiber/template
19+
- gofiber/cli
20+
- gofiber/boilerplate
21+
- gofiber/recipes
22+
steps:
23+
- uses: gofiber/.github/.github/actions/trigger-dependabot@main
24+
with:
25+
repo: ${{ matrix.repo }}
26+
reason: 'fiber ${{ github.event.release.tag_name }} released'
27+
token: ${{ secrets.DISPATCH_TOKEN }}
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
name: Dependabot On-Demand
2+
3+
on:
4+
repository_dispatch:
5+
types: [trigger-dependabot]
6+
workflow_dispatch:
7+
8+
permissions:
9+
contents: write
10+
pull-requests: write
11+
12+
jobs:
13+
update:
14+
uses: gofiber/.github/.github/workflows/dependabot-on-demand.yml@main

0 commit comments

Comments
 (0)