Skip to content

Commit 62df481

Browse files
authored
Merge pull request #75 from projectdiscovery/dev
v0.0.5 Release preparation
2 parents eec58e2 + c3f7538 commit 62df481

34 files changed

+1149
-659
lines changed

.github/ISSUE_TEMPLATE/config.yml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
blank_issues_enabled: false
2+
3+
contact_links:
4+
- name: Ask an question / advise on using proxify
5+
url: https://github.com/projectdiscovery/proxify/discussions/categories/q-a
6+
about: Ask a question or request support for using proxify
7+
8+
- name: Share idea / feature to discuss for proxify
9+
url: https://github.com/projectdiscovery/proxify/discussions/categories/ideas
10+
about: Share idea / feature to discuss for proxify
11+
12+
- name: Connect with PD Team (Discord)
13+
url: https://discord.gg/projectdiscovery
14+
about: Connect with PD Team for direct communication
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
---
2+
name: Feature request
3+
about: Request feature to implement in this project
4+
labels: 'Type: Enhancement'
5+
---
6+
7+
<!--
8+
1. Please make sure to provide a detailed description with all the relevant information that might be required to start working on this feature.
9+
2. In case you are not sure about your request or whether the particular feature is already supported or not, please start a discussion instead.
10+
3. GitHub Discussion: https://github.com/projectdiscovery/proxify/discussions/categories/ideas
11+
4. Join our discord server at https://discord.gg/projectdiscovery to discuss the idea on the #proxify channel.
12+
-->
13+
14+
### Please describe your feature request:
15+
<!-- A clear and concise description of feature to implement -->
16+
17+
### Describe the use case of this feature:
18+
<!-- A clear and concise description of the feature request's motivation and the use-cases in which it could be useful. -->
Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
---
2+
name: Issue report
3+
about: Create a report to help us to improve the project
4+
labels: 'Type: Bug'
5+
6+
---
7+
8+
<!--
9+
1. Please search to see if an issue already exists for the bug you encountered.
10+
2. For support requests, FAQs or "How to" questions, please use the GitHub Discussions section instead - https://github.com/projectdiscovery/proxify/discussions or
11+
3. Join our discord server at https://discord.gg/projectdiscovery and post the question on the #proxify channel.
12+
-->
13+
14+
<!-- ISSUES MISSING IMPORTANT INFORMATION MAY BE CLOSED WITHOUT INVESTIGATION. -->
15+
16+
### Proxify version:
17+
<!-- You can find current version of proxify with "proxify -version" -->
18+
<!-- We only accept issues that are reproducible on the latest version of proxify. -->
19+
<!-- You can find the latest version of project at https://github.com/projectdiscovery/proxify/releases/ -->
20+
21+
### Current Behavior:
22+
<!-- A concise description of what you're experiencing. -->
23+
24+
### Expected Behavior:
25+
<!-- A concise description of what you expected to happen. -->
26+
27+
### Steps To Reproduce:
28+
<!--
29+
Example: steps to reproduce the behavior:
30+
1. Run 'proxify ..'
31+
2. See error...
32+
-->
33+
34+
35+
### Anything else:
36+
<!-- Links? References? Screnshots? Anything that will give us more context about the issue that you are encountering! -->

.github/PULL_REQUEST_TEMPLATE.md

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
## Proposed changes
2+
3+
<!--
4+
Describe the overall picture of your modifications to help maintainers understand the pull request. PRs are required to be associated to their related issue tickets or feature request.
5+
-->
6+
7+
8+
## Checklist
9+
10+
<!-- Put an "x" in the boxes that apply. You can also fill these out after creating the PR. If you're unsure about any of them, don't hesitate to ask. We're here to help! This is simply a reminder of what we are going to look for before merging your code. -->
11+
12+
- [ ] Pull request is created against the [dev](https://github.com/projectdiscovery/proxify/tree/dev) branch
13+
- [ ] All checks passed (lint, unit/integration/regression tests etc.) with my changes
14+
- [ ] I have added tests that prove my fix is effective or that my feature works
15+
- [ ] I have added necessary documentation (if appropriate)

.github/dependabot.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ updates:
1111
directory: "/"
1212
schedule:
1313
interval: "weekly"
14+
target-branch: "dev"
1415
commit-message:
1516
prefix: "chore"
1617
include: "scope"
@@ -20,6 +21,7 @@ updates:
2021
directory: "/"
2122
schedule:
2223
interval: "weekly"
24+
target-branch: "dev"
2325
commit-message:
2426
prefix: "chore"
2527
include: "scope"
@@ -29,6 +31,7 @@ updates:
2931
directory: "/"
3032
schedule:
3133
interval: "weekly"
34+
target-branch: "dev"
3235
commit-message:
3336
prefix: "chore"
3437
include: "scope"

.github/feature_request.md

Lines changed: 0 additions & 14 deletions
This file was deleted.

.github/issue-report.md

Lines changed: 0 additions & 18 deletions
This file was deleted.

.github/workflows/build-test.yml

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
name: 🔨 Build Test
2+
3+
on:
4+
push:
5+
pull_request:
6+
workflow_dispatch:
7+
8+
9+
jobs:
10+
build:
11+
name: Test Builds
12+
runs-on: ubuntu-latest
13+
steps:
14+
- uses: actions/checkout@v2
15+
16+
- uses: actions/setup-go@v2
17+
with:
18+
go-version: 1.17
19+
20+
- name: Test
21+
run: go test ./...
22+
23+
- name: Build
24+
run: go build .
25+
working-directory: cmd/proxify/

.github/workflows/build.yaml

Lines changed: 0 additions & 47 deletions
This file was deleted.

.github/workflows/codeql-analysis.yml

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
name: 🚨 CodeQL Analysis
2+
3+
on:
4+
workflow_dispatch:
5+
pull_request:
6+
branches:
7+
- dev
8+
9+
jobs:
10+
analyze:
11+
name: Analyze
12+
runs-on: ubuntu-latest
13+
permissions:
14+
actions: read
15+
contents: read
16+
security-events: write
17+
18+
strategy:
19+
fail-fast: false
20+
matrix:
21+
language: [ 'go' ]
22+
# CodeQL supports [ 'cpp', 'csharp', 'go', 'java', 'javascript', 'python' ]
23+
24+
steps:
25+
- name: Checkout repository
26+
uses: actions/checkout@v2
27+
28+
# Initializes the CodeQL tools for scanning.
29+
- name: Initialize CodeQL
30+
uses: github/codeql-action/init@v1
31+
with:
32+
languages: ${{ matrix.language }}
33+
34+
- name: Autobuild
35+
uses: github/codeql-action/autobuild@v1
36+
37+
- name: Perform CodeQL Analysis
38+
uses: github/codeql-action/analyze@v1

.github/workflows/dockerhub-push.yml

Lines changed: 37 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,40 @@
1-
# dockerhub-push pushes docker build to dockerhub automatically
2-
# on the creation of a new release
3-
name: Publish to Dockerhub on creation of a new release
4-
on:
5-
release:
6-
types: [published]
1+
name: 🌥 Docker Push
2+
3+
on:
4+
workflow_run:
5+
workflows: ["🎉 Release Binary"]
6+
types:
7+
- completed
8+
workflow_dispatch:
9+
710
jobs:
8-
build:
11+
docker:
912
runs-on: ubuntu-latest
1013
steps:
11-
- uses: actions/checkout@master
12-
- name: Publish to Dockerhub Registry
13-
uses: elgohr/Publish-Docker-Github-Action@master
14-
with:
15-
name: projectdiscovery/proxify
16-
username: ${{ secrets.DOCKER_USERNAME }}
17-
password: ${{ secrets.DOCKER_PASSWORD }}
14+
- name: Checkout
15+
uses: actions/checkout@v2
16+
17+
- name: Get Github tag
18+
id: meta
19+
run: |
20+
echo "::set-output name=tag::$(curl --silent "https://api.github.com/repos/projectdiscovery/proxify/releases/latest" | jq -r .tag_name)"
21+
22+
- name: Set up QEMU
23+
uses: docker/setup-qemu-action@v1
24+
25+
- name: Set up Docker Buildx
26+
uses: docker/setup-buildx-action@v1
27+
28+
- name: Login to DockerHub
29+
uses: docker/login-action@v1
30+
with:
31+
username: ${{ secrets.DOCKER_USERNAME }}
32+
password: ${{ secrets.DOCKER_TOKEN }}
33+
34+
- name: Build and push
35+
uses: docker/build-push-action@v2
36+
with:
37+
context: .
38+
platforms: linux/amd64,linux/arm64,linux/arm
39+
push: true
40+
tags: projectdiscovery/proxify:latest,projectdiscovery/proxify:${{ steps.meta.outputs.tag }}

.github/workflows/lint-test.yml

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
name: 🙏🏻 Lint Test
2+
on:
3+
push:
4+
pull_request:
5+
workflow_dispatch:
6+
7+
jobs:
8+
lint:
9+
name: Lint Test
10+
runs-on: ubuntu-latest
11+
steps:
12+
- name: Checkout code
13+
uses: actions/checkout@v2
14+
15+
- name: Run golangci-lint
16+
uses: golangci/golangci-lint-action@v2
17+
with:
18+
version: latest
19+
args: --timeout 5m
20+
working-directory: .

.github/workflows/release-binary.yml

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
name: 🎉 Release Binary
2+
3+
on:
4+
create:
5+
workflow_dispatch:
6+
7+
jobs:
8+
release:
9+
runs-on: ubuntu-latest
10+
if: ${{ startsWith(github.ref, 'refs/tags/v') }}
11+
12+
steps:
13+
- uses: actions/checkout@v2
14+
15+
- uses: actions/setup-go@v2
16+
with:
17+
go-version: 1.17
18+
19+
- uses: goreleaser/goreleaser-action@v2
20+
with:
21+
args: "release --rm-dist"
22+
version: latest
23+
workdir: .
24+
env:
25+
GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}"

.github/workflows/release.yml

Lines changed: 0 additions & 28 deletions
This file was deleted.

0 commit comments

Comments
 (0)