Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 15 additions & 0 deletions .github/workflows/build-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,23 @@ on:
workflow_dispatch:

jobs:
lint:
name: Lint Test
if: "${{ !endsWith(github.actor, '[bot]') }}"
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: projectdiscovery/actions/setup/go@v1
- name: Run golangci-lint
uses: projectdiscovery/actions/golangci-lint/v2@v1
with:
version: latest
args: --timeout 5m
working-directory: .

build:
name: Test Builds
needs: [lint]
runs-on: ${{ matrix.os }}
strategy:
matrix:
Expand Down
19 changes: 19 additions & 0 deletions .github/workflows/compat-checks.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
name: ♾️ Compatibility Checks

on:
pull_request:
types: [opened, synchronize]
branches:
- dev

jobs:
check:
if: github.actor == 'dependabot[bot]'
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- uses: actions/checkout@v4
- uses: projectdiscovery/actions/setup/go/compat-checks@master
with:
go-version-file: 'go.mod'
16 changes: 9 additions & 7 deletions .github/workflows/dep-auto-merge.yml
Original file line number Diff line number Diff line change
@@ -1,22 +1,24 @@
name: 🤖 dep auto merge
name: 🤖 Auto Merge

on:
pull_request:
branches:
- dev
workflow_dispatch:
pull_request_review:
types: [submitted]
workflow_run:
workflows: ["♾️ Compatibility Check"]
types:
- completed

permissions:
pull-requests: write
issues: write
repository-projects: write

jobs:
automerge:
auto-merge:
runs-on: ubuntu-latest
if: github.actor == 'dependabot[bot]'
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
token: ${{ secrets.DEPENDABOT_PAT }}

Expand Down
26 changes: 0 additions & 26 deletions .github/workflows/lint-test.yml

This file was deleted.