From fb057744655c88e3caeebb04954e7910457260e4 Mon Sep 17 00:00:00 2001 From: Daniel Antonsen <44880186+root4loot@users.noreply.github.com> Date: Fri, 4 Oct 2024 23:44:45 +0200 Subject: [PATCH] Add Bugcrowd, HackenProof, HackerOne, Intigriti, and YesWeHack test workflows --- .github/workflows/test-bugcrowd.yml | 24 ++++++++++++++++++++++++ .github/workflows/test-hackenproof.yml | 24 ++++++++++++++++++++++++ .github/workflows/test-hackerone.yml | 24 ++++++++++++++++++++++++ .github/workflows/test-intigriti.yml | 24 ++++++++++++++++++++++++ .github/workflows/test-yeswehack.yml | 24 ++++++++++++++++++++++++ .github/workflows/test.yml | 2 +- README.md | 7 ++++++- 7 files changed, 127 insertions(+), 2 deletions(-) create mode 100644 .github/workflows/test-bugcrowd.yml create mode 100644 .github/workflows/test-hackenproof.yml create mode 100644 .github/workflows/test-hackerone.yml create mode 100644 .github/workflows/test-intigriti.yml create mode 100644 .github/workflows/test-yeswehack.yml diff --git a/.github/workflows/test-bugcrowd.yml b/.github/workflows/test-bugcrowd.yml new file mode 100644 index 0000000..2c6e6d7 --- /dev/null +++ b/.github/workflows/test-bugcrowd.yml @@ -0,0 +1,24 @@ +name: Bugcrowd + +on: + schedule: + - cron: "0 8 * * *" + +jobs: + test: + runs-on: ubuntu-latest + + steps: + - name: Checkout code + uses: actions/checkout@v3 + + - name: Set up Go + uses: actions/setup-go@v4 + with: + go-version: "1.23" + + - name: Install Dependencies + run: go mod download + + - name: Run Bugcrowd Tests + run: go test -v ./pkg/bugbounty/bugcrowd/... diff --git a/.github/workflows/test-hackenproof.yml b/.github/workflows/test-hackenproof.yml new file mode 100644 index 0000000..6f2fc93 --- /dev/null +++ b/.github/workflows/test-hackenproof.yml @@ -0,0 +1,24 @@ +name: HackenProof + +on: + schedule: + - cron: "0 8 * * *" + +jobs: + test: + runs-on: ubuntu-latest + + steps: + - name: Checkout code + uses: actions/checkout@v3 + + - name: Set up Go + uses: actions/setup-go@v4 + with: + go-version: "1.23" + + - name: Install Dependencies + run: go mod download + + - name: Run HackenProof Tests + run: go test -v ./pkg/bugbounty/hackenproof/... diff --git a/.github/workflows/test-hackerone.yml b/.github/workflows/test-hackerone.yml new file mode 100644 index 0000000..8447a37 --- /dev/null +++ b/.github/workflows/test-hackerone.yml @@ -0,0 +1,24 @@ +name: HackerOne + +on: + schedule: + - cron: "0 8 * * *" + +jobs: + test: + runs-on: ubuntu-latest + + steps: + - name: Checkout code + uses: actions/checkout@v3 + + - name: Set up Go + uses: actions/setup-go@v4 + with: + go-version: "1.23" + + - name: Install Dependencies + run: go mod download + + - name: Run HackerOne Tests + run: go test -v ./pkg/bugbounty/hackerone/... diff --git a/.github/workflows/test-intigriti.yml b/.github/workflows/test-intigriti.yml new file mode 100644 index 0000000..17fc3b5 --- /dev/null +++ b/.github/workflows/test-intigriti.yml @@ -0,0 +1,24 @@ +name: Intigriti + +on: + schedule: + - cron: "0 8 * * *" + +jobs: + test: + runs-on: ubuntu-latest + + steps: + - name: Checkout code + uses: actions/checkout@v3 + + - name: Set up Go + uses: actions/setup-go@v4 + with: + go-version: "1.23" + + - name: Install Dependencies + run: go mod download + + - name: Run Intigriti Tests + run: go test -v ./pkg/bugbounty/intigriti/... diff --git a/.github/workflows/test-yeswehack.yml b/.github/workflows/test-yeswehack.yml new file mode 100644 index 0000000..f1983db --- /dev/null +++ b/.github/workflows/test-yeswehack.yml @@ -0,0 +1,24 @@ +name: YesWeHack + +on: + schedule: + - cron: "0 8 * * *" + +jobs: + test: + runs-on: ubuntu-latest + + steps: + - name: Checkout code + uses: actions/checkout@v3 + + - name: Set up Go + uses: actions/setup-go@v4 + with: + go-version: "1.23" + + - name: Install Dependencies + run: go mod download + + - name: Run YesWeHack Tests + run: go test -v ./pkg/bugbounty/yeswehack/... diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 8d7557c..b810bb6 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -1,4 +1,4 @@ -name: Test all +name: Test All on: push: diff --git a/README.md b/README.md index d0e4ee3..4ca92b0 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,11 @@ Logo -[![Test](https://github.com/root4loot/rescope/actions/workflows/test.yml/badge.svg?branch=main)](https://github.com/root4loot/rescope/actions/workflows/test.yml) +[![HackerOne](https://github.com/root4loot/rescope/actions/workflows/test-hackerone.yml/badge.svg?branch=main)](https://github.com/root4loot/rescope/actions/workflows/test-hackerone.yml) +[![Bugcrowd](https://github.com/root4loot/rescope/actions/workflows/test-bugcrowd.yml/badge.svg?branch=main)](https://github.com/root4loot/rescope/actions/workflows/test-bugcrowd.yml) +[![Intigriti](https://github.com/root4loot/rescope/actions/workflows/test-intigriti.yml/badge.svg?branch=main)](https://github.com/root4loot/rescope/actions/workflows/test-intigriti.yml) +[![YesWeHack](https://github.com/root4loot/rescope/actions/workflows/test-yeswehack.yml/badge.svg?branch=main)](https://github.com/root4loot/rescope/actions/workflows/test-yeswehack.yml) +[![HackenProof](https://github.com/root4loot/rescope/actions/workflows/test-hackenproof.yml/badge.svg?branch=main)](https://github.com/root4loot/rescope/actions/workflows/test-hackenproof.yml) +![Test CLI](https://github.com/root4loot/rescope/actions/workflows/test.yml/badge.svg?branch=main) ![Twitter Follow](https://img.shields.io/twitter/follow/danielantonsen.svg?style=dark)