aboutsummaryrefslogtreecommitdiffstats
path: root/.github/workflows/fossier-scan.yml
diff options
context:
space:
mode:
Diffstat (limited to '.github/workflows/fossier-scan.yml')
-rw-r--r--.github/workflows/fossier-scan.yml51
1 files changed, 0 insertions, 51 deletions
diff --git a/.github/workflows/fossier-scan.yml b/.github/workflows/fossier-scan.yml
deleted file mode 100644
index 5c89be67..00000000
--- a/.github/workflows/fossier-scan.yml
+++ /dev/null
@@ -1,51 +0,0 @@
-name: Fossier Scan All PRs
-
-on:
- workflow_dispatch:
- inputs:
- dry-run:
- description: "Dry run - evaluate but don't take actions"
- type: boolean
- default: false
-
-permissions:
- contents: read
- pull-requests: write
- issues: write
-
-jobs:
- scan:
- runs-on: ubuntu-latest
- steps:
- - uses: actions/checkout@v4
-
- - name: Set up uv
- uses: astral-sh/setup-uv@v4
-
- - name: Set up Python
- uses: actions/setup-python@v5
- with:
- python-version: "3.13"
-
- - name: Install fossier
- run: uv tool install git+https://github.com/pthorpe92/fossier.git
-
- - name: Restore DB cache
- uses: actions/cache@v4
- with:
- path: .fossier.db
- key: fossier-db-${{ github.repository }}
- restore-keys: |
- fossier-db-${{ github.repository }}
-
- - name: Scan open PRs
- env:
- GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- run: |
- FLAGS="--format table"
- if [ "${{ inputs.dry-run }}" = "true" ]; then
- FLAGS="$FLAGS --dry-run"
- else
- FLAGS="$FLAGS --execute"
- fi
- fossier scan $FLAGS