Skip to content

Commit

Permalink
feat(ci): Reuse workflows
Browse files Browse the repository at this point in the history
Signed-off-by: Steffen Vogel <[email protected]>
  • Loading branch information
stv0g committed Jun 15, 2024
1 parent 5e11f0d commit 96e3025
Show file tree
Hide file tree
Showing 3 changed files with 47 additions and 0 deletions.
16 changes: 16 additions & 0 deletions .github/workflows/check.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
# SPDX-FileCopyrightText: 2023-2024 Steffen Vogel <[email protected]>
# SPDX-License-Identifier: Apache-2.0

# yaml-language-server: $schema=https://raw.githubusercontent.com/SchemaStore/schemastore/master/src/schemas/json/github-workflow.json
---
name: Compliance Checks

on:
push:
branches:
- main
pull_request:

jobs:
reuse:
uses: cunicu/.github/.github/workflows/[email protected]
14 changes: 14 additions & 0 deletions .github/workflows/mirror.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
# SPDX-FileCopyrightText: 2023-2024 Steffen Vogel <[email protected]>
# SPDX-License-Identifier: Apache-2.0

# yaml-language-server: $schema=https://raw.githubusercontent.com/SchemaStore/schemastore/master/src/schemas/json/github-workflow.json
---
name: Mirror to Codeberg

on: [push, delete]

jobs:
mirror:
uses: cunicu/.github/.github/workflows/[email protected]
secrets:
CODEBERG_SSH_KEY: ${{ secrets.CODEBERG_SSH_KEY }}
17 changes: 17 additions & 0 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
# SPDX-FileCopyrightText: 2023-2024 Steffen Vogel <[email protected]>
# SPDX-License-Identifier: Apache-2.0

# yaml-language-server: $schema=https://raw.githubusercontent.com/SchemaStore/schemastore/master/src/schemas/json/github-workflow.json
---
name: Release

on:
push:
branches:
- main

jobs:
semver-tag:
uses: cunicu/.github/.github/workflows/[email protected]
secrets:
PAT: ${{ secrets.PAT }}

0 comments on commit 96e3025

Please sign in to comment.