8000 4.1.2 by JamesIves · Pull Request #707 · JamesIves/github-pages-deploy-action · GitHub
[go: up one dir, main page]

Skip to content

4.1.2 #707

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 43 commits into from
May 10, 2021
Merged

4.1.2 #707

Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
43 commits
Select commit Hold shift + click to select a range
2e66b83
Release 4.1.1 📣
JamesIves Apr 4, 2021
ca4a797
Version README -> 4.1.1
JamesIves Apr 6, 2021
da31dcd
Bump eslint-plugin-jest from 24.3.2 to 24.3.4 (#658)
dependabot[bot] Apr 6, 2021
cda955d
Bump @actions/io from 1.0.2 to 1.1.0 (#659)
dependabot[bot] Apr 6, 2021
5963391
Bump eslint-plugin-prettier from 3.1.2 to 3.3.1 (#660)
dependabot[bot] Apr 6, 2021
9457e13
Bump eslint-plugin-github from 4.1.2 to 4.1.3 (#662)
dependabot[bot] Apr 7, 2021
a87cfcf
Bump typescript from 4.2.3 to 4.2.4 (#663)
dependabot[bot] Apr 8, 2021
c053ad0
Bump eslint-plugin-jest from 24.3.4 to 24.3.5 (#666)
dependabot[bot] Apr 12, 2021
3415671
Bump eslint from 7.23.0 to 7.24.0 (#667)
dependabot[bot] Apr 12, 2021
1867d1e
Bump @actions/core from 1.2.6 to 1.2.7 (#669)
dependabot[bot] Apr 15, 2021
46b2181
Bump @types/node from 14.14.37 to 14.14.39 (#670)
dependabot[bot] Apr 15, 2021
15a9f0a
changed branch master to main (#676)
LambertSchulze Apr 16, 2021
013466a
Bump eslint-plugin-prettier from 3.3.1 to 3.4.0 (#671)
dependabot[bot] Apr 16, 2021
ce7c6d0
Bump @types/node from 14.14.39 to 14.14.41 (#673)
dependabot[bot] Apr 16, 2021
7e40b83
Bump ts-jest from 26.5.4 to 26.5.5 (#674)
dependabot[bot] Apr 16, 2021
f8dc4cf
Check buffer length (#668)
JamesIves Apr 21, 2021
8254e02
Bump eslint from 7.24.0 to 7.25.0 (#684)
dependabot[bot] Apr 26, 2021
408dc2b
Bump eslint-plugin-jest from 24.3.5 to 24.3.6 (#683)
dependabot[bot] Apr 26, 2021
4bb1571
Eslint improvements (#686)
JamesIves Apr 26, 2021
941d3a7
Bump @types/jest from 26.0.22 to 26.0.23 (#688)
dependabot[bot] Apr 26, 2021
ea1ecc5
Bump @types/node from 14.14.41 to 15.0.0 (#689)
dependabot[bot] Apr 26, 2021
c74fc1e
Bump @types/node from 15.0.0 to 15.0.1 (#691)
dependabot[bot] Apr 28, 2021
04816dc
Update README.md
JamesIves May 4, 2021
6bbab6a
Bump @types/node from 15.0.1 to 15.0.2 (#692)
dependabot[bot] May 5, 2021
e68dabe
Bump @typescript-eslint/eslint-plugin from 4.22.0 to 4.22.1 (#693)
dependabot[bot] May 5, 2021
0232645
Bump @typescript-eslint/parser from 4.22.0 to 4.22.1 (#694)
dependabot[bot] May 5, 2021
3ee97cf
Adds Sponsors
JamesIves May 6, 2021
ac8210f
Update README.md
JamesIves May 6, 2021
31de249
Deploying to dev from @ JamesIves/github-pages-deploy-action@ac8210fb…
JamesIves May 6, 2021
3210893
Update README.md
JamesIves May 6, 2021
f0e5274
Update sponsors.yml
JamesIves May 6, 2021
1092e90
Update README.md
JamesIves May 6, 2021
184d104
Update main.test.ts
JamesIves May 6, 2021
fb9764a
Deploying to dev from @ JamesIves/github-pages-deploy-action@184d1042…
JamesIves May 6, 2021
e0b4df8
Bump ts-jest from 26.5.5 to 26.5.6 (#695)
dependabot[bot] May 6, 2021
3fe8ff9
Update sponsors.yml
JamesIves May 6, 2021
4d7eb44
Merge branch 'dev' of https://github.com/JamesIves/github-pages-deplo…
JamesIves May 6, 2021
cdabeec
Update BUG_REPORT.md
JamesIves May 6, 2021
7a36d8a
Updated documentation for `clean` (#698)
sanchom May 7, 2021
da27d2d
Bump eslint from 7.25.0 to 7.26.0 (#704)
dependabot[bot] May 10, 2021
540f86c
Bump hosted-git-info from 2.8.8 to 2.8.9 (#706)
dependabot[bot] May 10, 2021
0afb880
Allow Subsequent Deployments (#690)
JamesIves May 10, 2021
6502bd3
Changes to ref search (#705)
JamesIves May 10, 2021
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
26 changes: 12 additions & 14 deletions .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
@@ -1,17 +1,15 @@
// https://github.com/microsoft/vscode-dev-containers/tree/master/containers/typescript-node
{
"name": "Node.js & TypeScript",
"build": {
"dockerfile": "Dockerfile",
"args": {
"VARIANT": "12"
}
},
"settings": {
"terminal.integrated.shell.linux": "/bin/bash"
},
"extensions": [
"dbaeumer.vscode-eslint"
],
"remoteUser": "node"
"name": "Node.js & TypeScript",
"build": {
"dockerfile": "Dockerfile",
"args": {
"VARIANT": "12"
}
},
"settings": {
"terminal.integrated.shell.linux": "/bin/bash"
},
"extensions": ["dbaeumer.vscode-eslint"],
"remoteUser": "node"
}
104 changes: 56 additions & 48 deletions .eslintrc.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
{
"plugins": ["jest", "@typescript-eslint", "github"],
"extends": ["plugin:github/recommended"],
"plugins": ["jest", "@typescript-eslint"],
"extends": [
"eslint:recommended",
"plugin:@typescript-eslint/recommended",
"plugin:prettier/recommended"
],
"parser": "@typescript-eslint/parser",
"parserOptions": {
"ecmaVersion": 9,
Expand All @@ -10,57 +14,61 @@
"globals": {
"fetch": true
},
"env": {
"node": true,
"es6": true,
"jest/globals": true
},
"rules": {
"eslint-comments/no-use": "off",
"import/no-namespace": "off",
"no-unused-vars": "off",
"@typescript-eslint/no-unused-vars": "error",
"@typescript-eslint/explicit-member-accessibility": ["error", {"accessibility": "no-public"}],
"@typescript-eslint/no-require-imports": "error",
"@typescript-eslint/array-type": "error",
"@typescript-eslint/await-thenable": "error",
"@typescript-eslint/ban-ts-comment": "error",
"camelcase": "off",
"@typescript-eslint/naming-convention": [
"@typescript-eslint/ban-types": [
"error",
{
"selector": "default",
"format": ["camelCase", "UPPER_CASE", "StrictPascalCase"]
"types": {
"Number": {
"message": "Use number instead",
"fixWith": "number"
},
"String": {
"message": "Use string instead",
"fixWith": "string"
},
"Boolean": {
"message": "Use boolean instead",
"fixWith": "boolean"
},
"Object": {
"message": "Use object instead",
"fixWith": "object"
},
"{}": {
"message": "Use object instead",
"fixWith": "object"
},
"Symbol": {
"message": "Use symbol instead",
"fixWith": "symbol"
}
}
}
],
"@typescript-eslint/explicit-function-return-type": ["error", {"allowExpressions": true}],
"@typescript-eslint/func-call-spacing": ["error", "never"],
"@typescript-eslint/no-array-constructor": "error",
"@typescript-eslint/no-empty-interface": "error",
"@typescript-eslint/no-explicit-any": "off",
"@typescript-eslint/no-extraneous-class": "error",
"@typescript-eslint/no-for-in-array": "error",
"@typescript-eslint/no-inferrable-types": "error",
"@typescript-eslint/no-misused-new": "error",
"@typescript-eslint/no-namespace": "error",
"@typescript-eslint/no-non-null-assertion": "warn",
"@typescript-eslint/no-unnecessary-qualifier": "error",
"@typescript-eslint/no-unnecessary-type-assertion": "error",
"@typescript-eslint/no-useless-constructor": "error",
"@typescript-eslint/no-var-requires": "error",
"@typescript-eslint/prefer-for-of": "warn",
"@typescript-eslint/prefer-function-type": "warn",
"@typescript-eslint/prefer-includes": "error",
"@typescript-eslint/prefer-string-starts-ends-with": "error",
"@typescript-eslint/promise-function-async": "error",
"@typescript-eslint/require-array-sort-compare": "error",
"@typescript-eslint/restrict-plus-operands": "error",
"semi": "off",
"@typescript-eslint/semi": ["error", "never"],
"@typescript-eslint/type-annotation-spacing": "error",
"@typescript-eslint/unbound-method": "error",
"no-console": "off",
"no-shadow": "off", // replaced by ts-eslint rule below
"@typescript-eslint/no-shadow": "error"
"@typescript-eslint/array-type": ["error", {"default": "array"}],
"@typescript-eslint/explicit-module-boundary-types": "error",
"@typescript-eslint/no-explicit-any": "error",
"@typescript-eslint/no-unused-vars": "error",
"@typescript-eslint/explicit-function-return-type": "error",
"object-shorthand": ["error", "always"],
"prefer-destructuring": [
"error",
{
"array": false,
9E88 "object": true
},
"env": {
"node": true,
"es6": true,
"jest/globals": true
{
"enforceForRenamedProperties": false
}
],
"no-console": ["error", {"allow": ["warn", "error"]}],
"no-alert": "error",
"no-debugger": "error"
}
}
7 changes: 5 additions & 2 deletions .github/ISSUE_TEMPLATE/BUG_REPORT.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,20 +2,23 @@
name: Bug Report
about: Create a bug report to help us improve the action.
labels:
- bug

- triage ⚠️
---

<!-- Please check the Q&A before posting an issue: https://github.com/JamesIves/github-pages-deploy-action/discussions?discussions_q=category%3AQ%26A -->

## Describe the bug

<!-- Please provide a clear and concise description of what the bug is. -->

## Reproduction Steps

<!-- Steps to reproduce the behavior. -->

## Logs

<!- F438 - Please provide your deployment logs and a link or sample to/of your workflow. If the error message isn't revealing the problem please set ACTIONS_STEP_DEBUG to true in your repository's secrets menu and run the workflow again. -->

## Additional Comments

<!--Add any other context about the problem here. -->
3 changes: 1 addition & 2 deletions .github/ISSUE_TEMPLATE/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,7 @@ contact_links:
- name: Feature Request and Ideas
url: https://github.com/JamesIves/github-pages-deploy-action/discussions?discussions_q=category%3AIdeas
about: If you have an idea or would like to make a feature request please open a discussion thread.

- name: Support and Questions
url: https://github.com/JamesIves/github-pages-deploy-action/discussions?discussions_q=category%3AQ%26A
about: Need help or just have a general question? Please open a discussion thread.

3 changes: 3 additions & 0 deletions .github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,11 @@
## Description

<!-- Provide a description of what your changes do. -->

## Testing Instructions

<!-- Give us step by step instructions on how to test your changes. -->

## Additional Notes

<!-- Anything else that will help us test the pull request. -->
Binary file added .github/assets/icon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
File renamed without changes
12 changes: 6 additions & 6 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
version: 2
updates:
- package-ecosystem: npm
directory: "/"
schedule:
interval: daily
time: "10:00"
open-pull-requests-limit: 10
- package-ecosystem: npm
directory: '/'
schedule:
interval: daily
time: '10:00'
open-pull-requests-limit: 10
6 changes: 3 additions & 3 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -72,8 +72,8 @@ jobs:
needs: build
strategy:
matrix:
branch: ["gh-pages", "no-pages"]
commit: ["singleCommit", "add commits"]
branch: ['gh-pages', 'no-pages']
commit: ['singleCommit', 'add commits']
max-parallel: 1
steps:
- name: Checkout
Expand Down Expand Up @@ -120,7 +120,7 @@ jobs:
if: ${{ matrix.branch == 'gh-pages' }}
with:
folder: integration
branch: ${{ matrix.branch }}
branch: ${{ matrix.branch }}
single-commit: ${{ matrix.commit == 'singleCommit' }}
dry-run: true

Expand Down
18 changes: 9 additions & 9 deletions .github/workflows/codeql-analysis.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: "CodeQL"
name: 'CodeQL'
on:
push:
branches:
Expand All @@ -18,14 +18,14 @@ jobs:
runs-on: ubuntu-latest

steps:
- name: Checkout repository
uses: actions/checkout@v2
- name: Checkout repository
uses: actions/checkout@v2

- name: Initialize CodeQL
uses: github/codeql-action/init@v1
- name: Initialize CodeQL
uses: github/codeql-action/init@v1

- name: Autobuild
uses: github/codeql-action/autobuild@v1
- name: Autobuild
uses: github/codeql-action/autobuild@v1

- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v1
- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v1
2 changes: 1 addition & 1 deletion .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,4 +18,4 @@ jobs:
branch: releases/v4
folder: .
clean: false
single-commit: true
single-commit: true
36 changes: 31 additions & 5 deletions .github/workflows/integration.yml
1241
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ jobs:
single-commit: true
clean: true
silent: true

# Deploys using checkout@v1 with an ACCESS_TOKEN.
integration-checkout-v1:
needs: integration-cross-repo-push
Expand Down Expand Up @@ -84,7 +84,6 @@ jobs:
github_token: ${{ secrets.GITHUB_TOKEN }}
branches: gh-pages


# Deploys using a container that requires you to install rsync.
integration-container:
needs: integration-checkout-v2
Expand Down Expand Up @@ -172,7 +171,7 @@ jobs:
github_token: ${{ secrets.GITHUB_TOKEN }}
branches: gh-pages

# Deploys using a custom env.
# Deploys using a custom env. (Includes subsequent commit)
integration-env:
needs: integration-ssh-third-party-client
runs-on: ubuntu-latest
Expand All @@ -195,6 +194,15 @@ jobs:
target-folder: cat/montezuma4
silent: true

- name: Build and Deploy
uses: JamesIves/github-pages-deploy-action@releases/v4
with:
ssh-key: ${{ secrets.DEPLOY_KEY }}
branch: gh-pages
folder: integration
target-folder: cat/subsequent
silent: true

- name: Cleanup Generated Branch
uses: dawidd6/action-delete-branch@v2.0.1
with:
Expand All @@ -203,7 +211,15 @@ jobs:

# Deploys using the CLEAN option.
integration-clean:
needs: [integration-checkout-v1, integration-checkout-v2, integration-container, integration-ssh, integration-ssh-third-party-client, integration-env]
needs:
[
integration-checkout-v1,
integration-checkout-v2,
integration-container,
integration-ssh,
integration-ssh-third-party-client,
integration-env
]
runs-on: ubuntu-latest
steps:
- name: Checkout
Expand All @@ -220,7 +236,7 @@ jobs:
clean: true
silent: true

# Deploys to a branch that doesn't exist with SINGLE_COMMIT.
# Deploys to a branch that doesn't exist with SINGLE_COMMIT. (Includes subsequent commit)
integration-branch-creation:
needs: integration-clean
runs-on: ubuntu-latest
Expand All @@ -239,6 +255,16 @@ jobs:
single-commit: true
silent: true

- name: Build and Deploy
uses: JamesIves/github-pages-deploy-action@releases/v4
with:
token: ${{ secrets.ACCESS_TOKEN }}
branch: integration-test-delete-prod
folder: integration
single-commit: true
target-folder: jives
silent: true

- name: Cleanup Generated Branch
uses: dawidd6/action-delete-branch@v2.0.1
with:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/production.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
run: npm install -g yarn

- name: Clobber lib
run: rm -rf lib
run: rm -rf lib

- name: Set up .gitignore
run: |
Expand Down
Loading
0