Skip to content
Merged
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
2 changes: 2 additions & 0 deletions .github/actionlint.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
self-hosted-runner:
labels: [hetzner]
2 changes: 1 addition & 1 deletion .github/workflows/pre-commit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,4 @@ name: Pre-commit

jobs:
pre-commit:
uses: Baker-scripts/.github/.github/workflows/pre-commit.yml@2e5b5141c1f6e8ea3e7dbc5f6dc0b07ffb7b8222 # main
uses: Baker-scripts/.github/.github/workflows/pre-commit.yml@3c1f3173b20fba4832b50116a455be4fc85a2ebc # main
26 changes: 26 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
---
name: Release

"on":
workflow_run:
workflows: [Pre-commit, ShellCheck]
types: [completed]
branches: [main]

permissions:
contents: read

jobs:
release:
name: Release
if: >-
github.event.workflow_run.event == 'push' &&
github.event.workflow_run.conclusion == 'success'
permissions:
contents: write
actions: read
uses: bakerboy448/.github/.github/workflows/release-calver-gated.yml@3f32d193e96c22760f874cc5ae35e0f072e0a173
with:
sha: ${{ github.event.workflow_run.head_sha }}
required_workflows: pre-commit.yml
optional_workflows: shellcheck.yml
2 changes: 1 addition & 1 deletion .github/workflows/shellcheck.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ permissions:
jobs:
shellcheck:
name: Run ShellCheck
runs-on: ubuntu-latest
runs-on: [self-hosted, Linux, X64, hetzner]
timeout-minutes: 5
steps:
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7
Expand Down
Loading