Wolfictl Update From GitHub #6020
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: 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@v3 | |
- uses: docker://ghcr.io/wolfi-dev/wolfictl:latest@sha256:2525a165318ed14103d89a4d9e4adab449c241c7e41a221a128e45c8dbf75f37 | |
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 }} |