Browse Source

remove language badge github action

pull/1500/merge
o2sh 12 months ago
parent
commit
43958f611b
No known key found for this signature in database
GPG Key ID: E68B161DA72A5D7C
  1. 36
      .github/workflows/language-badge.yml
  2. 1
      README.md
  3. 1
      assets/language-badge.svg
  4. 1
      docs/README.ar.md
  5. 1
      docs/README.cn.md
  6. 1
      docs/README.cs.md
  7. 1
      docs/README.de.md
  8. 1
      docs/README.es.md
  9. 1
      docs/README.fa.md
  10. 1
      docs/README.fr.md
  11. 3
      docs/README.it.md
  12. 1
      docs/README.ja.md
  13. 1
      docs/README.kr.md
  14. 1
      docs/README.pl.md
  15. 1
      docs/README.ru.md

36
.github/workflows/language-badge.yml

@ -1,36 +0,0 @@ @@ -1,36 +0,0 @@
name: Generate Language Badge
on:
schedule:
# Once a week at midnight UTC
- cron: "0 0 * * 0"
workflow_dispatch:
jobs:
make-badge:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
with:
ref: ${{ github.event.pull_request.head.ref }}
token: ${{ secrets.BADGE_TOKEN }}
- name: Setup Rust
uses: actions-rust-lang/setup-rust-toolchain@v1
- name: Get Language Count
id: vars
run: echo "::set-output name=language_count::$(cargo run -- --languages | wc -l)"
- name: Get Badge
run: curl https://img.shields.io/badge/languages-${{ steps.vars.outputs.language_count }}-blue > ./assets/language-badge.svg
- name: Commit Badge
continue-on-error: true
run: |
git add ./assets/language-badge.svg
git config user.name "github-actions[bot]"
git config user.email "github-actions[bot]@users.noreply.github.com"
git commit -m "Update language badge [Skip CI]"
git push

1
README.md

@ -5,7 +5,6 @@ @@ -5,7 +5,6 @@
<p align="center">
<a href="https://crates.io/crates/onefetch"><img src="https://img.shields.io/crates/v/onefetch.svg" alt="cargo"></a>
<a href="https://github.com/o2sh/onefetch/actions"><img src="https://github.com/o2sh/onefetch/workflows/CI/badge.svg" alt="Build Status"></a>
<a href="https://onefetch.dev"><img src="assets/language-badge.svg"></a>
<a href="https://github.com/o2sh/onefetch/issues?q=is%3Aissue+is%3Aopen+label%3A%22help+wanted%22"><img src="https://img.shields.io/github/issues/o2sh/onefetch/help%20wanted?color=green" alt="help wanted"></a>
<a href="LICENSE.md"><img src="https://img.shields.io/badge/license-MIT-blue.svg"></a>
<img src="assets/msrv-badge.svg">

1
assets/language-badge.svg

@ -1 +0,0 @@ @@ -1 +0,0 @@
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="98" height="20" role="img" aria-label="languages: 109"><title>languages: 109</title><linearGradient id="s" x2="0" y2="100%"><stop offset="0" stop-color="#bbb" stop-opacity=".1"/><stop offset="1" stop-opacity=".1"/></linearGradient><clipPath id="r"><rect width="98" height="20" rx="3" fill="#fff"/></clipPath><g clip-path="url(#r)"><rect width="67" height="20" fill="#555"/><rect x="67" width="31" height="20" fill="#007ec6"/><rect width="98" height="20" fill="url(#s)"/></g><g fill="#fff" text-anchor="middle" font-family="Verdana,Geneva,DejaVu Sans,sans-serif" text-rendering="geometricPrecision" font-size="110"><text aria-hidden="true" x="345" y="150" fill="#010101" fill-opacity=".3" transform="scale(.1)" textLength="570">languages</text><text x="345" y="140" transform="scale(.1)" fill="#fff" textLength="570">languages</text><text aria-hidden="true" x="815" y="150" fill="#010101" fill-opacity=".3" transform="scale(.1)" textLength="210">109</text><text x="815" y="140" transform="scale(.1)" fill="#fff" textLength="210">109</text></g></svg>

Before

Width:  |  Height:  |  Size: 1.1 KiB

1
docs/README.ar.md

@ -5,7 +5,6 @@ @@ -5,7 +5,6 @@
<p align="center">
<a href="https://crates.io/crates/onefetch"><img src="https://img.shields.io/crates/v/onefetch.svg" alt="cargo"></a>
<a href="https://github.com/o2sh/onefetch/actions"><img src="https://github.com/o2sh/onefetch/workflows/CI/badge.svg" alt="Build Status"></a>
<a href="https://onefetch.dev"><img src="../assets/language-badge.svg"></a>
<a href="https://github.com/o2sh/onefetch/issues?q=is%3Aissue+is%3Aopen+label%3A%22help+wanted%22"><img src="https://img.shields.io/github/issues/o2sh/onefetch/help%20wanted?color=green" alt="help wanted"></a>
<a href="../LICENSE.md"><img src="https://img.shields.io/badge/license-MIT-blue.svg"></a>
<img src="../assets/msrv-badge.svg">

1
docs/README.cn.md

@ -5,7 +5,6 @@ @@ -5,7 +5,6 @@
<p align="center">
<a href="https://crates.io/crates/onefetch"><img src="https://img.shields.io/crates/v/onefetch.svg" alt="cargo"></a>
<a href="https://github.com/o2sh/onefetch/actions"><img src="https://github.com/o2sh/onefetch/workflows/CI/badge.svg" alt="Build Status"></a>
<a href="https://onefetch.dev"><img src="../assets/language-badge.svg"></a>
<a href="https://github.com/o2sh/onefetch/issues?q=is%3Aissue+is%3Aopen+label%3A%22help+wanted%22"><img src="https://img.shields.io/github/issues/o2sh/onefetch/help%20wanted?color=green" alt="help wanted"></a>
<a href="../LICENSE.md"><img src="https://img.shields.io/badge/license-MIT-blue.svg"></a>
<img src="../assets/msrv-badge.svg">

1
docs/README.cs.md

@ -5,7 +5,6 @@ @@ -5,7 +5,6 @@
<p align="center">
<a href="https://crates.io/crates/onefetch"><img src="https://img.shields.io/crates/v/onefetch.svg" alt="cargo"></a>
<a href="https://github.com/o2sh/onefetch/actions"><img src="https://github.com/o2sh/onefetch/workflows/CI/badge.svg" alt="Build Status"></a>
<a href="https://onefetch.dev"><img src="../assets/language-badge.svg"></a>
<a href="https://github.com/o2sh/onefetch/issues?q=is%3Aissue+is%3Aopen+label%3A%22help+wanted%22"><img src="https://img.shields.io/github/issues/o2sh/onefetch/help%20wanted?color=green" alt="help wanted"></a>
<a href="../LICENSE.md"><img src="https://img.shields.io/badge/license-MIT-blue.svg"></a>
<img src="../assets/msrv-badge.svg">

1
docs/README.de.md

@ -5,7 +5,6 @@ @@ -5,7 +5,6 @@
<p align="center">
<a href="https://crates.io/crates/onefetch"><img src="https://img.shields.io/crates/v/onefetch.svg" alt="cargo"></a>
<a href="https://github.com/o2sh/onefetch/actions"><img src="https://github.com/o2sh/onefetch/workflows/CI/badge.svg" alt="Build Status"></a>
<a href="https://onefetch.dev"><img src="../assets/language-badge.svg"></a>
<a href="https://github.com/o2sh/onefetch/issues?q=is%3Aissue+is%3Aopen+label%3A%22help+wanted%22"><img src="https://img.shields.io/github/issues/o2sh/onefetch/help%20wanted?color=green" alt="help wanted"></a>
<a href="../LICENSE.md"><img src="https://img.shields.io/badge/license-MIT-blue.svg"></a>
<img src="../assets/msrv-badge.svg">

1
docs/README.es.md

@ -5,7 +5,6 @@ @@ -5,7 +5,6 @@
<p align="center">
<a href="https://crates.io/crates/onefetch"><img src="https://img.shields.io/crates/v/onefetch.svg" alt="cargo"></a>
<a href="https://github.com/o2sh/onefetch/actions"><img src="https://github.com/o2sh/onefetch/workflows/CI/badge.svg" alt="Build Status"></a>
<a href="https://onefetch.dev"><img src="../assets/language-badge.svg"></a>
<a href="https://github.com/o2sh/onefetch/issues?q=is%3Aissue+is%3Aopen+label%3A%22help+wanted%22"><img src="https://img.shields.io/github/issues/o2sh/onefetch/help%20wanted?color=green" alt="help wanted"></a>
<a href="../LICENSE.md"><img src="https://img.shields.io/badge/license-MIT-blue.svg"></a>
<img src="../assets/msrv-badge.svg">

1
docs/README.fa.md

@ -7,7 +7,6 @@ @@ -7,7 +7,6 @@
<p align="center">
<a href="https://crates.io/crates/onefetch"><img src="https://img.shields.io/crates/v/onefetch.svg" alt="cargo"></a>
<a href="https://github.com/o2sh/onefetch/actions"><img src="https://github.com/o2sh/onefetch/workflows/CI/badge.svg" alt="Build Status"></a>
<a href="https://onefetch.dev"><img src="../assets/language-badge.svg"></a>
<a href="https://github.com/o2sh/onefetch/issues?q=is%3Aissue+is%3Aopen+label%3A%22help+wanted%22"><img src="https://img.shields.io/github/issues/o2sh/onefetch/help%20wanted?color=green" alt="help wanted"></a>
<a href="../LICENSE.md"><img src="https://img.shields.io/badge/license-MIT-blue.svg"></a>
<img src="../assets/msrv-badge.svg">

1
docs/README.fr.md

@ -5,7 +5,6 @@ @@ -5,7 +5,6 @@
<p align="center">
<a href="https://crates.io/crates/onefetch"><img src="https://img.shields.io/crates/v/onefetch.svg" alt="cargo"></a>
<a href="https://github.com/o2sh/onefetch/actions"><img src="https://github.com/o2sh/onefetch/workflows/CI/badge.svg" alt="Build Status"></a>
<a href="https://onefetch.dev"><img src="../assets/language-badge.svg"></a>
<a href="https://github.com/o2sh/onefetch/issues?q=is%3Aissue+is%3Aopen+label%3A%22help+wanted%22"><img src="https://img.shields.io/github/issues/o2sh/onefetch/help%20wanted?color=green" alt="help wanted"></a>
<a href="../LICENSE.md"><img src="https://img.shields.io/badge/license-MIT-blue.svg"></a>
<img src="../assets/msrv-badge.svg">

3
docs/README.it.md

@ -5,7 +5,6 @@ @@ -5,7 +5,6 @@
<p align="center">
<a href="https://crates.io/crates/onefetch"><img src="https://img.shields.io/crates/v/onefetch.svg" alt="cargo"></a>
<a href="https://github.com/o2sh/onefetch/actions"><img src="https://github.com/o2sh/onefetch/workflows/CI/badge.svg" alt="Build Status"></a>
<a href="https://onefetch.dev"><img src="../assets/language-badge.svg"></a>
<a href="https://github.com/o2sh/onefetch/issues?q=is%3Aissue+is%3Aopen+label%3A%22help+wanted%22"><img src="https://img.shields.io/github/issues/o2sh/onefetch/help%20wanted?color=green" alt="help wanted"></a>
<a href="../LICENSE.md"><img src="https://img.shields.io/badge/license-MIT-blue.svg"></a>
<img src="../assets/msrv-badge.svg">
@ -27,4 +26,4 @@ Al momento onefetch supporta più di [100 diversi linguaggi di programmazione](h @@ -27,4 +26,4 @@ Al momento onefetch supporta più di [100 diversi linguaggi di programmazione](h
I contributi sono molto graditi! Vedi [CONTRIBUTING](../CONTRIBUTING.md) per avere più informazioni.
### Altro: \[[Wiki](https://github.com/o2sh/onefetch/wiki)\] \[[Installazione](https://github.com/o2sh/onefetch/wiki/Installation)\] \[[Per iniziare](https://github.com/o2sh/onefetch/wiki/getting-started)\]
### Altro: \[[Wiki](https://github.com/o2sh/onefetch/wiki)\] \[[Installazione](https://github.com/o2sh/onefetch/wiki/Installation)\] \[[Per iniziare](https://github.com/o2sh/onefetch/wiki/getting-started)\]

1
docs/README.ja.md

@ -5,7 +5,6 @@ @@ -5,7 +5,6 @@
<p align="center">
<a href="https://crates.io/crates/onefetch"><img src="https://img.shields.io/crates/v/onefetch.svg" alt="cargo"></a>
<a href="https://github.com/o2sh/onefetch/actions"><img src="https://github.com/o2sh/onefetch/workflows/CI/badge.svg" alt="Build Status"></a>
<a href="https://onefetch.dev"><img src="../assets/language-badge.svg"></a>
<a href="https://github.com/o2sh/onefetch/issues?q=is%3Aissue+is%3Aopen+label%3A%22help+wanted%22"><img src="https://img.shields.io/github/issues/o2sh/onefetch/help%20wanted?color=green" alt="help wanted"></a>
<a href="../LICENSE.md"><img src="https://img.shields.io/badge/license-MIT-blue.svg"></a>
<img src="../assets/msrv-badge.svg">

1
docs/README.kr.md

@ -5,7 +5,6 @@ @@ -5,7 +5,6 @@
<p align="center">
<a href="https://crates.io/crates/onefetch"><img src="https://img.shields.io/crates/v/onefetch.svg" alt="cargo"></a>
<a href="https://github.com/o2sh/onefetch/actions"><img src="https://github.com/o2sh/onefetch/workflows/CI/badge.svg" alt="Build Status"></a>
<a href="https://onefetch.dev"><img src="../assets/language-badge.svg"></a>
<a href="https://github.com/o2sh/onefetch/issues?q=is%3Aissue+is%3Aopen+label%3A%22help+wanted%22"><img src="https://img.shields.io/github/issues/o2sh/onefetch/help%20wanted?color=green" alt="help wanted"></a>
<a href="../LICENSE.md"><img src="https://img.shields.io/badge/license-MIT-blue.svg"></a>
<img src="../assets/msrv-badge.svg">

1
docs/README.pl.md

@ -5,7 +5,6 @@ @@ -5,7 +5,6 @@
<p align="center">
<a href="https://crates.io/crates/onefetch"><img src="https://img.shields.io/crates/v/onefetch.svg" alt="cargo"></a>
<a href="https://github.com/o2sh/onefetch/actions"><img src="https://github.com/o2sh/onefetch/workflows/CI/badge.svg" alt="Build Status"></a>
<a href="https://onefetch.dev"><img src="../assets/language-badge.svg"></a>
<a href="https://github.com/o2sh/onefetch/issues?q=is%3Aissue+is%3Aopen+label%3A%22help+wanted%22"><img src="https://img.shields.io/github/issues/o2sh/onefetch/help%20wanted?color=green" alt="help wanted"></a>
<a href="../LICENSE.md"><img src="https://img.shields.io/badge/license-MIT-blue.svg"></a>
<img src="../assets/msrv-badge.svg">

1
docs/README.ru.md

@ -6,7 +6,6 @@ @@ -6,7 +6,6 @@
<p align="center">
<a href="https://crates.io/crates/onefetch"><img src="https://img.shields.io/crates/v/onefetch.svg" alt="cargo"></a>
<a href="https://github.com/o2sh/onefetch/actions"><img src="https://github.com/o2sh/onefetch/workflows/CI/badge.svg" alt="Build Status"></a>
<a href="https://onefetch.dev"><img src="../assets/language-badge.svg"></a>
<a href="https://github.com/o2sh/onefetch/issues?q=is%3Aissue+is%3Aopen+label%3A%22help+wanted%22"><img src="https://img.shields.io/github/issues/o2sh/onefetch/help%20wanted?color=green" alt="help wanted"></a>
<a href="../LICENSE.md"><img src="https://img.shields.io/badge/license-MIT-blue.svg"></a>
<img src="../assets/msrv-badge.svg">

Loading…
Cancel
Save