Bump docker/setup-buildx-action from 2 to 3 #1477
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: Main | |
on: | |
push: | |
branches: [main] | |
pull_request: | |
branches: [main, develop] | |
jobs: | |
PR_lint: | |
name: Pull Request style check | |
runs-on: ubuntu-latest | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
steps: | |
- name: Pull Request Style Check | |
# You may pin to the exact commit or the version. | |
# uses: maximbircu/pull-request-checkstyle@c28d5560bc74eb67e7a6fd431c3169f5908b8682 | |
uses: maximbircu/[email protected] | |
with: | |
# Regex to validate the commit message title (Validates just the first line of the commit message) | |
commit-message-title-regex: ".*" # optional, default is .* | |
# Min commit message title length (Validates just the first line of the commit message) | |
commit-message-title-min-length: 5 # optional, default is 10 | |
# Max commit message title length (Validates just the first line of the commit message) | |
commit-message-title-max-length: 180 # optional, default is 72 | |
# Regex to validate the branch name | |
branch-name-regex: '^dependabot\/.+|^[a-zA-Z0-9-_]+(\/){1}[a-zA-Z0-9-_]+$' # optional, default is .* | |
# Min branch name length | |
branch-name-min-length: 5 # optional, default is 10 | |
# Max branch name length | |
branch-name-max-length: 72 # optional, default is 72 | |
code_lint: | |
name: Lint Code Base | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
with: | |
# Full git history is needed to get a proper list of changed files within `super-linter` | |
fetch-depth: 0 | |
- name: Lint Code Base | |
uses: github/super-linter@v4 | |
env: | |
VALIDATE_ALL_CODEBASE: false | |
DEFAULT_BRANCH: main | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
# VALIDATE_JAVASCRIPT_ES: true | |
VALIDATE_JAVASCRIPT_STANDARD: false | |
VALIDATE_TYPESCRIPT_STANDARD: false | |
VALIDATE_MARKDOWN: false | |
VALIDATE_SQL: false | |
FILTER_REGEX_EXCLUDE: .*.husky.* | |
# Flag to have the linter complete with exit code 0 even if errors were detected. | |
# DISABLE_ERRORS: true | |
# build: | |
# uses: ./.github/workflows/build.yml |