chore: unpin gha in renovate and update link checker workflow
Signed-off-by: Devin Buhl <devin@buhl.casa>
This commit is contained in:
7 files changed
+39
-48
No files matched your search
@@ -7,12 +7,11 @@
|
|||||||
":dependencyDashboard",
|
":dependencyDashboard",
|
||||||
":semanticCommits",
|
":semanticCommits",
|
||||||
":automergeDigest",
|
":automergeDigest",
|
||||||
":automergeBranch",
|
":automergeBranch"
|
||||||
"helpers:pinGitHubActionDigests"
|
|
||||||
],
|
],
|
||||||
"dependencyDashboard": true,
|
"dependencyDashboard": true,
|
||||||
"dependencyDashboardTitle": "Renovate Dashboard 🤖",
|
"dependencyDashboardTitle": "Renovate Dashboard 🤖",
|
||||||
"suppressNotifications": ["prIgnoreNotification"],
|
"suppressNotifications": ["prEditedNotification", "prIgnoreNotification"],
|
||||||
"rebaseWhen": "conflicted",
|
"rebaseWhen": "conflicted",
|
||||||
"schedule": ["on saturday"],
|
"schedule": ["on saturday"],
|
||||||
"flux": {
|
"flux": {
|
||||||
|
|||||||
@@ -19,7 +19,7 @@ jobs:
|
|||||||
resource: ["helmrelease", "kustomization"]
|
resource: ["helmrelease", "kustomization"]
|
||||||
steps:
|
steps:
|
||||||
- name: Diff Resources
|
- name: Diff Resources
|
||||||
uses: allenporter/flux-local/action/diff@8a71acacb98e7332b3151f7e33325915f03b8463 # 4.2.0
|
uses: allenporter/flux-local/action/diff@4.2.0
|
||||||
id: diff
|
id: diff
|
||||||
with:
|
with:
|
||||||
sources: home-kubernetes
|
sources: home-kubernetes
|
||||||
@@ -28,7 +28,7 @@ jobs:
|
|||||||
|
|
||||||
- if: ${{ steps.diff.outputs.diff != '' }}
|
- if: ${{ steps.diff.outputs.diff != '' }}
|
||||||
name: Add comment
|
name: Add comment
|
||||||
uses: mshick/add-pr-comment@7c0890544fb33b0bdd2e59467fbacb62e028a096 # v2.8.1
|
uses: mshick/add-pr-comment@v2
|
||||||
with:
|
with:
|
||||||
repo-token: "${{ secrets.GITHUB_TOKEN }}"
|
repo-token: "${{ secrets.GITHUB_TOKEN }}"
|
||||||
message-id: "${{ github.event.pull_request.number }}/${{ matrix.path }}/${{ matrix.resource }}"
|
message-id: "${{ github.event.pull_request.number }}/${{ matrix.path }}/${{ matrix.resource }}"
|
||||||
|
|||||||
@@ -1,39 +0,0 @@
|
|||||||
---
|
|
||||||
name: "Link Check"
|
|
||||||
|
|
||||||
on:
|
|
||||||
workflow_dispatch:
|
|
||||||
schedule:
|
|
||||||
- cron: "0 0 * * 0"
|
|
||||||
|
|
||||||
jobs:
|
|
||||||
link-check:
|
|
||||||
name: Link Check
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
steps:
|
|
||||||
- name: Checkout
|
|
||||||
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
|
|
||||||
|
|
||||||
- name: Link Checker
|
|
||||||
uses: lycheeverse/lychee-action@ec3ed119d4f44ad2673a7232460dc7dff59d2421 # v1.8.0
|
|
||||||
id: lychee
|
|
||||||
env:
|
|
||||||
GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}"
|
|
||||||
|
|
||||||
- name: Find Link Checker Issue
|
|
||||||
id: link-checker-issue
|
|
||||||
uses: micalevisk/last-issue-action@f5661581217cc78cc282d1351aa65bd8bd155003 # v2.2.1
|
|
||||||
with:
|
|
||||||
state: open
|
|
||||||
labels: |
|
|
||||||
broken-links
|
|
||||||
|
|
||||||
- name: Update Issue
|
|
||||||
uses: peter-evans/create-issue-from-file@433e51abf769039ee20ba1293a088ca19d573b7f # v4.0.1
|
|
||||||
with:
|
|
||||||
title: Broken links detected 🔗
|
|
||||||
issue-number: "${{ steps.link-checker-issue.outputs.issue-number }}"
|
|
||||||
content-filepath: ./lychee/out.md
|
|
||||||
token: "${{ secrets.GITHUB_TOKEN }}"
|
|
||||||
labels: |
|
|
||||||
broken-links
|
|
||||||
@@ -0,0 +1,31 @@
|
|||||||
|
---
|
||||||
|
name: "Lychee"
|
||||||
|
|
||||||
|
on:
|
||||||
|
workflow_dispatch:
|
||||||
|
schedule:
|
||||||
|
- cron: "0 0 * * 0"
|
||||||
|
|
||||||
|
env:
|
||||||
|
WORKFLOW_ISSUE_NUMBER: 1061
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
lychee:
|
||||||
|
name: Lychee
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- name: Checkout
|
||||||
|
uses: actions/checkout@v4
|
||||||
|
|
||||||
|
- name: Scan for broken links
|
||||||
|
uses: lycheeverse/lychee-action@v1
|
||||||
|
with:
|
||||||
|
args: --verbose --no-progress --exclude-mail './**/*.md'
|
||||||
|
output: /tmp/results.md
|
||||||
|
|
||||||
|
- name: Update Issue
|
||||||
|
uses: peter-evans/create-issue-from-file@v4
|
||||||
|
with:
|
||||||
|
title: Link Checker Dashboard 🔗
|
||||||
|
issue-number: "${{ env.WORKFLOW_ISSUE_NUMBER }}"
|
||||||
|
content-filepath: /tmp/results.md
|
||||||
@@ -15,7 +15,7 @@ jobs:
|
|||||||
pull-requests: write
|
pull-requests: write
|
||||||
steps:
|
steps:
|
||||||
- name: Labeler
|
- name: Labeler
|
||||||
uses: actions/labeler@8558fd74291d67161a8a78ce36a881fa63b766a9 # v5.0.0
|
uses: actions/labeler@v5
|
||||||
with:
|
with:
|
||||||
configuration-path: .github/labeler.yaml
|
configuration-path: .github/labeler.yaml
|
||||||
repo-token: "${{ secrets.GITHUB_TOKEN }}"
|
repo-token: "${{ secrets.GITHUB_TOKEN }}"
|
||||||
@@ -13,10 +13,10 @@ jobs:
|
|||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
|
uses: actions/checkout@v4
|
||||||
|
|
||||||
- name: Sync Labels
|
- name: Sync Labels
|
||||||
uses: EndBug/label-sync@da00f2c11fdb78e4fae44adac2fdd713778ea3e8 # v2.3.2
|
uses: EndBug/label-sync@v2
|
||||||
with:
|
with:
|
||||||
config-file: .github/labels.yaml
|
config-file: .github/labels.yaml
|
||||||
token: "${{ secrets.GITHUB_TOKEN }}"
|
token: "${{ secrets.GITHUB_TOKEN }}"
|
||||||
|
|||||||
@@ -12,7 +12,7 @@ jobs:
|
|||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
|
uses: actions/checkout@v4
|
||||||
|
|
||||||
- name: Create Release
|
- name: Create Release
|
||||||
shell: bash
|
shell: bash
|
||||||
|
|||||||
Reference in new issue
Block a user