Updatecli daily #173
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
name: "Updatecli daily" | |
on: | |
# run daily or manually | |
workflow_dispatch: | |
schedule: | |
# * is a special character in YAML so you have to quote this string | |
- cron: '0 * * * *' | |
permissions: | |
contents: write | |
pull-requests: write | |
jobs: | |
updatecli: | |
runs-on: ubuntu-latest | |
if: github.ref == 'refs/heads/main' | |
steps: | |
- name: "Checkout" | |
uses: "actions/checkout@v4" | |
- name: "Install updatecli" | |
uses: "updatecli/[email protected]" | |
with: | |
version: "v0.92.0" | |
- name: "Install Releasepost" | |
uses: "updatecli/[email protected]" | |
- name: Run Updatecli in enforce mode | |
run: "updatecli compose apply --file updatecli-compose.yaml" | |
env: | |
GITHUB_ACTOR: ${{ github.actor }} | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |