Skip to content

Commit

Permalink
Reuse workflows
Browse files Browse the repository at this point in the history
Signed-off-by: Steffen Vogel <steffen.vogel@opal-rt.com>
  • Loading branch information
stv0g committed Jun 15, 2024
1 parent 0264826 commit 153f17b
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 24 deletions.
20 changes: 4 additions & 16 deletions .github/workflows/mirror.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,19 +8,7 @@ name: Mirror to Codeberg
on: [push, delete]

jobs:
build:
name: Mirror

runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0

- uses: yesolutions/mirror-action@master
with:
REMOTE: git@codeberg.org:${{ github.repository }}.git
GIT_SSH_PRIVATE_KEY: ${{ secrets.CODEBERG_SSH_KEY }}
GIT_SSH_NO_VERIFY_HOST: "true"

mirror:
uses: cunicu/.github/.github/workflows/mirror.yaml@v0.1.0
secrets:
CODEBERG_SSH_KEY: ${{ secrets.CODEBERG_SSH_KEY }}
10 changes: 2 additions & 8 deletions .github/workflows/reuse.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,5 @@ on:
pull_request:

jobs:
test:
name: REUSE
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4

- name: REUSE Compliance Check
uses: fsfe/reuse-action@v3
reuse:
uses: cunicu/.github/.github/workflows/reuse.yaml@v0.1.0

0 comments on commit 153f17b

Please sign in to comment.