We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6ae934a commit 5e2bcecCopy full SHA for 5e2bcec
.github/workflows/update-cache.yml
@@ -0,0 +1,28 @@
1
+name: Update Releases Cache
2
+
3
+on:
4
+ repository_dispatch:
5
+ types: [update-catalog-cache]
6
+ workflow_dispatch:
7
8
+jobs:
9
+ update-cache:
10
+ runs-on: ubuntu-latest
11
+ permissions:
12
+ contents: write
13
14
+ steps:
15
+ - name: Checkout repository
16
+ uses: actions/checkout@v4
17
18
+ - name: Fetch releases from GitHub API
19
+ env:
20
+ GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
21
+ run: |
22
+ gh api --paginate repos/nullcpy/rvb/releases > releases.json
23
24
+ - name: Commit and push changes
25
+ uses: stefanzweifel/git-auto-commit-action@v5
26
+ with:
27
+ commit_message: "chore: auto-update releases cache from rvb dispatch"
28
+ file_pattern: releases.json
0 commit comments