Merge pull request #308 from github/node-updates #456
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: 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" |