Skip to content

Wolfictl Update From GitHub #9233

Wolfictl Update From GitHub

Wolfictl Update From GitHub #9233

name: Wolfictl Update From GitHub
on:
workflow_dispatch:
# Triggers the workflow every hour
schedule:
- cron: "0 * * * *"
permissions:
contents: read
env:
GIT_AUTHOR_NAME: wolfi-bot
GIT_AUTHOR_EMAIL: [email protected]
jobs:
update:
name: Wolfictl Update
if: github.repository == 'wolfi-dev/os'
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: docker://ghcr.io/wolfi-dev/wolfictl:latest@sha256:4c9087d2c2fccf2c0f3470cfa695c605bc0dcd7bcbb1ee9c64f80f62d8e1cfdc
with:
entrypoint: wolfictl
args: update https://github.com/${{github.repository}} --release-monitoring-query=false --github-labels request-version-update --github-labels "automated pr"
env:
GITHUB_TOKEN: ${{ secrets.WOLFI_BOT_CLASSIC_PAT }}
GIT_AUTHOR_NAME: ${{ env.GIT_AUTHOR_NAME }}
GIT_AUTHOR_EMAIL: ${{ env.GIT_AUTHOR_EMAIL }}