From 648487a3871a2de0d7bdd92d3484cd8de90202ab Mon Sep 17 00:00:00 2001 From: Dan Fiedler Date: Sat, 5 Sep 2026 21:07:38 -0400 Subject: [PATCH] Pin GitHub Actions to full-length commit SHAs --- .github/dependabot.yml | 11 +++++++++++ .github/workflows/links-watcher.yml | 8 ++++---- 2 files changed, 15 insertions(+), 4 deletions(-) create mode 100644 .github/dependabot.yml diff --git a/.github/dependabot.yml b/.github/dependabot.yml new file mode 100644 index 0000000..2c48305 --- /dev/null +++ b/.github/dependabot.yml @@ -0,0 +1,11 @@ +version: 2 +updates: + - package-ecosystem: "github-actions" + directory: "/" + groups: + github-actions: + patterns: ["*"] + schedule: + interval: "weekly" + cooldown: + default-days: 7 diff --git a/.github/workflows/links-watcher.yml b/.github/workflows/links-watcher.yml index 7e892ed..3d22e8e 100644 --- a/.github/workflows/links-watcher.yml +++ b/.github/workflows/links-watcher.yml @@ -14,10 +14,10 @@ jobs: runs-on: ubuntu-latest steps: - name: "Checkout source code" - uses: actions/checkout@v4 + uses: actions/checkout@11d5960a326750d5838078e36cf38b85af677262 # v4.4.0 - name: Link Checker id: lychee - uses: lycheeverse/lychee-action@v2.2.0 + uses: lycheeverse/lychee-action@f796c8b7d468feb9b8c0a46da3fac0af6874d374 # v2.2.0 with: args: --verbose --no-progress --max-concurrency 2 --exclude-link-local --exclude-loopback './**/*.md' --exclude portal.azure.com --exclude developers.sap.com --exclude www.sap.com --exclude cal.sap.com --exclude sandbox.api.sap.com --exclude community.sap.com output: ./lychee/out.md @@ -26,7 +26,7 @@ jobs: GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}} - name: Find existing issue id: find_issue - uses: micalevisk/last-issue-action@v2 + uses: micalevisk/last-issue-action@0d40124cc99ac8601c2516007f0c98ef3d27537b # v2.3.0 if: failure() with: state: open @@ -34,7 +34,7 @@ jobs: broken link automated issue - name: Create or update issue for broken links - uses: peter-evans/create-issue-from-file@v5 + uses: peter-evans/create-issue-from-file@e8ef132d6df98ed982188e460ebb3b5d4ef3a9cd # v5.0.1 if: failure() with: title: Link Checker Report