mirror of
https://github.com/arsvendg/Stirling-PDF.git
synced 2026-07-16 19:33:11 +02:00
chore(ci): consolidate Dependabot directories and pin GitHub Actions in workflow automation (#6172)
This commit is contained in:
+14
-32
@@ -16,7 +16,13 @@ updates:
|
|||||||
rebase-strategy: "auto"
|
rebase-strategy: "auto"
|
||||||
|
|
||||||
- package-ecosystem: "docker"
|
- package-ecosystem: "docker"
|
||||||
directory: "/" # Location of Dockerfile
|
directories:
|
||||||
|
- "/" # Location of Dockerfile
|
||||||
|
- "/docker/backend"
|
||||||
|
- "/docker/embedded"
|
||||||
|
- "/docker/frontend"
|
||||||
|
- "/docker/base"
|
||||||
|
- "/docker/engine"
|
||||||
schedule:
|
schedule:
|
||||||
interval: "weekly"
|
interval: "weekly"
|
||||||
rebase-strategy: "auto"
|
rebase-strategy: "auto"
|
||||||
@@ -28,37 +34,18 @@ updates:
|
|||||||
rebase-strategy: "auto"
|
rebase-strategy: "auto"
|
||||||
|
|
||||||
- package-ecosystem: npm
|
- package-ecosystem: npm
|
||||||
directory: /devTools
|
directories:
|
||||||
schedule:
|
- /devTools
|
||||||
interval: "weekly"
|
- /frontend
|
||||||
rebase-strategy: "auto"
|
|
||||||
|
|
||||||
- package-ecosystem: docker
|
|
||||||
directory: /docker/backend
|
|
||||||
schedule:
|
|
||||||
interval: "weekly"
|
|
||||||
rebase-strategy: "auto"
|
|
||||||
|
|
||||||
- package-ecosystem: docker
|
|
||||||
directory: /docker/embedded
|
|
||||||
schedule:
|
|
||||||
interval: "weekly"
|
|
||||||
rebase-strategy: "auto"
|
|
||||||
|
|
||||||
- package-ecosystem: docker
|
|
||||||
directory: /docker/frontend
|
|
||||||
schedule:
|
|
||||||
interval: "weekly"
|
|
||||||
rebase-strategy: "auto"
|
|
||||||
|
|
||||||
- package-ecosystem: npm
|
|
||||||
directory: /frontend
|
|
||||||
schedule:
|
schedule:
|
||||||
interval: "weekly"
|
interval: "weekly"
|
||||||
rebase-strategy: "auto"
|
rebase-strategy: "auto"
|
||||||
|
|
||||||
- package-ecosystem: cargo
|
- package-ecosystem: cargo
|
||||||
directory: /frontend/src-tauri
|
directories:
|
||||||
|
- /frontend/src-tauri
|
||||||
|
- /frontend/src-tauri/thumbnail-handler
|
||||||
|
- /frontend/src-tauri/provisioner
|
||||||
schedule:
|
schedule:
|
||||||
interval: "weekly"
|
interval: "weekly"
|
||||||
rebase-strategy: "auto"
|
rebase-strategy: "auto"
|
||||||
@@ -68,8 +55,3 @@ updates:
|
|||||||
schedule:
|
schedule:
|
||||||
interval: "weekly"
|
interval: "weekly"
|
||||||
rebase-strategy: "auto"
|
rebase-strategy: "auto"
|
||||||
|
|
||||||
- package-ecosystem: cargo
|
|
||||||
directory: /frontend/src-tauri/provisioner
|
|
||||||
schedule:
|
|
||||||
interval: daily
|
|
||||||
|
|||||||
@@ -5,6 +5,9 @@ on:
|
|||||||
branches: [main]
|
branches: [main]
|
||||||
pull_request:
|
pull_request:
|
||||||
|
|
||||||
|
permissions:
|
||||||
|
contents: read
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
engine:
|
engine:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
@@ -12,11 +15,16 @@ jobs:
|
|||||||
contents: read
|
contents: read
|
||||||
pull-requests: write
|
pull-requests: write
|
||||||
steps:
|
steps:
|
||||||
|
- name: Harden the runner (Audit all outbound calls)
|
||||||
|
uses: step-security/harden-runner@8d3c67de8e2fe68ef647c8db1e6a09f647780f40 # v2.19.0
|
||||||
|
with:
|
||||||
|
egress-policy: audit
|
||||||
|
|
||||||
- name: Checkout code
|
- name: Checkout code
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4.3.1
|
||||||
|
|
||||||
- name: Install uv
|
- name: Install uv
|
||||||
uses: astral-sh/setup-uv@v4
|
uses: astral-sh/setup-uv@38f3f104447c67c051c4a08e39b64a148898af3a # v4.2.0
|
||||||
with:
|
with:
|
||||||
enable-cache: true
|
enable-cache: true
|
||||||
|
|
||||||
@@ -60,7 +68,7 @@ jobs:
|
|||||||
- name: Comment on fixer failures
|
- name: Comment on fixer failures
|
||||||
if: steps.fixer_changes.outcome == 'failure' && github.event_name == 'pull_request'
|
if: steps.fixer_changes.outcome == 'failure' && github.event_name == 'pull_request'
|
||||||
continue-on-error: true
|
continue-on-error: true
|
||||||
uses: actions/github-script@v7
|
uses: actions/github-script@f28e40c7f34bde8b3046d885e986cb6290c5673b # v7.1.0
|
||||||
with:
|
with:
|
||||||
script: |
|
script: |
|
||||||
const marker = '<!-- engine-check -->';
|
const marker = '<!-- engine-check -->';
|
||||||
|
|||||||
@@ -26,7 +26,7 @@ jobs:
|
|||||||
jar_sha256: ${{ steps.hashes.outputs.jar_sha256 }}
|
jar_sha256: ${{ steps.hashes.outputs.jar_sha256 }}
|
||||||
steps:
|
steps:
|
||||||
- name: Harden Runner
|
- name: Harden Runner
|
||||||
uses: step-security/harden-runner@6c3c2f2c1c457b00c10c4848d6f5491db3b629df # v2.18.0
|
uses: step-security/harden-runner@8d3c67de8e2fe68ef647c8db1e6a09f647780f40 # v2.19.0
|
||||||
with:
|
with:
|
||||||
egress-policy: audit
|
egress-policy: audit
|
||||||
|
|
||||||
@@ -70,12 +70,12 @@ jobs:
|
|||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- name: Harden Runner
|
- name: Harden Runner
|
||||||
uses: step-security/harden-runner@v2
|
uses: step-security/harden-runner@8d3c67de8e2fe68ef647c8db1e6a09f647780f40 # v2.19.0
|
||||||
with:
|
with:
|
||||||
egress-policy: audit
|
egress-policy: audit
|
||||||
|
|
||||||
- name: Checkout repository (for PKGBUILD templates)
|
- name: Checkout repository (for PKGBUILD templates)
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4.3.1
|
||||||
|
|
||||||
- name: Update stirling-pdf-bin PKGBUILD
|
- name: Update stirling-pdf-bin PKGBUILD
|
||||||
env:
|
env:
|
||||||
@@ -118,7 +118,7 @@ jobs:
|
|||||||
|
|
||||||
- name: Publish stirling-pdf-server-bin to AUR
|
- name: Publish stirling-pdf-server-bin to AUR
|
||||||
if: ${{ github.event_name == 'release' || inputs.dry_run == false }}
|
if: ${{ github.event_name == 'release' || inputs.dry_run == false }}
|
||||||
uses: KSXGitHub/[email protected]
|
uses: KSXGitHub/github-actions-deploy-aur@2ac5a4c1d7035885d46b10e3193393be8460b6f1 # v4.1.1
|
||||||
with:
|
with:
|
||||||
pkgname: stirling-pdf-server-bin
|
pkgname: stirling-pdf-server-bin
|
||||||
pkgbuild: .github/aur/stirling-pdf-server-bin/PKGBUILD
|
pkgbuild: .github/aur/stirling-pdf-server-bin/PKGBUILD
|
||||||
|
|||||||
@@ -2,7 +2,7 @@ name: Update Package Manager Manifests
|
|||||||
|
|
||||||
on:
|
on:
|
||||||
release:
|
release:
|
||||||
types: [released]
|
types: [ released ]
|
||||||
workflow_dispatch:
|
workflow_dispatch:
|
||||||
inputs:
|
inputs:
|
||||||
version:
|
version:
|
||||||
@@ -29,7 +29,7 @@ jobs:
|
|||||||
jar_sha256: ${{ steps.hashes.outputs.jar_sha256 }}
|
jar_sha256: ${{ steps.hashes.outputs.jar_sha256 }}
|
||||||
steps:
|
steps:
|
||||||
- name: Harden Runner
|
- name: Harden Runner
|
||||||
uses: step-security/harden-runner@v2
|
uses: step-security/harden-runner@8d3c67de8e2fe68ef647c8db1e6a09f647780f40 # v2.19.0
|
||||||
with:
|
with:
|
||||||
egress-policy: audit
|
egress-policy: audit
|
||||||
|
|
||||||
@@ -82,12 +82,12 @@ jobs:
|
|||||||
contents: write
|
contents: write
|
||||||
steps:
|
steps:
|
||||||
- name: Harden Runner
|
- name: Harden Runner
|
||||||
uses: step-security/harden-runner@v2
|
uses: step-security/harden-runner@8d3c67de8e2fe68ef647c8db1e6a09f647780f40 # v2.19.0
|
||||||
with:
|
with:
|
||||||
egress-policy: audit
|
egress-policy: audit
|
||||||
|
|
||||||
- name: Checkout homebrew-stirling-pdf tap (also hosts Scoop bucket)
|
- name: Checkout homebrew-stirling-pdf tap (also hosts Scoop bucket)
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4.3.1
|
||||||
with:
|
with:
|
||||||
repository: Stirling-Tools/homebrew-stirling-pdf
|
repository: Stirling-Tools/homebrew-stirling-pdf
|
||||||
token: ${{ secrets.HOMEBREW_TAP_TOKEN }}
|
token: ${{ secrets.HOMEBREW_TAP_TOKEN }}
|
||||||
|
|||||||
Reference in New Issue
Block a user