💡 This is a great place for showing what this action does.
Define a workflow in .github/workflows/mule-lint.yml
(or add a job if you already have defined workflows).
💡 Read more about Configuring a workflow.
on:
pull_request:
push:
branches:
- trunk
tags:
- "**"
name: "Run Mule Lint"
jobs:
github-action:
name: github-action
runs-on: ubuntu-latest
steps:
- name: "Checkout"
uses: actions/checkout@trunk
- name: "Run action"
uses: docker://cgorshing/github-action:latest
As Docker images are automatically built and pushed on a merge to trunk
or when a new tag is created in this repository, the recommended way to use this GitHub action is to reference the pre-built Docker image directly, as seen above.
💡 The Docker image can also be executed directly by running
$ docker run --interactive --rm --tty --workdir=/data --volume ${PWD}:/data cgorshing/github-action:latest
For more information, see the Docker Docs: Docker run reference.
Instead of using the latest pre-built Docker image, you can also specify a Docker image tag (which corresponds to the tags released on GitHub):
on:
pull_request:
push:
branches:
- trunk
tags:
- "**"
name: "Run Mule Lint"
jobs:
github-action:
name: github-action
runs-on: ubuntu-latest
steps:
- name: "Checkout"
uses: actions/checkout@trunk
- name: "Run action"
- uses: docker://cgorshing/github-action:latest
+ uses: docker://cgorshing/github-action:0.0.1
Please have a look at CHANGELOG.md
.
Please have a look at CONTRIBUTING.md
.
Please have a look at CODE_OF_CONDUCT.md
.
This package is licensed using the MIT License.