Skip to content

Merge pull request #345 from github/branch-ruleset-fixes #596

Merge pull request #345 from github/branch-ruleset-fixes

Merge pull request #345 from github/branch-ruleset-fixes #596

name: actions-config-validation
on:
push:
branches:
- main
pull_request:
workflow_dispatch:
permissions:
contents: read
pull-requests: write # enable write permissions for pull request comments
jobs:
actions-config-validation:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: actions-config-validation
uses: GrantBirki/json-yaml-validate@e42e6ece9b97f2b220274c909a9a98e380c2c9fd # pin@v3.2.1
with:
comment: "true" # enable comment mode
yaml_schema: "__tests__/schemas/action.schema.yml"
exclude_file: ".github/config/exclude.txt"