File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 44 workflow_dispatch :
55 schedule :
66 # Run at 12:00 every Saterday every 14 days
7- - cron : " 0 12 */14 * 6 "
7+ - cron : " 0 12 */14 * * "
88jobs :
99 updatecli :
1010 runs-on : ubuntu-latest
1313 uses : " actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8" # v6.0.1
1414 - name : " Setup updatecli"
1515 uses : " updatecli/updatecli-action@b846825b298f5351abd80f94c4f9eab63a38a804" # v2.98.0
16- with :
17- version : " v0.113.0-rc.1"
1816 - name : " Run updatecli"
1917 run : updatecli compose apply --clean-git-branches=true --experimental
2018 env :
Original file line number Diff line number Diff line change @@ -10,13 +10,13 @@ jobs:
1010 steps :
1111 - name : " Checkout"
1212 uses : " actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8" # v6.0.1
13+
1314 - name : " Setup updatecli"
1415 uses : " updatecli/updatecli-action@b846825b298f5351abd80f94c4f9eab63a38a804" # v2.98.0
15- with :
16- version : " v0.113.0-rc.1"
16+
1717 - name : " Test updatecli in dry-run mode"
1818 run : " updatecli compose diff"
1919 env :
2020 # This step is executed in untrusted context. We use a GitHub token with minimal permissions.
21- GITHUB_ACTOR : ${{ github.actor }}
22- GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
21+ UPDATECLI_GITHUB_USERNAME : ${{ github.actor }}
22+ UPDATECLI_GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
Original file line number Diff line number Diff line change 1616 uses : " actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8" # v6.0.1
1717 - name : " Setup updatecli"
1818 uses : " updatecli/updatecli-action@b846825b298f5351abd80f94c4f9eab63a38a804" # v2.98.0
19- with :
20- version : " v0.113.0-rc.1"
19+
20+ - name : " Run updatecli only on monitored pipelines"
21+ run : updatecli compose apply --clean-git-branches=true --labels="monitoring:enabled" --experimental
22+ env :
23+ UPDATECLI_GITHUB_APP_CLIENT_ID : ${{ secrets.UPDATECLIBOT_APP_ID }}
24+ UPDATECLI_GITHUB_APP_PRIVATE_KEY : ${{ secrets.UPDATECLIBOT_APP_PRIVKEY }}
25+ UPDATECLI_GITHUB_APP_INSTALLATION_ID : ${{ secrets.UPDATECLIBOT_APP_INSTALLATION_ID }}
26+ UPDATECLI_UDASH_API_URL : ${{ secrets.UPDATECLI_UDASH_API_URL }}
27+ UPDATECLI_UDASH_ACCESS_TOKEN : ${{ secrets.UPDATECLI_UDASH_ACCESS_TOKEN }}
28+ UPDATECLI_UDASH_URL : ${{ secrets.UPDATECLI_UDASH_URL }}
29+
2130 - name : " Run updatecli only on existing pipelines"
2231 run : updatecli compose apply --clean-git-branches=true --existing-only=true --experimental
2332 env :
You can’t perform that action at this time.
0 commit comments