-
-
Notifications
You must be signed in to change notification settings - Fork 5
40 lines (35 loc) · 925 Bytes
/
updatecli.yaml
File metadata and controls
40 lines (35 loc) · 925 Bytes
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
---
name: updatecli
on:
workflow_dispatch:
push:
branches:
- main
schedule:
# Run once a day
- cron: '*/10 * * * *'
permissions:
contents: write
pull-requests: write
jobs:
updatecli:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Diff
uses: updatecli/updatecli-action@v1.33.0
with:
command: diff
flags: "--config ./updatecli/updatecli.d"
env:
UPDATECLI_GITHUB_ACTOR: ${{ github.actor }}
UPDATECLI_GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Apply
uses: updatecli/updatecli-action@v1.33.0
with:
command: apply
flags: "--config ./updatecli/updatecli.d"
env:
UPDATECLI_GITHUB_ACTOR: ${{ secrets.UPDATECLI_BOT_GITHUB_ACTOR }}
UPDATECLI_GITHUB_TOKEN: ${{ secrets.UPDATECLI_BOT_GITHUB_TOKEN }}