mirror of
https://github.com/actions/typescript-action.git
synced 2025-04-05 14:59:47 +00:00
add GrantBirki/json-yaml-validate
This commit is contained in:
2
.github/config/exclude.txt
vendored
Normal file
2
.github/config/exclude.txt
vendored
Normal file
@ -0,0 +1,2 @@
|
||||
# gitignore style exclude file for the GrantBirki/json-yaml-validate Action
|
||||
.github/
|
23
.github/workflows/json-yaml-validate.yml
vendored
Normal file
23
.github/workflows/json-yaml-validate.yml
vendored
Normal file
@ -0,0 +1,23 @@
|
||||
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@3add42f5fa8bfff04a3fe664d27a316736257ef1 # pin@v2.3.1
|
||||
with:
|
||||
comment: "true" # enable comment mode
|
||||
exclude_file: ".github/config/exclude.txt"
|
Reference in New Issue
Block a user