diff --git a/.github/dependabot.yml b/.github/dependabot.yml index 52749352..c2aa450a 100644 --- a/.github/dependabot.yml +++ b/.github/dependabot.yml @@ -6,18 +6,6 @@ version: 2 updates: - # Maintain dependencies for GitHub Actions - - package-ecosystem: "github-actions" - directory: "/" - schedule: - interval: "weekly" - target-branch: "dev" - commit-message: - prefix: "chore" - include: "scope" - labels: - - "Type: Maintenance" - # Maintain dependencies for go modules - package-ecosystem: "gomod" directory: "/" @@ -30,14 +18,26 @@ updates: labels: - "Type: Maintenance" - # Maintain dependencies for docker - - package-ecosystem: "docker" - directory: "/" - schedule: - interval: "weekly" - target-branch: "dev" - commit-message: - prefix: "chore" - include: "scope" - labels: - - "Type: Maintenance" +# # Maintain dependencies for docker +# - package-ecosystem: "docker" +# directory: "/" +# schedule: +# interval: "weekly" +# target-branch: "dev" +# commit-message: +# prefix: "chore" +# include: "scope" +# labels: +# - "Type: Maintenance" +# +# # Maintain dependencies for GitHub Actions +# - package-ecosystem: "github-actions" +# directory: "/" +# schedule: +# interval: "weekly" +# target-branch: "dev" +# commit-message: +# prefix: "chore" +# include: "scope" +# labels: +# - "Type: Maintenance" \ No newline at end of file diff --git a/.github/release.yml b/.github/release.yml index 01b4c9d3..596ba07b 100644 --- a/.github/release.yml +++ b/.github/release.yml @@ -3,10 +3,10 @@ changelog: authors: - dependabot categories: - - title: 🎉 Features + - title: 🎉 New Features labels: - "Type: Enhancement" - - title: 🐞 Bugs + - title: 🐞 Bugs Fixes labels: - "Type: Bug" - title: 🔨 Maintenance diff --git a/.github/workflows/dep-auto-merge.yml b/.github/workflows/dep-auto-merge.yml new file mode 100644 index 00000000..84b26e1f --- /dev/null +++ b/.github/workflows/dep-auto-merge.yml @@ -0,0 +1,26 @@ +name: 🤖 dep auto merge + +on: + pull_request: + branches: + - dev + workflow_dispatch: + +permissions: + pull-requests: write + issues: write + repository-projects: write + +jobs: + automerge: + runs-on: ubuntu-latest + if: github.actor == 'dependabot[bot]' + steps: + - uses: actions/checkout@v3 + with: + token: ${{ secrets.DEPENDABOT_PAT }} + + - uses: ahmadnassri/action-dependabot-auto-merge@v2 + with: + github-token: ${{ secrets.DEPENDABOT_PAT }} + target: all \ No newline at end of file diff --git a/.github/workflows/dockerhub-push.yml b/.github/workflows/dockerhub-push.yml index 07c79ef6..31117a91 100644 --- a/.github/workflows/dockerhub-push.yml +++ b/.github/workflows/dockerhub-push.yml @@ -9,7 +9,7 @@ on: jobs: docker: - runs-on: ubuntu-latest + runs-on: ubuntu-latest-16-cores steps: - name: Git Checkout uses: actions/checkout@v3 diff --git a/.github/workflows/release-binary.yml b/.github/workflows/release-binary.yml index 37608458..86e79884 100644 --- a/.github/workflows/release-binary.yml +++ b/.github/workflows/release-binary.yml @@ -7,7 +7,7 @@ on: jobs: release: - runs-on: ubuntu-latest + runs-on: ubuntu-latest-16-cores steps: - name: "Check out code" uses: actions/checkout@v3 diff --git a/.github/workflows/release-test.yml b/.github/workflows/release-test.yml new file mode 100644 index 00000000..77e09fb5 --- /dev/null +++ b/.github/workflows/release-test.yml @@ -0,0 +1,30 @@ +name: 🔨 Release Test + +on: + pull_request: + paths: + - '**.go' + - '**.mod' + - '**.yml' + workflow_dispatch: + +jobs: + release-test: + runs-on: ubuntu-latest-16-cores + steps: + - name: "Check out code" + uses: actions/checkout@v3 + with: + fetch-depth: 0 + + - name: Set up Go + uses: actions/setup-go@v4 + with: + go-version: 1.20.x + + - name: release test + uses: goreleaser/goreleaser-action@v4 + with: + args: "release --clean --snapshot" + version: latest + workdir: . \ No newline at end of file diff --git a/.github/workflows/update-cipherstatus.yml b/.github/workflows/update-cipherstatus.yml index f1c7a2cb..471c40e5 100644 --- a/.github/workflows/update-cipherstatus.yml +++ b/.github/workflows/update-cipherstatus.yml @@ -5,6 +5,11 @@ on: schedule: - cron: '0 0 * * 0' +permissions: + pull-requests: write + issues: write + repository-projects: write + jobs: cipherstatus: runs-on: ubuntu-latest diff --git a/.github/workflows/update-rootca.yml b/.github/workflows/update-rootca.yml index 606888e3..06ec4ff9 100644 --- a/.github/workflows/update-rootca.yml +++ b/.github/workflows/update-rootca.yml @@ -5,6 +5,11 @@ on: schedule: - cron: '0 0 * * 0' +permissions: + pull-requests: write + issues: write + repository-projects: write + jobs: rootca: runs-on: ubuntu-latest diff --git a/internal/runner/banner.go b/internal/runner/banner.go index d18d366a..522792cf 100644 --- a/internal/runner/banner.go +++ b/internal/runner/banner.go @@ -18,7 +18,7 @@ var banner = fmt.Sprintf(` |_| |____|___/_/\_\ %s `, version) -const version = "v1.1.1" +const version = "v1.1.2" // validateOptions validates the provided options for crawler func (r *Runner) validateOptions() error {