-
Notifications
You must be signed in to change notification settings - Fork 0
37 lines (35 loc) · 1.08 KB
/
aqua.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
name: aqua
on:
pull_request:
paths:
- .config/aquaproj-aqua/aqua.yaml
- .config/aquaproj-aqua/aqua-checksums.json
jobs:
update-aqua-checksums:
runs-on: ubuntu-latest
defaults:
run:
working-directory: .config/aquaproj-aqua
steps:
- uses: actions/checkout@v4
with:
ref: ${{ github.head_ref }}
- uses: aquaproj/aqua-installer@f13c5d2f0357708d85477aabe50fd3f725528745
with:
aqua_version: v2.41.0
working_directory: .config/aquaproj-aqua
env:
AQUA_GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- run: |
git config user.name "github-actions[bot]"
git config user.email "41898282+github-actions[bot]@users.noreply.github.com"
- run: |
aqua update-checksum --prune
git add aqua-checksums.json
git commit -m "Update aqua checksum"
git push origin "refs/heads/${{ env.BRANCH }}"
env:
BRANCH: ${{ github.head_ref }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
permissions:
contents: write