-
Notifications
You must be signed in to change notification settings - Fork 30
50 lines (43 loc) · 1.41 KB
/
update-deps.yaml
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
38
39
40
41
42
43
44
45
46
47
48
49
50
name: Update-deps workflow
on:
schedule:
- cron: "0 5 * * *" # everyday at 5AM UTC
workflow_dispatch:
inputs:
branch:
description: "Branch to update"
default: "main"
required: true
run-name: update-deps
env:
GIT_USER: ${{ secrets.GIT_USER }}
GH_TOKEN: ${{ secrets.GIT_TOKEN }}
AUTOMATOR_ORG: istio-ecosystem
AUTOMATOR_REPO: sail-operator
AUTOMATOR_BRANCH: ${{ inputs.branch || 'main' }}
jobs:
update-deps:
runs-on: ubuntu-latest
container:
image: gcr.io/istio-testing/build-tools:master-621a64a11b30f703b2e887df91862fffdd16112e
options: --entrypoint ''
steps:
- uses: actions/checkout@v4
with:
repository: istio/test-infra
ref: master
# this is a workaround for a permissions issue when using the istio build container
- run: git config --system --add safe.directory /__w/sail-operator/sail-operator
- name: Run Automator
run: |
./tools/automator/automator.sh \
--org=$AUTOMATOR_ORG \
--repo=sail-operator \
--branch=$AUTOMATOR_BRANCH \
'--title=Automator: Update dependencies in $AUTOMATOR_ORG/$AUTOMATOR_REPO@$AUTOMATOR_BRANCH' \
--labels=auto-merge \
--modifier=update_deps \
--token-env \
--cmd='BUILD_WITH_CONTAINER=0 ./tools/update_deps.sh' \
--signoff