Bump github/codeql-action from 3.26.7 to 3.26.8 #6765
Workflow file for this run
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: Lint | |
on: | |
pull_request: | |
push: | |
branches: | |
- master | |
permissions: | |
contents: read | |
jobs: | |
rubocop: | |
name: Rubocop | |
runs-on: ubuntu-24.04 | |
steps: | |
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7 | |
- uses: ruby/setup-ruby@f321cf5a4d1533575411f8752cf25b86478b0442 # v1.193.0 | |
with: | |
bundler-cache: true | |
- name: Rubocop | |
run: bundle exec rubocop | |
brakeman: | |
name: Brakeman | |
runs-on: ubuntu-24.04 | |
steps: | |
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7 | |
- uses: ruby/setup-ruby@f321cf5a4d1533575411f8752cf25b86478b0442 # v1.193.0 | |
with: | |
bundler-cache: true | |
- name: Brakeman | |
run: bundle exec brakeman | |
importmap: | |
name: Importmap Verify | |
runs-on: ubuntu-24.04 | |
steps: | |
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7 | |
- uses: ruby/setup-ruby@f321cf5a4d1533575411f8752cf25b86478b0442 # v1.193.0 | |
with: | |
bundler-cache: true | |
- name: Importmap Verify | |
run: bundle exec rake importmap:verify | |
kubeconform: | |
name: Kubeconform | |
runs-on: ubuntu-24.04 | |
strategy: | |
matrix: | |
kubernetes_version: ["1.29.1"] | |
environment: | |
- staging | |
- production | |
steps: | |
- name: login to Github Packages | |
run: echo "${{ github.token }}" | docker login https://ghcr.io -u ${GITHUB_ACTOR} --password-stdin | |
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7 | |
- uses: ruby/setup-ruby@f321cf5a4d1533575411f8752cf25b86478b0442 # v1.193.0 | |
with: | |
bundler-cache: true | |
- name: krane render | |
run: | | |
gem exec --silent krane render -f config/deploy/$ENVIRONMENT --bindings=environment=$ENVIRONMENT --current-sha=$REVISION > config/deploy/$ENVIRONMENT.rendered.yaml | |
env: | |
ENVIRONMENT: "${{ matrix.environment }}" | |
REVISION: "${{ github.sha }}" | |
- uses: actions/upload-artifact@50769540e7f4bd5e21e526ee35c689e35e0d6874 # v4.4.0 | |
with: | |
name: "${{ matrix.environment }}.rendered.yaml" | |
path: "config/deploy/${{ matrix.environment }}.rendered.yaml" | |
- name: kubeconform | |
uses: docker://ghcr.io/yannh/kubeconform@sha256:03f6b236ef64f20b4bc950209d6254b109e23b4b05e7811649f59eae5659fa58 # v0.6.3 | |
with: | |
entrypoint: "/kubeconform" | |
args: "-strict -summary -output json --kubernetes-version ${{ matrix.kubernetes_version }} config/deploy/${{ matrix.environment }}.rendered.yaml" | |
frizbee: | |
name: Frizbee | |
runs-on: ubuntu-24.04 | |
steps: | |
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7 | |
- uses: segiddins/frizbee-action@850cb44d2b091a22d542a608191f477a243a647d # segiddins/run-in-place | |
env: | |
GITHUB_TOKEN: ${{ github.token }} | |
with: | |
actions: '[".github/workflows", ".github/actions"]' | |
dockerfiles: '["./Dockerfile", ".devcontainer/Dockerfile"]' | |
docker_compose: '["./docker-compose.yml", ".devcontainer/docker-compose.yml"]' | |
fail_on_unpinned: true | |
open_pr: false | |
in_place: true |