Workflow update (#1290)

* added auto dep merge

* added release test in build workflow

* workflow update

* Added Disclaimer
This commit is contained in:
Sandeep Singh 2023-07-17 16:31:08 +05:30 committed by GitHub
parent 243e61cf1f
commit ac5348bcb9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
6 changed files with 42 additions and 5 deletions

View File

@ -11,7 +11,7 @@ updates:
directory: "/"
schedule:
interval: "weekly"
target-branch: "dev"
target-branch: "dep"
commit-message:
prefix: "chore"
include: "scope"
@ -23,7 +23,7 @@ updates:
directory: "/"
schedule:
interval: "daily"
target-branch: "dev"
target-branch: "dep"
commit-message:
prefix: "chore"
include: "scope"
@ -35,7 +35,7 @@ updates:
directory: "/"
schedule:
interval: "weekly"
target-branch: "dev"
target-branch: "dep"
commit-message:
prefix: "chore"
include: "scope"

View File

@ -53,3 +53,10 @@ jobs:
- name: Race Condition Tests
run: go build -race .
working-directory: cmd/httpx/
- name: release test
uses: goreleaser/goreleaser-action@v4
with:
args: "release --clean --snapshot"
version: latest
workdir: .

25
.github/workflows/dep-auto-merge.yml vendored Normal file
View File

@ -0,0 +1,25 @@
name: 🤖 dep-auto-merge
on:
pull_request:
branches:
- main
workflow_dispatch:
permissions:
pull-requests: write
issues: write
repository-projects: write
jobs:
automerge:
runs-on: ubuntu-latest
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

1
.gitignore vendored
View File

@ -1,5 +1,6 @@
.idea/
.vscode/
dist
cmd/httpx/httpx
integration_tests/httpx
integration_tests/integration-test

View File

@ -28,8 +28,7 @@ builds:
archives:
- format: zip
replacements:
darwin: macOS
name_template: '{{ .ProjectName }}_{{ .Version }}_{{ if eq .Os "darwin" }}macOS{{ else }}{{ .Os }}{{ end }}_{{ .Arch }}'
checksum:
algorithm: sha256

View File

@ -68,6 +68,11 @@
go install -v github.com/projectdiscovery/httpx/cmd/httpx@latest
```
| :exclamation: **Disclaimer** |
|---------------------------------|
| **This project is in active development**. Expect breaking changes with releases. Review the changelog before updating. |
| This project was primarily built to be used as a standalone CLI tool. **Running it as a service may pose security risks.** It's recommended to use with caution and additional security measures. |
# Usage
```sh