From b0098097994d399c3a07e6081c6b45b0902325fd Mon Sep 17 00:00:00 2001 From: Stefan Verhoeven Date: Fri, 11 Jun 2021 10:05:37 +0200 Subject: [PATCH 1/7] Document example workflows and make also test them Refs #79 --- .github/workflows/usage.yml | 22 ++++++------ README.md | 67 +++++++++++++++++++++---------------- 2 files changed, 50 insertions(+), 39 deletions(-) diff --git a/.github/workflows/usage.yml b/.github/workflows/usage.yml index 4640c42..eb26a6e 100644 --- a/.github/workflows/usage.yml +++ b/.github/workflows/usage.yml @@ -1,7 +1,6 @@ name: usage on: # run any PRs and main branch changes - pull_request: push: branches: - main @@ -11,25 +10,26 @@ on: # run any PRs and main branch changes workflow_dispatch: jobs: - - tortellini: + current-repository: runs-on: ubuntu-latest - steps: - uses: actions/checkout@v2 + - uses: tortellini-tools/action@main + - uses: actions/upload-artifact@v2 + with: + name: tortellini-results + path: .tortellini/out + + multiple-repositories: + runs-on: ubuntu-latest + steps: - run: | echo 'https://github.com/tortellini-tools/action' > urls.txt echo 'https://github.com/fair-software/howfairis' >> urls.txt - uses: tortellini-tools/action@main with: repositories: urls.txt - - run: tree -a -I '.git' -L 5 ./ - - uses: actions/upload-artifact@v2 with: name: tortellini-results - path: | - .tortellini - !.tortellini/in - !.tortellini/out/**/analyzer-result.yml - !.tortellini/out/**/evaluation-result.yml + path: .tortellini/out diff --git a/README.md b/README.md index 498a866..a6d5279 100644 --- a/README.md +++ b/README.md @@ -1,12 +1,12 @@

typescript-action status - linting-action status - tortellini-action status + linting-action status + tortellini-action status

# Tortellini GitHub Action -This action checks dependency licence issues using [ort](https://github.com/oss-review-toolkit/ort). +This action checks dependency license issues using [ort](https://github.com/oss-review-toolkit/ort).