Skip to content

Wolfictl Update From GitHub #8510

Wolfictl Update From GitHub

Wolfictl Update From GitHub #8510

name: Wolfictl Update From GitHub
on:
workflow_dispatch:
# Triggers the workflow every hour
schedule:
- cron: "0 * * * *"
permissions:
contents: write
pull-requests: write
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:ef58db775e9830f28dab689c060348df67f750216dd20ec31a6ae3949cc118dc
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 }}