diff --git a/.github/ISSUE_TEMPLATE/custom.md b/.github/ISSUE_TEMPLATE/custom.md new file mode 100644 index 000000000000..e930e5814ae7 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/custom.md @@ -0,0 +1,18 @@ +--- +name: Custom issue template +about: Describe this issue template's purpose here. +title: issue template +labels: enhancement, help wanted +assignees: '' + +--- + + + + + {% if page.title %}{{ page.title }} - {% endif %}{{ config.site_name }} + + + {{ page.content }} + + diff --git a/.github/ISSUE_TEMPLATE/improve-existing-docs.md b/.github/ISSUE_TEMPLATE/improve-existing-docs.md deleted file mode 100644 index 26d822b9a4be..000000000000 --- a/.github/ISSUE_TEMPLATE/improve-existing-docs.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -name: Improve existing docs -about: Make a suggestion to improve our existing documentation. -title: '' -labels: -- content -assignees: '' ---- - - - - -### What article on docs.github.com is affected? - - - -### What part(s) of the article would you like to see updated? - - - -### Additional information - - diff --git a/.github/ISSUE_TEMPLATE/improve-the-site.md b/.github/ISSUE_TEMPLATE/improve-the-site.md deleted file mode 100644 index a79f8ed1008d..000000000000 --- a/.github/ISSUE_TEMPLATE/improve-the-site.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -name: Improve the docs.github.com site -about: Make a suggestions or report a problem on the docs.github.com website. -title: '' -labels: engineering -assignees: '' ---- - - - - - -### What is the current behavior? - - - -### What changes are you suggesting? - - - -### Additional information - - diff --git a/.github/ISSUE_TEMPLATE/partner-contributed-documentation.md b/.github/ISSUE_TEMPLATE/partner-contributed-documentation.md deleted file mode 100644 index 825dc55db8fb..000000000000 --- a/.github/ISSUE_TEMPLATE/partner-contributed-documentation.md +++ /dev/null @@ -1,48 +0,0 @@ ---- -name: Partner-owned product documentation -about: Initiate a set of tasks to be completed by a GitHub partner wishing to document how their product works with GitHub -title: '' -labels: -- partner -assignees: '' ---- - - - -## Pre-requisites - -- [ ] Prior to submitting documentation, please apply to join the GitHub Technology Partner Program: [partner.github.com/apply](https://partner.github.com/apply?partnershipType=Technology+Partner). Please feel free to proceed once your application is approved. - -## What information would you like to add to docs.github.com? - - -## Tasks - -Please be sure to complete each of the following: - -**Third-party product documentation:** - -- [ ] MUST follow our [general contributing guidelines](CONTRIBUTING.md) for voice and markup format. -- [ ] MUST emphasize how the third-party product works with GitHub. -- [ ] MUST be written in Markdown format, using [one of the templates provided](contributing/github-partners/README.md#templates) -- [ ] MUST include the name and URL of the GitHub technology partner responsible for maintenance of the documentation being contributed. This should be added via the `contributor.name` and `contributor.URL` properties in the template's YAML frontmatter. -- [ ] MUST be proposed via a pull request to this repo following [the GitHub Flow](https://guides.github.com/introduction/flow/). -- [ ] MUST be located in the root of [the `content` folder](content). Your filename MUST match the GitHub technology partner name, and use the `.md` file extension. - -**The `Pull Request`:** - -- [ ] MUST reference this issue, e.g. via `closes #` -- [ ] MUST pass the automated CI checks -- [ ] MUST include links to supporting material demonstrating the functionality being documented (this can be a link to a public GitHub repo, _or_ a video / screencast walkthrough) - -Once all tasks are completed, please mention `@github/docs-content` for next steps. - -/cc @github/partner-engineering for :eyes: diff --git a/.github/workflows/Hello.yml b/.github/workflows/Hello.yml new file mode 100644 index 000000000000..7855d5e970e4 --- /dev/null +++ b/.github/workflows/Hello.yml @@ -0,0 +1,36 @@ +# This is a basic workflow to help you get started with Actions + +name: CI + +# Controls when the action will run. +on: + # Triggers the workflow on push or pull request events but only for the main branch + push: + branches: [ main ] + pull_request: + branches: [ main ] + + # Allows you to run this workflow manually from the Actions tab + workflow_dispatch: + +# A workflow run is made up of one or more jobs that can run sequentially or in parallel +jobs: + # This workflow contains a single job called "build" + build: + # The type of runner that the job will run on + runs-on: ubuntu-latest + + # Steps represent a sequence of tasks that will be executed as part of the job + steps: + # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it + - uses: actions/checkout@v2 + + # Runs a single command using the runners shell + - name: Run a one-line script + run: echo Hello, world! + + # Runs a set of commands using the runners shell + - name: Run a multi-line script + run: | + echo Add other actions to build, + echo test, and deploy your project. diff --git a/.github/workflows/browser-test.yml b/.github/workflows/browser-test.yml index a8eef4dca93d..0ecd0440b0ef 100644 --- a/.github/workflows/browser-test.yml +++ b/.github/workflows/browser-test.yml @@ -41,5 +41,5 @@ jobs: - name: Install dependencies run: npm ci --include=optional - - name: Run brower-test - run: npm run browser-test + - name: Run brower + run: npm run browser diff --git a/.github/workflows/buildmain.yml b/.github/workflows/buildmain.yml new file mode 100644 index 000000000000..7855d5e970e4 --- /dev/null +++ b/.github/workflows/buildmain.yml @@ -0,0 +1,36 @@ +# This is a basic workflow to help you get started with Actions + +name: CI + +# Controls when the action will run. +on: + # Triggers the workflow on push or pull request events but only for the main branch + push: + branches: [ main ] + pull_request: + branches: [ main ] + + # Allows you to run this workflow manually from the Actions tab + workflow_dispatch: + +# A workflow run is made up of one or more jobs that can run sequentially or in parallel +jobs: + # This workflow contains a single job called "build" + build: + # The type of runner that the job will run on + runs-on: ubuntu-latest + + # Steps represent a sequence of tasks that will be executed as part of the job + steps: + # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it + - uses: actions/checkout@v2 + + # Runs a single command using the runners shell + - name: Run a one-line script + run: echo Hello, world! + + # Runs a set of commands using the runners shell + - name: Run a multi-line script + run: | + echo Add other actions to build, + echo test, and deploy your project. diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml new file mode 100644 index 000000000000..7855d5e970e4 --- /dev/null +++ b/.github/workflows/main.yml @@ -0,0 +1,36 @@ +# This is a basic workflow to help you get started with Actions + +name: CI + +# Controls when the action will run. +on: + # Triggers the workflow on push or pull request events but only for the main branch + push: + branches: [ main ] + pull_request: + branches: [ main ] + + # Allows you to run this workflow manually from the Actions tab + workflow_dispatch: + +# A workflow run is made up of one or more jobs that can run sequentially or in parallel +jobs: + # This workflow contains a single job called "build" + build: + # The type of runner that the job will run on + runs-on: ubuntu-latest + + # Steps represent a sequence of tasks that will be executed as part of the job + steps: + # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it + - uses: actions/checkout@v2 + + # Runs a single command using the runners shell + - name: Run a one-line script + run: echo Hello, world! + + # Runs a set of commands using the runners shell + - name: Run a multi-line script + run: | + echo Add other actions to build, + echo test, and deploy your project. diff --git a/.github/workflows/node.js.yml b/.github/workflows/node.js.yml new file mode 100644 index 000000000000..0a9660fbc419 --- /dev/null +++ b/.github/workflows/node.js.yml @@ -0,0 +1,30 @@ +# This workflow will do a clean install of node dependencies, build the source code and run tests across different versions of node +# For more information see: https://help.github.com/actions/language-and-framework-guides/using-nodejs-with-github-actions + +name: Node.js CI + +on: + push: + branches: [ main ] + pull_request: + branches: [ main ] + +jobs: + build: + + runs-on: ubuntu-latest + + strategy: + matrix: + node-version: [10.x, 12.x, 14.x, 15.x] + # See supported Node.js release schedule at https://nodejs.org/en/about/releases/ + + steps: + - uses: actions/checkout@v2 + - name: Use Node.js ${{ matrix.node-version }} + uses: actions/setup-node@v2 + with: + node-version: ${{ matrix.node-version }} + - run: npm ci + - run: npm run build --if-present + - run: npm test diff --git a/.github/workflows/npm-publish.yml b/.github/workflows/npm-publish.yml new file mode 100644 index 000000000000..410654cba726 --- /dev/null +++ b/.github/workflows/npm-publish.yml @@ -0,0 +1,50 @@ +# This workflow will run tests using node and then publish a package to GitHub Packages when a release is created +# For more information see: https://help.github.com/actions/language-and-framework-guides/publishing-nodejs-packages + +name: Node.js Package + +on: + release: + types: [created] + +jobs: + build: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + - uses: actions/setup-node@v2 + with: + node-version: 12 + - run: npm ci + - run: npm test + + publish-npm: + needs: build + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + - uses: actions/setup-node@v2 + with: + node-version: 12 + registry-url: https://registry.npmjs.org/ + - run: npm ci + - run: npm publish + env: + NODE_AUTH_TOKEN: ${{secrets.npm_token}} + + publish-gpr: + needs: build + runs-on: ubuntu-latest + permissions: + contents: read + packages: write + steps: + - uses: actions/checkout@v2 + - uses: actions/setup-node@v2 + with: + node-version: 12 + registry-url: https://npm.pkg.github.com/ + - run: npm ci + - run: npm publish + env: + NODE_AUTH_TOKEN: ${{secrets.GITHUB_TOKEN}} diff --git a/CLI PLUGIN HERO b/CLI PLUGIN HERO new file mode 100644 index 000000000000..c564ca1e2c96 --- /dev/null +++ b/CLI PLUGIN HERO @@ -0,0 +1 @@ +heroku plugins:install heroku-repo diff --git a/docs/theme b/docs/theme new file mode 100644 index 000000000000..24ab548e8fa7 --- /dev/null +++ b/docs/theme @@ -0,0 +1,18 @@ +!DOCTYPE html> + +W3.CSS Template + + + + +