From 65d8e373c9e9fbd3e4e6be5a9aff72e8ca93d3d9 Mon Sep 17 00:00:00 2001 From: Thomas Rooijakkers Date: Wed, 16 Oct 2024 16:49:03 +0200 Subject: [PATCH] Add to Sigrid --- .github/workflows/sigrid-publish.yml | 23 ++++++++++++++++++++++ .github/workflows/sigrid-pullrequest.yml | 25 ++++++++++++++++++++++++ 2 files changed, 48 insertions(+) create mode 100644 .github/workflows/sigrid-publish.yml create mode 100644 .github/workflows/sigrid-pullrequest.yml diff --git a/.github/workflows/sigrid-publish.yml b/.github/workflows/sigrid-publish.yml new file mode 100644 index 0000000..806a081 --- /dev/null +++ b/.github/workflows/sigrid-publish.yml @@ -0,0 +1,23 @@ +name: Publish to Sigrid +on: + push: + branches: + - main + +jobs: + sigridci: + runs-on: ubuntu-latest + steps: + - name: Check out repository + uses: actions/checkout@v4 + with: + fetch-depth: 0 + - name: Sigrid CI + uses: Software-Improvement-Group/sigridci@main + with: + customer: TNO + system: WuppieFuzz + subsystem: WuppieFuzz-Python + publishonly: true + env: + SIGRID_CI_TOKEN: "${{ secrets.SIGRID_CI_TOKEN }}" diff --git a/.github/workflows/sigrid-pullrequest.yml b/.github/workflows/sigrid-pullrequest.yml new file mode 100644 index 0000000..7b28c04 --- /dev/null +++ b/.github/workflows/sigrid-pullrequest.yml @@ -0,0 +1,25 @@ +name: Sigrid pull request feedback +on: [pull_request] + +jobs: + sigridci: + runs-on: ubuntu-latest + steps: + - name: Check out repository + uses: actions/checkout@v4 + with: + fetch-depth: 0 + - name: Sigrid CI + uses: Software-Improvement-Group/sigridci@main + with: + customer: TNO + system: WuppieFuzz + subsystem: WuppieFuzz-Python + env: + SIGRID_CI_TOKEN: "${{ secrets.SIGRID_CI_TOKEN }}" + - name: "Sigrid pull request feedback" + uses: mshick/add-pr-comment@v2 + if: always() + with: + message-id: sigrid + message-path: sigrid-ci-output/feedback.md