Skip to content

Updatecli daily

Updatecli daily #1577

Workflow file for this run

---
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 12 * * *'
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/updatecli-action@v2"
- 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 }}
RELEASEPOST_GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}