Skip to content

Commit e5b234d

Browse files
committed
ci: dispatch event post-build
Signed-off-by: Niccolò Fei <niccolo.fei@enterprisedb.com>
1 parent 1e4b622 commit e5b234d

2 files changed

Lines changed: 14 additions & 3 deletions

File tree

.github/workflows/bake.yml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,3 +51,15 @@ jobs:
5151
with:
5252
environment: ${{ github.event.inputs.environment }}
5353
postgresql_version: ${{ matrix.version }}
54+
55+
Catalogs:
56+
name: Update Catalogs
57+
needs: Bake
58+
runs-on: ubuntu-24.04
59+
permissions:
60+
contents: write
61+
steps:
62+
- name: Repository Dispatch
63+
uses: peter-evans/repository-dispatch@ff45666b9427631e3450c54a1bcbee4d9ff4d7c0 # v3
64+
with:
65+
event-type: update-catalogs

.github/workflows/catalogs.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,9 @@
11
name: catalogs-generator
22

33
on:
4-
push:
5-
schedule:
6-
- cron: "30 0 * * *"
74
workflow_dispatch:
5+
repository_dispatch:
6+
types: [update-catalogs]
87

98
permissions: read-all
109

0 commit comments

Comments
 (0)