Skip to content

Commit

Permalink
Merge pull request #139 from github/action-config-validation
Browse files Browse the repository at this point in the history
Action Config Validation
  • Loading branch information
GrantBirki committed Mar 28, 2023
2 parents 206e3e8 + 7c90dde commit af92ebe
Show file tree
Hide file tree
Showing 3 changed files with 400 additions and 1 deletion.
24 changes: 24 additions & 0 deletions .github/workflows/actions-config-validation.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
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@v3.5.0

- name: actions-config-validation
uses: GrantBirki/json-yaml-validate@v1.2.0
with:
comment: "true" # enable comment mode
yaml_schema: "__tests__/schemas/action.schema.yml"
yaml_exclude_regex: "^(?!./action.yml$).*$"
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Branch Deploy Action 🚀

[![CodeQL](https://github.com/github/branch-deploy/actions/workflows/codeql-analysis.yml/badge.svg)](https://github.com/github/branch-deploy/actions/workflows/codeql-analysis.yml) [![test](https://github.com/github/branch-deploy/actions/workflows/test.yml/badge.svg)](https://github.com/github/branch-deploy/actions/workflows/test.yml) [![package-check](https://github.com/github/branch-deploy/actions/workflows/package-check.yml/badge.svg)](https://github.com/github/branch-deploy/actions/workflows/package-check.yml) [![lint](https://github.com/github/branch-deploy/actions/workflows/lint.yml/badge.svg)](https://github.com/github/branch-deploy/actions/workflows/lint.yml) [![coverage](./badges/coverage.svg)](./badges/coverage.svg)
[![CodeQL](https://github.com/github/branch-deploy/actions/workflows/codeql-analysis.yml/badge.svg)](https://github.com/github/branch-deploy/actions/workflows/codeql-analysis.yml) [![test](https://github.com/github/branch-deploy/actions/workflows/test.yml/badge.svg)](https://github.com/github/branch-deploy/actions/workflows/test.yml) [![package-check](https://github.com/github/branch-deploy/actions/workflows/package-check.yml/badge.svg)](https://github.com/github/branch-deploy/actions/workflows/package-check.yml) [![lint](https://github.com/github/branch-deploy/actions/workflows/lint.yml/badge.svg)](https://github.com/github/branch-deploy/actions/workflows/lint.yml) [![actions-config-validation](https://github.com/github/branch-deploy/actions/workflows/actions-config-validation.yml/badge.svg)](https://github.com/github/branch-deploy/actions/workflows/actions-config-validation.yml) [![coverage](./badges/coverage.svg)](./badges/coverage.svg)

A GitHub Action to enable branch deployments using IssueOps!

Expand Down
Loading

0 comments on commit af92ebe

Please sign in to comment.