-
Notifications
You must be signed in to change notification settings - Fork 236
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #75 from projectdiscovery/dev
v0.0.5 Release preparation
- Loading branch information
Showing
34 changed files
with
1,149 additions
and
659 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
blank_issues_enabled: false | ||
|
||
contact_links: | ||
- name: Ask an question / advise on using proxify | ||
url: https://github.com/projectdiscovery/proxify/discussions/categories/q-a | ||
about: Ask a question or request support for using proxify | ||
|
||
- name: Share idea / feature to discuss for proxify | ||
url: https://github.com/projectdiscovery/proxify/discussions/categories/ideas | ||
about: Share idea / feature to discuss for proxify | ||
|
||
- name: Connect with PD Team (Discord) | ||
url: https://discord.gg/projectdiscovery | ||
about: Connect with PD Team for direct communication |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
--- | ||
name: Feature request | ||
about: Request feature to implement in this project | ||
labels: 'Type: Enhancement' | ||
--- | ||
|
||
<!-- | ||
1. Please make sure to provide a detailed description with all the relevant information that might be required to start working on this feature. | ||
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. | ||
3. GitHub Discussion: https://github.com/projectdiscovery/proxify/discussions/categories/ideas | ||
4. Join our discord server at https://discord.gg/projectdiscovery to discuss the idea on the #proxify channel. | ||
--> | ||
|
||
### Please describe your feature request: | ||
<!-- A clear and concise description of feature to implement --> | ||
|
||
### Describe the use case of this feature: | ||
<!-- A clear and concise description of the feature request's motivation and the use-cases in which it could be useful. --> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
--- | ||
name: Issue report | ||
about: Create a report to help us to improve the project | ||
labels: 'Type: Bug' | ||
|
||
--- | ||
|
||
<!-- | ||
1. Please search to see if an issue already exists for the bug you encountered. | ||
2. For support requests, FAQs or "How to" questions, please use the GitHub Discussions section instead - https://github.com/projectdiscovery/proxify/discussions or | ||
3. Join our discord server at https://discord.gg/projectdiscovery and post the question on the #proxify channel. | ||
--> | ||
|
||
<!-- ISSUES MISSING IMPORTANT INFORMATION MAY BE CLOSED WITHOUT INVESTIGATION. --> | ||
|
||
### Proxify version: | ||
<!-- You can find current version of proxify with "proxify -version" --> | ||
<!-- We only accept issues that are reproducible on the latest version of proxify. --> | ||
<!-- You can find the latest version of project at https://github.com/projectdiscovery/proxify/releases/ --> | ||
|
||
### Current Behavior: | ||
<!-- A concise description of what you're experiencing. --> | ||
|
||
### Expected Behavior: | ||
<!-- A concise description of what you expected to happen. --> | ||
|
||
### Steps To Reproduce: | ||
<!-- | ||
Example: steps to reproduce the behavior: | ||
1. Run 'proxify ..' | ||
2. See error... | ||
--> | ||
|
||
|
||
### Anything else: | ||
<!-- Links? References? Screnshots? Anything that will give us more context about the issue that you are encountering! --> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
## Proposed changes | ||
|
||
<!-- | ||
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. | ||
--> | ||
|
||
|
||
## Checklist | ||
|
||
<!-- 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. --> | ||
|
||
- [ ] Pull request is created against the [dev](https://github.com/projectdiscovery/proxify/tree/dev) branch | ||
- [ ] All checks passed (lint, unit/integration/regression tests etc.) with my changes | ||
- [ ] I have added tests that prove my fix is effective or that my feature works | ||
- [ ] I have added necessary documentation (if appropriate) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
name: 🔨 Build Test | ||
|
||
on: | ||
push: | ||
pull_request: | ||
workflow_dispatch: | ||
|
||
|
||
jobs: | ||
build: | ||
name: Test Builds | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v2 | ||
|
||
- uses: actions/setup-go@v2 | ||
with: | ||
go-version: 1.17 | ||
|
||
- name: Test | ||
run: go test ./... | ||
|
||
- name: Build | ||
run: go build . | ||
working-directory: cmd/proxify/ |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
name: 🚨 CodeQL Analysis | ||
|
||
on: | ||
workflow_dispatch: | ||
pull_request: | ||
branches: | ||
- dev | ||
|
||
jobs: | ||
analyze: | ||
name: Analyze | ||
runs-on: ubuntu-latest | ||
permissions: | ||
actions: read | ||
contents: read | ||
security-events: write | ||
|
||
strategy: | ||
fail-fast: false | ||
matrix: | ||
language: [ 'go' ] | ||
# CodeQL supports [ 'cpp', 'csharp', 'go', 'java', 'javascript', 'python' ] | ||
|
||
steps: | ||
- name: Checkout repository | ||
uses: actions/checkout@v2 | ||
|
||
# Initializes the CodeQL tools for scanning. | ||
- name: Initialize CodeQL | ||
uses: github/codeql-action/init@v1 | ||
with: | ||
languages: ${{ matrix.language }} | ||
|
||
- name: Autobuild | ||
uses: github/codeql-action/autobuild@v1 | ||
|
||
- name: Perform CodeQL Analysis | ||
uses: github/codeql-action/analyze@v1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,40 @@ | ||
# dockerhub-push pushes docker build to dockerhub automatically | ||
# on the creation of a new release | ||
name: Publish to Dockerhub on creation of a new release | ||
on: | ||
release: | ||
types: [published] | ||
name: 🌥 Docker Push | ||
|
||
on: | ||
workflow_run: | ||
workflows: ["🎉 Release Binary"] | ||
types: | ||
- completed | ||
workflow_dispatch: | ||
|
||
jobs: | ||
build: | ||
docker: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@master | ||
- name: Publish to Dockerhub Registry | ||
uses: elgohr/Publish-Docker-Github-Action@master | ||
with: | ||
name: projectdiscovery/proxify | ||
username: ${{ secrets.DOCKER_USERNAME }} | ||
password: ${{ secrets.DOCKER_PASSWORD }} | ||
- name: Checkout | ||
uses: actions/checkout@v2 | ||
|
||
- name: Get Github tag | ||
id: meta | ||
run: | | ||
echo "::set-output name=tag::$(curl --silent "https://api.github.com/repos/projectdiscovery/proxify/releases/latest" | jq -r .tag_name)" | ||
- name: Set up QEMU | ||
uses: docker/setup-qemu-action@v1 | ||
|
||
- name: Set up Docker Buildx | ||
uses: docker/setup-buildx-action@v1 | ||
|
||
- name: Login to DockerHub | ||
uses: docker/login-action@v1 | ||
with: | ||
username: ${{ secrets.DOCKER_USERNAME }} | ||
password: ${{ secrets.DOCKER_TOKEN }} | ||
|
||
- name: Build and push | ||
uses: docker/build-push-action@v2 | ||
with: | ||
context: . | ||
platforms: linux/amd64,linux/arm64,linux/arm | ||
push: true | ||
tags: projectdiscovery/proxify:latest,projectdiscovery/proxify:${{ steps.meta.outputs.tag }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
name: 🙏🏻 Lint Test | ||
on: | ||
push: | ||
pull_request: | ||
workflow_dispatch: | ||
|
||
jobs: | ||
lint: | ||
name: Lint Test | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout code | ||
uses: actions/checkout@v2 | ||
|
||
- name: Run golangci-lint | ||
uses: golangci/golangci-lint-action@v2 | ||
with: | ||
version: latest | ||
args: --timeout 5m | ||
working-directory: . |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
name: 🎉 Release Binary | ||
|
||
on: | ||
create: | ||
workflow_dispatch: | ||
|
||
jobs: | ||
release: | ||
runs-on: ubuntu-latest | ||
if: ${{ startsWith(github.ref, 'refs/tags/v') }} | ||
|
||
steps: | ||
- uses: actions/checkout@v2 | ||
|
||
- uses: actions/setup-go@v2 | ||
with: | ||
go-version: 1.17 | ||
|
||
- uses: goreleaser/goreleaser-action@v2 | ||
with: | ||
args: "release --rm-dist" | ||
version: latest | ||
workdir: . | ||
env: | ||
GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}" |
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.