Skip to content

Commit

Permalink
Bump github/super-linter from 5 to 6 (#118)
Browse files Browse the repository at this point in the history
* Bump github/super-linter from 5 to 6

Bumps [github/super-linter](https://github.com/github/super-linter) from 5 to 6.
- [Release notes](https://github.com/github/super-linter/releases)
- [Changelog](https://github.com/github/super-linter/blob/main/CHANGELOG.md)
- [Commits](github/super-linter@v5...v6)

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

Signed-off-by: dependabot[bot] <support@github.com>

* Fix CKV2_GHA_1 issue

* Add healthcheck to dockerfile

Although I'm not sure this will be ever used

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Enol Fernandez <enol.fernandez@egi.eu>
  • Loading branch information
dependabot[bot] and enolfc authored Jun 20, 2024
1 parent d57397d commit 9b41726
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 1 deletion.
2 changes: 2 additions & 0 deletions .github/workflows/check-links.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@ name: Check links

on: [pull_request]

permissions: read-all

jobs:
markdown-link-check:
name: Check links using markdown-link-check
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@ on:
- main
pull_request:

permissions: read-all

jobs:
builder:
name: Build and push images
Expand Down
4 changes: 3 additions & 1 deletion .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@ name: Lint

on: [pull_request, push]

permissions: read-all

jobs:
super-lint:
name: Lint with Super-Linter
Expand All @@ -18,7 +20,7 @@ jobs:

# Runs the Super-Linter action
- name: Run Super-Linter on new changes
uses: github/super-linter@v5
uses: github/super-linter@v6
env:
DEFAULT_BRANCH: main
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
Expand Down
3 changes: 3 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -15,5 +15,8 @@ RUN pip3 install --no-cache-dir /egi-notebooks-hub
# Copy images to the right place so they are found
RUN cp -r /egi-notebooks-hub/static/* /usr/local/share/jupyterhub/static/

HEALTHCHECK --interval=5m --timeout=3s \
CMD curl -f http://localhost:8000/hub/health || exit 1

ARG NB_USER=jovyan
USER ${NB_USER}

0 comments on commit 9b41726

Please sign in to comment.