Skip to content

Merge pull request #9756 from wolfi-dev/wolfictl-fda50510-7708-438b-a… #20768

Merge pull request #9756 from wolfi-dev/wolfictl-fda50510-7708-438b-a…

Merge pull request #9756 from wolfi-dev/wolfictl-fda50510-7708-438b-a… #20768

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:1bb5c516c1e5a0d396868ba68912000f41b4821c5fadbb0176cd7af271c07d16
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
entrypoint: wolfictl
args: check update ${{ steps.files.outputs.all_changed_files }}