Skip to content

Do not disable CKV_AWS_28 completely #86

Do not disable CKV_AWS_28 completely

Do not disable CKV_AWS_28 completely #86

Workflow file for this run

name: Lint GitHub Actions workflows
# yamllint disable-line rule:truthy
on: [push, pull_request]
permissions: read-all
jobs:
actionlint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Download actionlint
id: get_actionlint
# yamllint disable-line rule:line-length
run: bash <(curl https://raw.githubusercontent.com/rhysd/actionlint/main/scripts/download-actionlint.bash)
shell: bash
- name: Check workflow files
run: ${{ steps.get_actionlint.outputs.executable }} -color
shell: bash
commit-message:
runs-on: ubuntu-latest
if: github.event_name == 'pull_request'
steps:
- name: Checkout code
uses: actions/checkout@v4
with:
# checkout at the last commit
ref: ${{ github.event.pull_request.head.sha }}
# get all history
fetch-depth: 0
- name: Install gitlint
shell: bash
run: |
python -m pip install gitlint
- name: Run gitlint
shell: bash
run: |
gitlint --commits "${{ github.event.pull_request.base.sha }}..HEAD"