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 2ae8823 commit 8b8df4d
Show file tree
Hide file tree
Showing 5 changed files with 49 additions and 143 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 }}
19 changes: 19 additions & 0 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
# 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 }}
permissions:
contents: write
22 changes: 0 additions & 22 deletions .github/workflows/reuse.yaml

This file was deleted.

121 changes: 0 additions & 121 deletions LICENSES/CC0-1.0.txt

This file was deleted.

0 comments on commit 8b8df4d

Please sign in to comment.