slawekjaranowski commented on code in PR #322:
URL: 
https://github.com/apache/maven-gh-actions-shared/pull/322#discussion_r4105992023


##########
README.md:
##########
@@ -19,3 +19,37 @@
 # Usage
 
 https://github.com/apache/maven-gh-actions-shared/
+
+## Actionlint
+
+Lint a repository's own GitHub Actions workflows with
+[actionlint](https://github.com/rhysd/actionlint) — workflow syntax, expression
+contexts, and embedded shell (via shellcheck). It runs through
+`github/super-linter` restricted to the GitHub Actions validator, because the 
ASF
+allowed-actions policy permits GitHub-owned actions but not the stand-alone
+actionlint action/image.
+
+Create `.github/workflows/actionlint.yml` in the consuming repository:
+
+```yaml
+name: Actionlint
+
+on:
+  push:
+    paths:
+      - '.github/workflows/**'
+  pull_request:
+    paths:
+      - '.github/workflows/**'

Review Comment:
   I would like to add `branches` in docs also



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to