20 lines
551 B
YAML
20 lines
551 B
YAML
name: validate-shared-actions
|
|
|
|
on:
|
|
pull_request:
|
|
|
|
permissions:
|
|
contents: read
|
|
|
|
jobs:
|
|
validate-shared-actions:
|
|
runs-on: stackit-ubuntu-22
|
|
steps:
|
|
- name: Checkout
|
|
uses: https://schmalz-git.git.onstackit.cloud/schmalz/shared-actions/checkout@checkout-v1
|
|
|
|
- name: Validate shared action metadata
|
|
uses: docker://data.forgejo.org/forgejo/runner:12
|
|
with:
|
|
entrypoint: /bin/sh
|
|
args: -ec "find . -mindepth 2 -maxdepth 2 -name action.yml -exec forgejo-runner validate --action --path {} \\;"
|