Skip to content
Closed
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
36 changes: 36 additions & 0 deletions .github/workflows/plumber.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
name: Plumber

on:
push:
branches: [dev, master]
pull_request:

permissions:
contents: read

jobs:
plumber:
runs-on: ubuntu-latest
timeout-minutes: 10
permissions:
contents: read
security-events: write
# Needed by score-push to publish the score for the README badge.
id-token: write
steps:
- name: checkout repository
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1

- name: run plumber
uses: getplumber/plumber@40bd6b5bb8ff4f0944feacaeb41dea6bce08d62d # v0.4.28
with:
# Code scanning upload needs security-events write, which PRs
# from forks do not get. The report stays available as a
# workflow artifact there.
upload-sarif: ${{ github.event.pull_request.head.repo.fork != true }}
# Publishes the score to score.getplumber.io, which feeds the
# badge in the README. A failed push never fails the run.
score-push: true
# Gate at 85 points instead of the all-or-nothing default,
# leaves room for a small finding without blocking PRs.
min-points: 85
20 changes: 20 additions & 0 deletions .plumber.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
# Plumber overlay: inherits every control from the CLI's built-in
# baseline, only the differences for this repo are written here.
# Run 'plumber config resolve' to see the full effective config.
extends: plumber:default
version: "2.0"

github:
controls:
githubActionMustComeFromAuthorizedSources:
# Keep the curated default list and trust the niche platform
# actions this repo already relies on for its BSD, Solaris and
# arch-emulation builds, plus the release helpers.
includePlumberDefaults: true
trustedGithubActions:
- cross-platform-actions/action
- jirutka/setup-alpine
- ncipollo/release-action
- pozetroninc/github-action-get-latest-release
- uraimo/run-on-arch-action
- vmactions/solaris-vm
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
[![GitHub release (with filter)](https://img.shields.io/github/v/release/fastfetch-cli/fastfetch?logo=github)](https://github.com/fastfetch-cli/fastfetch/releases)
[![latest packaged version(s)](https://repology.org/badge/latest-versions/fastfetch.svg)](https://repology.org/project/fastfetch/versions)
[![Packaging status](https://repology.org/badge/tiny-repos/fastfetch.svg)](https://repology.org/project/fastfetch/versions)
[![Plumber Score](https://score.getplumber.io/github.com/fastfetch-cli/fastfetch.svg)](https://score.getplumber.io/github.com/fastfetch-cli/fastfetch)
[![Ask DeepWiki](https://deepwiki.com/badge.svg)](https://deepwiki.com/fastfetch-cli/fastfetch)
[![中文README](https://img.shields.io/badge/%E4%B8%AD%E6%96%87-README-red)](README-cn.md)

Expand Down