diff --git a/.github/workflows/activity_metrics.yml b/.github/workflows/activity_metrics.yml deleted file mode 100644 index 1e9a2b5d8..000000000 --- a/.github/workflows/activity_metrics.yml +++ /dev/null @@ -1,74 +0,0 @@ ---- -name: Z Activity - -on: - schedule: - - cron: "0 1 * * 0/4" - workflow_dispatch: - push: - branches: [main] - paths: [.github/workflows/activity_metrics.yml] - -permissions: {} - -concurrency: - group: ${{ github.workflow }}-${{ github.ref }} - cancel-in-progress: true - -jobs: - metrics-activity: - runs-on: ubuntu-latest - timeout-minutes: 30 - permissions: - contents: write - env: - projects_svg: metrics/plugin/projects/projects.svg - org-people_svg: metrics/plugin/people/org-people.svg - zi-repository-people_svg: metrics/plugin/people/zi-repository.svg - wiki-repository-people_svg: metrics/plugin/people/wiki-repository.svg - f-sy-h-repository-people_svg: metrics/plugin/people/f-sy-h-repository.svg - steps: - - uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 - - uses: lowlighter/metrics@65836723097537a54cd8eb90f61839426b4266b6 - with: - filename: ${{ env.projects_svg }} - token: ${{ secrets.ORG_TOKEN }} - base: "" - user: ${{ github.repository_owner }} - committer_branch: metrics - plugin_projects: yes - plugin_projects_descriptions: yes - plugin_projects_limit: 10 - - uses: lowlighter/metrics@65836723097537a54cd8eb90f61839426b4266b6 - with: - filename: ${{ env.zi-repository-people_svg }} - token: ${{ secrets.ORG_TOKEN }} - user: ${{ github.repository_owner }} - base: "" - committer_branch: metrics - template: repository - repo: zi - plugin_people: yes - plugin_people_types: contributors, stargazers - - uses: lowlighter/metrics@65836723097537a54cd8eb90f61839426b4266b6 - with: - filename: ${{ env.wiki-repository-people_svg }} - token: ${{ secrets.ORG_TOKEN }} - user: ${{ github.repository_owner }} - base: "" - committer_branch: metrics - template: repository - repo: wiki - plugin_people: yes - plugin_people_types: contributors, stargazers - - uses: lowlighter/metrics@65836723097537a54cd8eb90f61839426b4266b6 - with: - filename: ${{ env.f-sy-h-repository-people_svg }} - token: ${{ secrets.ORG_TOKEN }} - user: ${{ github.repository_owner }} - base: "" - committer_branch: metrics - template: repository - repo: F-Sy-H - plugin_people: yes - plugin_people_types: contributors, stargazers diff --git a/.github/workflows/gh-deploy-assets.yml b/.github/workflows/gh-deploy-assets.yml deleted file mode 100644 index ab1068fd1..000000000 --- a/.github/workflows/gh-deploy-assets.yml +++ /dev/null @@ -1,36 +0,0 @@ ---- -name: Deploy Assets - -on: - push: - branches: [main] - paths: ["profile/**"] - workflow_dispatch: {} - -permissions: {} - -concurrency: - group: ${{ github.workflow }}-${{ github.ref }} - cancel-in-progress: false - -jobs: - deploy: - runs-on: ubuntu-latest - environment: github-pages - permissions: - contents: write - steps: - - name: "⤵️ Check out code from GitHub" - uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3 - with: - fetch-depth: 0 - - name: "🚀 Deploy Profile to GitHub Pages" - if: github.ref == 'refs/heads/main' - uses: peaceiris/actions-gh-pages@84c30a85c19949d7eee79c4ff27748b70285e453 # v4.1.0 - with: - github_token: ${{ secrets.GITHUB_TOKEN }} - publish_branch: gh-pages - publish_dir: ./profile - keep_files: true - user_name: ${{ secrets.ACTIONS_USER }} - user_email: ${{ secrets.ACTIONS_MAIL }} diff --git a/.github/workflows/gh-push.yml b/.github/workflows/gh-push.yml deleted file mode 100644 index 433ce7479..000000000 --- a/.github/workflows/gh-push.yml +++ /dev/null @@ -1,40 +0,0 @@ ---- -name: Deploy GH Pages - -on: - workflow_run: - workflows: - - "🌀 Z PageSpeed Insights" - - "🌀 Z Activity" - - "🌀 Z Metrics" - - "🌀 Z Reader" - types: - - completed - workflow_dispatch: {} - -permissions: {} - -jobs: - deploy: - runs-on: ubuntu-latest - concurrency: - group: deploy-${{ github.head_ref || github.run_id }} - cancel-in-progress: true - permissions: - contents: write - pages: write - steps: - - name: "⤵️ Check out metrics branch" - uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3 - with: - ref: metrics - fetch-depth: 0 - - name: "🚀 Deploy Metrics to GitHub Pages" - uses: peaceiris/actions-gh-pages@84c30a85c19949d7eee79c4ff27748b70285e453 # v4.1.0 - with: - github_token: ${{ secrets.GITHUB_TOKEN }} - publish_branch: gh-pages - publish_dir: metrics - keep_files: true - user_name: ${{ secrets.ACTIONS_USER }} - user_email: ${{ secrets.ACTIONS_MAIL }} diff --git a/.github/workflows/zsh-n.yml b/.github/workflows/zsh-n.yml deleted file mode 100644 index 0fefd02bb..000000000 --- a/.github/workflows/zsh-n.yml +++ /dev/null @@ -1,59 +0,0 @@ ---- -name: Zsh -on: - workflow_call: {} - push: - paths: - - "**/*.zsh" - - "functions/*" - - "functions/.*" - pull_request: - paths: - - "**/*.zsh" - - "functions/*" - - "functions/.*" - workflow_dispatch: {} - -permissions: - contents: read - -concurrency: - group: ${{ github.workflow }}-${{ github.ref }} - cancel-in-progress: true - -jobs: - zsh-matrix: - runs-on: ubuntu-latest - outputs: - matrix: ${{ steps.set-matrix.outputs.matrix }} - steps: - - name: ⤵️ Check out code from GitHub - uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3 - - name: "⚡ Set matrix output" - id: set-matrix - run: | - MATRIX="$(find . -type d -name 'doc' -prune -o -type f \( -iname '*.zsh' -o -iname '*.ch' -o -iname 'fast-*' \) -print | jq -ncR '{"include": [{"file": inputs}]}')" - echo "MATRIX=${MATRIX}" >&2 - echo "matrix=${MATRIX}" >> $GITHUB_OUTPUT - zsh-n: - runs-on: ubuntu-latest - needs: zsh-matrix - strategy: - fail-fast: false - matrix: ${{ fromJSON(needs.zsh-matrix.outputs.matrix) }} - steps: - - name: ⤵️ Check out code from GitHub - uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3 - - name: "⚡ Install dependencies" - run: sudo apt update && sudo apt-get install -yq zsh - - name: "⚡ zsh -n: ${{ matrix.file }}" - env: - ZSH_FILE: ${{ matrix.file }} - run: | - zsh -n "${ZSH_FILE}" - - name: "⚡ zcompile ${{ matrix.file }}" - env: - ZSH_FILE: ${{ matrix.file }} - run: | - zsh -fc "zcompile ${ZSH_FILE}"; rc=$? - ls -al "${ZSH_FILE}.zwc"; exit "$rc"