From f034986fbab17c417d741d2db5946c7802388928 Mon Sep 17 00:00:00 2001 From: pik4li <67532734+pik4li@users.noreply.github.com> Date: Thu, 26 Dec 2024 11:59:11 +0100 Subject: [PATCH] some changes --- .github/mkdocs.yml | 89 ---------------------------------- .github/workflows/bashisms.yml | 45 ----------------- .github/workflows/linutil.yml | 2 +- 3 files changed, 1 insertion(+), 135 deletions(-) delete mode 100644 .github/mkdocs.yml delete mode 100644 .github/workflows/bashisms.yml diff --git a/.github/mkdocs.yml b/.github/mkdocs.yml deleted file mode 100644 index 9f7e003..0000000 --- a/.github/mkdocs.yml +++ /dev/null @@ -1,89 +0,0 @@ -site_name: Chris Titus LinUtil Official Documentation -repo_url: https://github.com/ChrisTitusTech/linutil -docs_dir: '../docs' - -nav: - - Introduction: 'index.md' - - User Guide: 'userguide.md' - - Contributing: - - Contributing Guide: 'contributing.md' - - Roadmap: 'roadmap.md' - - Documentation: - - Known Issues: 'KnownIssues.md' - - FAQ: 'faq.md' - -theme: - name: material - custom_dir: '../overrides' - features: - - navigation.tabs - - navigation.sections - - toc.integrate - - navigation.top - - search.suggest - - search.highlight - - content.tabs.link - - content.code.annotation - - content.code.copy - language: en - logo: assets/favicon.png - favicon: assets/favicon.png - palette: - # Palette toggle for automatic mode - - media: "(prefers-color-scheme)" - toggle: - icon: material/brightness-auto - name: Switch to light mode - - # Palette toggle for light mode - - media: "(prefers-color-scheme: light)" - scheme: default - accent: blue - toggle: - icon: material/brightness-7 - name: Switch to dark mode - - # Palette toggle for dark mode - - media: "(prefers-color-scheme: dark)" - scheme: slate - primary: black - accent: blue - toggle: - icon: material/weather-night - name: Switch to light mode -markdown_extensions: - - admonition - - pymdownx.details - - pymdownx.superfences - - pymdownx.superfences: - custom_fences: - - name: mermaid - class: mermaid - format: !!python/name:pymdownx.superfences.fence_code_format - - abbr - - attr_list - - pymdownx.snippets - - md_in_html - - pymdownx.superfences - - pymdownx.tabbed: - alternate_style: true - - pymdownx.highlight: - anchor_linenums: true - line_spans: __span - pygments_lang_class: true - - pymdownx.inlinehilite - - def_list - - pymdownx.tasklist: - custom_checkbox: true - - toc: - permalink: true - -plugins: - - search - - awesome-pages - - git-revision-date-localized - - minify: - minify_html: true - htmlmin_opts: - remove_comments: true - cache_safe: true diff --git a/.github/workflows/bashisms.yml b/.github/workflows/bashisms.yml deleted file mode 100644 index 7ce39ef..0000000 --- a/.github/workflows/bashisms.yml +++ /dev/null @@ -1,45 +0,0 @@ -name: Check for bashisms - -on: - pull_request: - paths: - - core/tabs/** - merge_group: - workflow_dispatch: - -jobs: - check-bashisms: - runs-on: ubuntu-latest - - steps: - - uses: actions/checkout@v4 - - run: git fetch origin ${{ github.base_ref }} - - - name: Get a list of changed script files - id: get_sh_files - run: | - sh_files=$(git diff --name-only origin/${{ github.base_ref }} HEAD core/tabs | grep '\.sh$' || true) - if [ -n "$sh_files" ]; then - echo "$sh_files" > changed_files - echo "changed=1" >> $GITHUB_OUTPUT - else - echo "changed=0" >> $GITHUB_OUTPUT - fi - - - name: Install devscripts - if: steps.get_sh_files.outputs.changed == 1 - run: sudo apt-get update && sudo apt-get install devscripts - - - name: Check for bashisms - if: steps.get_sh_files.outputs.changed == 1 - run: | - echo "Running for:\n$(cat changed_files)\n" - for file in $(cat changed_files); do - if [[ -f "$file" ]]; then - checkbashisms "$file" - fi - done - - - name: Remove the created file - if: steps.get_sh_files.outputs.changed == 1 - run: rm changed_files diff --git a/.github/workflows/linutil.yml b/.github/workflows/linutil.yml index 517bf36..18ccb90 100644 --- a/.github/workflows/linutil.yml +++ b/.github/workflows/linutil.yml @@ -85,4 +85,4 @@ jobs: prerelease: true env: version: ${{ env.version }} - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} \ No newline at end of file + DOCKER_ACCESS_TOKEN: ${{ secrets.DOCKER_ACCESS_TOKEN }}