-
Notifications
You must be signed in to change notification settings - Fork 4
feat: add issue configuration and CI checks #12
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
11 commits
Select commit
Hold shift + click to select a range
e5f8d7e
feat: add issue configuration and CI checks
daniellacosse a1dd0ce
Merge remote-tracking branch 'origin' into daniellacosse/github_confi…
daniellacosse 13da1f2
Clarify that it's the _project_ we're buliding.
daniellacosse fa47750
add CODEOWNERS
daniellacosse 5f809f7
Remove "you will need"
daniellacosse 8cc6262
Merge branch 'main' into daniellacosse/github_configuration
daniellacosse 4bbfe27
I didn't know grep supported regex?
daniellacosse 1a1fcd1
Update README.md
daniellacosse eeb9da2
Feedback
daniellacosse 2e9268d
remove md.handlebars check
daniellacosse 7d6c64b
Merge branch 'main' into daniellacosse/github_configuration
daniellacosse File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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 @@ | ||
| * @daniellacosse |
This file contains hidden or 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,37 @@ | ||
| name: Report Unexpected Behavior | ||
| type: Bug | ||
| description: File a bug report. | ||
| body: | ||
| - type: checkboxes | ||
| id: existing-issues-check | ||
| attributes: | ||
| label: "Confirm: Verified Existing Issues" | ||
| description: "Before proceeding, confirm you've searched for similar issues." | ||
| options: | ||
| - label: "I have searched the [existing issues](https://github.com/Jigsaw-Code/outline-app-maker/issues) and found no similar bug reports." | ||
| required: true | ||
|
|
||
| - type: textarea | ||
| id: reproduction-steps | ||
| attributes: | ||
| label: "Steps to Reproduce" | ||
| description: "List the precise steps needed to reproduce the bug, starting from a fresh state where possible." | ||
| placeholder: | | ||
| 1. Go to '...' or run 'docker run ...' | ||
| 2. Perform '....' | ||
| 3. Observe '....' | ||
|
|
||
| - type: textarea | ||
| id: expected-behavior | ||
| attributes: | ||
| label: "Expected Behavior" | ||
| description: "What did you expect to happen in this case?" | ||
|
|
||
| - type: input | ||
| id: environment | ||
| attributes: | ||
| label: "Environment" | ||
| description: "Please specify your relevant system details: stuff like operating system, Docker version, and the commit you're using." | ||
| placeholder: "e.g., OS: Sequoia 16.7, etc." | ||
| validations: | ||
| required: true |
This file contains hidden or 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,4 @@ | ||
| contact_links: | ||
| - name: Reddit | ||
| url: https://www.reddit.com/r/outlinevpn/ | ||
| about: Ask questions and discuss with the community. | ||
This file contains hidden or 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,21 @@ | ||
| name: Feature Request | ||
| type: Feature | ||
| description: Request a new feature! | ||
| body: | ||
| - type: checkboxes | ||
| id: existing-features-check | ||
| attributes: | ||
| label: "Confirm: Verified Existing Feature Requests" | ||
| description: "Before proceeding, confirm you've searched for similar feature requests. If a similar request exists, please add your thoughts there instead of opening a new one." | ||
| options: | ||
| - label: "I have searched the [existing issues](https://github.com/Jigsaw-Code/outline-app-maker/issues) and found no similar feature requests." | ||
| required: true | ||
|
|
||
| - type: textarea | ||
| id: feature-description | ||
| attributes: | ||
| label: "Feature Description" | ||
| description: "Please describe the feature in detail. What use case does it address, and why is the current system insufficient?" | ||
| placeholder: "e.g. I would like to be able to..." | ||
| validations: | ||
| required: true |
This file contains hidden or 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,82 @@ | ||
| name: Quality Checks | ||
|
|
||
| on: | ||
| pull_request: | ||
| types: [opened,synchronize] | ||
|
|
||
| permissions: | ||
| contents: read | ||
|
|
||
| jobs: | ||
| build_android_project: | ||
| name: Build Android Project | ||
| runs-on: ubuntu-latest | ||
|
|
||
| steps: | ||
| - name: Clone Repository | ||
| uses: actions/checkout@v4 | ||
|
|
||
| - name: Install Node | ||
| uses: actions/setup-node@v3 | ||
| with: | ||
| node-version-file: .nvmrc | ||
| cache: npm | ||
| cache-dependency-path: ./package-lock.json | ||
|
|
||
| - name: Install NPM Dependencies | ||
| run: npm ci | ||
|
|
||
| - name: Install Go | ||
| uses: actions/setup-go@v5 | ||
| with: | ||
| go-version-file: 'go.mod' | ||
|
|
||
| - name: Generate Android Project | ||
| run: npm run build -- --platform=android --entryUrl="https://www.example.com" | ||
daniellacosse marked this conversation as resolved.
Show resolved
Hide resolved
|
||
|
|
||
| build_ios_project: | ||
| name: Build iOS Project | ||
| runs-on: macos-latest | ||
|
|
||
| steps: | ||
| - name: Clone Repository | ||
| uses: actions/checkout@v4 | ||
|
|
||
| - name: Install Node | ||
| uses: actions/setup-node@v3 | ||
| with: | ||
| node-version-file: .nvmrc | ||
| cache: npm | ||
| cache-dependency-path: ./package-lock.json | ||
|
|
||
| - name: Install NPM Dependencies | ||
| run: npm ci | ||
|
|
||
| - name: Install Go | ||
| uses: actions/setup-go@v5 | ||
| with: | ||
| go-version-file: 'go.mod' | ||
|
|
||
| - name: Generate iOS Project | ||
| run: npm run build -- --platform=ios --entryUrl="https://www.example.com" | ||
daniellacosse marked this conversation as resolved.
Show resolved
Hide resolved
|
||
|
|
||
| licensing: | ||
| name: License Headers | ||
| runs-on: ubuntu-latest | ||
|
|
||
| steps: | ||
| - name: Clone Repository | ||
| uses: actions/checkout@v4 | ||
|
|
||
| - name: Check Files | ||
| run: | | ||
| REQUIRED_HEADER_SNIPPET="Copyright 20[0-9][0-9] The Outline Authors" | ||
| MISSING_HEADER_FILES=$(find . \( -name "*.handlebars" -o -name "*.mjs" -o -name "*.html" -o -name "*.sh" \) -not -name "*.json.handlebars" -not -name "*.md.handlebars" -exec grep -L "${REQUIRED_HEADER_SNIPPET}" {} +) | ||
|
|
||
| if [[ -n "$MISSING_HEADER_FILES" ]]; then | ||
| echo "Error: The following files are missing the required license header:" | ||
| echo "$MISSING_HEADER_FILES" | ||
| exit 1 | ||
| else | ||
| echo "All files have the required license header." | ||
| fi | ||
This file contains hidden or 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,5 @@ | ||
| { | ||
| "yaml.schemas": { | ||
daniellacosse marked this conversation as resolved.
Show resolved
Hide resolved
|
||
| "https://www.schemastore.org/github-issue-config.json": "./.github/ISSUE_TEMPLATE/config.yml" | ||
| } | ||
| } | ||
This file contains hidden or 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 contains hidden or 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 contains hidden or 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
14 changes: 14 additions & 0 deletions
14
wrapper_app_project/template/android/app/build.gradle.handlebars
This file contains hidden or 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
14 changes: 14 additions & 0 deletions
14
...er_app_project/template/android/app/src/main/java/org/getoutline/pwa/Config.kt.handlebars
This file contains hidden or 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
14 changes: 14 additions & 0 deletions
14
..._project/template/android/app/src/main/java/org/getoutline/pwa/MainActivity.kt.handlebars
This file contains hidden or 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
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.