Update #8772
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: Update | |
on: | |
workflow_dispatch: | |
pull_request: | |
schedule: | |
- cron: "* 12 * * *" | |
permissions: | |
contents: "write" | |
pull-requests: "write" | |
jobs: | |
update: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Install UpdateCLI | |
uses: updatecli/updatecli-action@v2 | |
- name: Run UpdateCLI | |
id: updatecli | |
run: | | |
output=$(updatecli apply --push=false) | |
echo $output | |
output="${output//$'\n'/\\n}" | |
echo "stdout=$output" >> $GITHUB_OUTPUT | |
- name: Create Pull Request | |
uses: peter-evans/create-pull-request@v6 | |
if: github.event_name != 'pull_request' | |
with: | |
token: ${{ secrets.UPDATECLI_GITHUB_TOKEN }} | |
commit-message: 'chore: bumped base image digest' | |
signoff: false | |
title: 'chore: bumped base image digest' | |
body: ${{ steps.updatecli.outputs.stdout }} |