Skip to content

Merge pull request #10339 from wolfi-dev/wolfictl-048dbaaf-835f-4bc2-… #22258

Merge pull request #10339 from wolfi-dev/wolfictl-048dbaaf-835f-4bc2-…

Merge pull request #10339 from wolfi-dev/wolfictl-048dbaaf-835f-4bc2-… #22258

name: Wolfictl Check Updates
on:
pull_request:
branches: ['main']
push:
branches:
- gh-readonly-queue/main/**
jobs:
lint:
name: Wolfictl Check Updates
runs-on: ubuntu-latest
permissions:
contents: read
steps:
- uses: actions/checkout@v4
- name: Get changed files
id: files
uses: tj-actions/changed-files@210cc839c24f532fe4fbf510b7b3314ca9a2b90b # v35.5.1
with:
separator: ' '
files: "*.yaml"
files_ignore: ".yam.yaml"
- name: Check
id: check
if: ${{ steps.files.outputs.all_changed_files != '' }}
uses: docker://ghcr.io/wolfi-dev/wolfictl:latest@sha256:ef58db775e9830f28dab689c060348df67f750216dd20ec31a6ae3949cc118dc
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
entrypoint: wolfictl
args: check update ${{ steps.files.outputs.all_changed_files }}