Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
23 changes: 23 additions & 0 deletions .github/scripts/publish-gh-pages.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
#!/usr/bin/env bash
set -euo pipefail

# Copy Artifact Hub metadata into a gh-pages checkout, then commit and push
# every pending change (chart package, index.yaml, metadata) as one commit.

gh_pages_dir="${1:?usage: publish-gh-pages.sh <gh-pages-checkout> [commit-message]}"
commit_message="${2:-Publish Artifact Hub repository metadata}"
repo_root="$(cd "$(dirname "${BASH_SOURCE[0]}")/../.." && pwd)"

install -m 0644 "${repo_root}/artifacthub-repo.yml" "${gh_pages_dir}/artifacthub-repo.yml"
install -m 0644 /dev/null "${gh_pages_dir}/.nojekyll"

cd "${gh_pages_dir}"
git config user.name "${GITHUB_ACTOR}"
git config user.email "${GITHUB_ACTOR}@users.noreply.github.com"
git add -A
if git diff --cached --quiet; then
echo "gh-pages is already up to date"
exit 0
fi
git commit -m "${commit_message}"
git push origin gh-pages
73 changes: 0 additions & 73 deletions .github/workflows/chart-release.yaml

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -43,3 +43,6 @@ jobs:

- name: Helm template
run: make helm-template

- name: Build container image
run: docker build --platform linux/amd64 -t readability-js:ci .
28 changes: 2 additions & 26 deletions .github/workflows/codeql-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,43 +9,19 @@ on:

jobs:
CodeQL-Build:
# CodeQL runs on ubuntu-latest, windows-latest, and macos-latest
runs-on: ubuntu-latest

permissions:
# required for all workflows
security-events: write

# only required for workflows in private repositories
actions: read
contents: read

steps:
- name: Checkout repository
uses: actions/checkout@v6

# Initializes the CodeQL tools for scanning.
- name: Initialize CodeQL
uses: github/codeql-action/init@v4
# Override language selection by uncommenting this and choosing your languages
# with:
# languages: go, javascript, csharp, python, cpp, java, ruby

# Autobuild attempts to build any compiled languages (C/C++, C#, Go, or Java).
# If this step fails, then you should remove it and run the build manually (see below).
- name: Autobuild
uses: github/codeql-action/autobuild@v4

# ℹ️ Command-line programs to run using the OS shell.
# 📚 See https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_idstepsrun

# ✏️ If the Autobuild fails above, remove it and uncomment the following
# three lines and modify them (or add more) to build your code if your
# project uses a compiled language

#- run: |
# make bootstrap
# make release
with:
languages: javascript-typescript, actions

- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v4
Loading
Loading