Skip to content

Commit

Permalink
chore(deps): bump super-linter/super-linter from 5 to 6
Browse files Browse the repository at this point in the history
Bumps [super-linter/super-linter](https://github.com/super-linter/super-linter) from 5 to 6.
- [Release notes](https://github.com/super-linter/super-linter/releases)
- [Changelog](https://github.com/super-linter/super-linter/blob/main/CHANGELOG.md)
- [Commits](super-linter/super-linter@v5...v6)

---
updated-dependencies:
- dependency-name: super-linter/super-linter
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <[email protected]>
  • Loading branch information
sbaerlocher committed Feb 16, 2024
1 parent d7af408 commit 782b8fc
Show file tree
Hide file tree
Showing 4 changed files with 32 additions and 33 deletions.
40 changes: 7 additions & 33 deletions .github/workflows/linter.yml
Original file line number Diff line number Diff line change
@@ -1,57 +1,31 @@
---
#################################
#################################
## Super Linter GitHub Actions ##
#################################
#################################
name: Lint Code Base

#
# Documentation:
# https://docs.github.com/en/actions/learn-github-actions/workflow-syntax-for-github-actions
#

#############################
# Start the job on all push #
#############################
on:
push:
branches-ignore: [master, main]
# Remove the line above to run when pushing to master
pull_request:
branches: [master, main]

###############
# Set the Job #
###############
permissions: {}
jobs:
build:
# Name the Job
name: Lint Code Base
# Set the agent to run on
runs-on: ubuntu-latest

##################
# Load all steps #
##################
permissions:
contents: read
packages: read
statuses: write

steps:
##########################
# Checkout the code base #
##########################
- name: Checkout Code
uses: actions/checkout@v4
with:
# Full git history is needed to get a proper
# list of changed files within `super-linter`
fetch-depth: 0

################################
# Run Linter against code base #
################################
- name: Lint Code Base
uses: super-linter/super-linter@v5
uses: super-linter/super-linter@v6.1.1
env:
# VALIDATE_ALL_CODEBASE: false
DEFAULT_BRANCH: main
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
VALIDATE_PYTHON_BLACK: false
5 changes: 5 additions & 0 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,15 @@ on:
release:
types: [published]

permissions: {}

jobs:
publish:
runs-on: ubuntu-latest

permissions:
contents: read

steps:
- uses: actions/checkout@v4

Expand Down
10 changes: 10 additions & 0 deletions roles/docker_compose/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,11 @@
group: root
mode: "0644"

rescue:
- name: Error handling if the service could not be created
ansible.builtin.debug:
msg: "The Docker Compose service could not be created. Please check the configuration and system logs."

- name: Launch Docker Compose based on specified configuration
become: true
community.docker.docker_compose:
Expand Down Expand Up @@ -78,3 +83,8 @@
tls_hostname: "{{ docker_compose_tls_hostname }}"
use_ssh_client: "{{ docker_compose_use_ssh_client }}"
validate_certs: "{{ docker_compose_validate_certs }}"

rescue:
- name: Handle undefined docker_compose_config variable
ansible.builtin.debug:
msg: "The variable 'docker_compose_v2_config' is not defined. Aborting the playbook due to missing configuration."
10 changes: 10 additions & 0 deletions roles/docker_compose_v2/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,11 @@
group: root
mode: "0644"

rescue:
- name: Error handling if the service could not be created
ansible.builtin.debug:
msg: "The Docker Compose service could not be created. Please check the configuration and system logs."

- name: Launch Docker Compose based on specified configuration
become: true
community.docker.docker_compose_v2:
Expand Down Expand Up @@ -67,3 +72,8 @@
pull: "{{ docker_compose_v2_pull }}"
scale: "{{ docker_compose_v2_scale }}"
services: "{{ docker_compose_v2_services }}"

rescue:
- name: Handle undefined docker_compose_v2_config variable
ansible.builtin.debug:
msg: "The variable 'docker_compose_v2_config' is not defined. Aborting the playbook due to missing configuration."

0 comments on commit 782b8fc

Please sign in to comment.