Skip to content

Commit 3a1743f

Browse files
committed
chore: disable redundant scoop-update workflow (handled by goreleaser)
1 parent 7de9ecc commit 3a1743f

1 file changed

Lines changed: 32 additions & 0 deletions

File tree

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
name: Update Scoop Manifest
2+
3+
on:
4+
release:
5+
types: [published]
6+
7+
jobs:
8+
update:
9+
runs-on: ubuntu-latest
10+
steps:
11+
- name: Checkout Scoop Bucket
12+
uses: actions/checkout@v4
13+
with:
14+
repository: obay/scoop-bucket
15+
token: ${{ secrets.SCOOP_BUCKET_TOKEN }}
16+
path: scoop-bucket
17+
18+
- name: Download Release Asset
19+
uses: actions/download-artifact@v4
20+
with:
21+
name: scoop-manifest
22+
path: scoop-bucket
23+
24+
- name: Commit and Push
25+
run: |
26+
cd scoop-bucket
27+
git config user.name "github-actions[bot]"
28+
git config user.email "github-actions[bot]@users.noreply.github.com"
29+
git add .
30+
git commit -m "Update hsctl to ${{ github.event.release.tag_name }}" || exit 0
31+
git push
32+

0 commit comments

Comments
 (0)