diff --git a/.github/workflows/test-bugcrowd.yml b/.github/workflows/test-bugcrowd.yml index 2c6e6d7..2b065d4 100644 --- a/.github/workflows/test-bugcrowd.yml +++ b/.github/workflows/test-bugcrowd.yml @@ -1,6 +1,9 @@ name: Bugcrowd on: + push: + branches: + - main schedule: - cron: "0 8 * * *" diff --git a/.github/workflows/test-cli.yml b/.github/workflows/test-cli.yml index 92446fa..f783308 100644 --- a/.github/workflows/test-cli.yml +++ b/.github/workflows/test-cli.yml @@ -4,9 +4,6 @@ on: push: branches: - main - pull_request: - branches: - - main schedule: - cron: "0 8 * * *" diff --git a/.github/workflows/test-daily.yml b/.github/workflows/test-daily.yml deleted file mode 100644 index 8a3b8d6..0000000 --- a/.github/workflows/test-daily.yml +++ /dev/null @@ -1,23 +0,0 @@ -name: Test Daily - -on: - push: - branches: - - main - schedule: - - cron: "0 8 * * *" - -jobs: - test: - uses: ./.github/workflows/test.yml - - create_issue_if_failure: - if: failure() - runs-on: ubuntu-latest - steps: - - name: Create an issue for test failure - uses: peter-evans/create-issue-from-file@v4 - with: - title: "Test failure detected" - content-filepath: test_output.log - labels: bug diff --git a/.github/workflows/test-hackenproof.yml b/.github/workflows/test-hackenproof.yml index 6f2fc93..1acbef6 100644 --- a/.github/workflows/test-hackenproof.yml +++ b/.github/workflows/test-hackenproof.yml @@ -1,6 +1,9 @@ name: HackenProof on: + push: + branches: + - main schedule: - cron: "0 8 * * *" diff --git a/.github/workflows/test-hackerone.yml b/.github/workflows/test-hackerone.yml index 8447a37..92621fb 100644 --- a/.github/workflows/test-hackerone.yml +++ b/.github/workflows/test-hackerone.yml @@ -1,6 +1,9 @@ name: HackerOne on: + push: + branches: + - main schedule: - cron: "0 8 * * *" diff --git a/.github/workflows/test-intigriti.yml b/.github/workflows/test-intigriti.yml index 17fc3b5..bbb04a4 100644 --- a/.github/workflows/test-intigriti.yml +++ b/.github/workflows/test-intigriti.yml @@ -1,6 +1,9 @@ name: Intigriti on: + push: + branches: + - main schedule: - cron: "0 8 * * *" diff --git a/.github/workflows/test-yeswehack.yml b/.github/workflows/test-yeswehack.yml index f1983db..ad3858f 100644 --- a/.github/workflows/test-yeswehack.yml +++ b/.github/workflows/test-yeswehack.yml @@ -1,6 +1,9 @@ name: YesWeHack on: + push: + branches: + - main schedule: - cron: "0 8 * * *" diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml deleted file mode 100644 index b810bb6..0000000 --- a/.github/workflows/test.yml +++ /dev/null @@ -1,30 +0,0 @@ -name: Test All - -on: - push: - branches: - - main - pull_request: - branches: - - main - workflow_call: - -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 Tests - run: | - go list ./... | xargs -I {} sh -c 'go test -v {} || [ $? -eq 5 ]'