Commit Graph

809 Commits

Author SHA1 Message Date
James Ives
cb95e7b918 Update devcontainer.json 2021-02-05 21:38:08 -05:00
James Ives
3a9b795240 Update README.md 2021-02-05 10:13:30 -05:00
James Ives
7fe0750a45
Unsets Persisted Credentials (#587)
* Persist

* Config Setup/Tests

* Assets

* Update git.ts

* Spacing

* Update integration.yml
2021-02-05 10:00:51 -05:00
James Ives
2963e5ecf1
SSH Issues (#588) 2021-02-04 12:50:35 -05:00
James Ives
cb9b5aee83 Merge branch 'dev' into dev-v4 2021-02-04 08:13:25 -05:00
dependabot[bot]
023cc8dca5
Bump @types/node from 14.14.22 to 14.14.25 (#585)
Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 14.14.22 to 14.14.25.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-02-04 07:57:46 -05:00
James Ives
00910a99db
Update README.md 2021-02-03 23:21:53 -05:00
James Ives
86419a8638
Update README.md 2021-02-03 23:07:53 -05:00
James Ives
7644ba3bc6
Update README.md 2021-02-03 23:07:37 -05:00
James Ives
bc821012e1
Update README.md 2021-02-03 22:37:49 -05:00
James Ives
6d01e592e2
Update README.md 2021-02-03 22:37:09 -05:00
James Ives
156d91fbff
Add files via upload 2021-02-03 22:36:41 -05:00
James Ives
d0c0cc0d21
Update README.md 2021-02-03 22:22:10 -05:00
James Ives
9b18761c06
Add files via upload 2021-02-03 22:21:36 -05:00
James Ives
eace78eb82
Codespace Support (#584) 2021-02-03 21:27:35 -05:00
James Ives
a099e5db8b
Deployment Issues (#583)
* Update git.ts

* Tests

* Update git.ts

* Formatting

* Update src/git.ts

Co-authored-by: Axel Hecht <axel@pike.org>

* TestFlag

* Logging

* Update git.ts

Co-authored-by: Axel Hecht <axel@pike.org>
2021-02-03 21:26:28 -05:00
dependabot[bot]
d8684508c3
Bump eslint from 7.18.0 to 7.19.0 (#577)
Bumps [eslint](https://github.com/eslint/eslint) from 7.18.0 to 7.19.0.
- [Release notes](https://github.com/eslint/eslint/releases)
- [Changelog](https://github.com/eslint/eslint/blob/master/CHANGELOG.md)
- [Commits](https://github.com/eslint/eslint/compare/v7.18.0...v7.19.0)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-02-01 08:44:05 -05:00
James Ives
64eb7112e4
Native SSH Key Support (#569)
* SSH Key Support 🔑

* Update ssh.ts

* Update src/ssh.ts

Co-authored-by: Axel Hecht <axel@pike.org>

* README fixes/etc

* Unit Tests & README

* ssh key

* Update README.md

* Update ssh.test.ts

* Update ssh.test.ts

* Update ssh.test.ts

* Update ssh.test.ts

* Update ssh.test.ts

* Update ssh.test.ts

* Update integration.yml

Co-authored-by: Axel Hecht <axel@pike.org>
2021-01-21 09:08:31 -05:00
dependabot[bot]
9abdd5a3f6
Bump @types/node from 14.14.21 to 14.14.22 (#574)
Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 14.14.21 to 14.14.22.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-01-21 09:08:16 -05:00
James Ives
e00d6bfda7 Revert "Integration tests"
This reverts commit 639ff537d5.
2021-01-18 09:56:53 -05:00
James Ives
639ff537d5 Integration tests 2021-01-18 09:56:42 -05:00
James Ives
58cb667763 Security Docs 2021-01-18 09:54:40 -05:00
James Ives
02fcf2d1b2 Merge branch 'dev' into dev-v4 2021-01-18 09:52:52 -05:00
dependabot[bot]
637320f949
Bump eslint from 7.17.0 to 7.18.0 (#572)
Bumps [eslint](https://github.com/eslint/eslint) from 7.17.0 to 7.18.0.
- [Release notes](https://github.com/eslint/eslint/releases)
- [Changelog](https://github.com/eslint/eslint/blob/master/CHANGELOG.md)
- [Commits](https://github.com/eslint/eslint/compare/v7.17.0...v7.18.0)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-01-18 09:52:39 -05:00
dependabot[bot]
27ba469736
Bump @types/node from 14.14.20 to 14.14.21 (#571)
Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 14.14.20 to 14.14.21.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-01-16 09:47:09 -05:00
James Ives
0b7a591e66 Merge branch 'dev' into dev-v4 2021-01-09 07:31:22 -05:00
dependabot[bot]
4bcd906976
Bump @types/node from 14.14.16 to 14.14.20 (#563)
Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 14.14.16 to 14.14.20.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-01-09 07:28:25 -05:00
dependabot[bot]
ff326dbbdd
Bump @types/jest from 26.0.19 to 26.0.20 (#566)
Bumps [@types/jest](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/jest) from 26.0.19 to 26.0.20.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/jest)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-01-07 11:09:43 -05:00
dependabot[bot]
02f44cecd2
Bump eslint-plugin-prettier from 3.3.0 to 3.3.1 (#564)
Bumps [eslint-plugin-prettier](https://github.com/prettier/eslint-plugin-prettier) from 3.3.0 to 3.3.1.
- [Release notes](https://github.com/prettier/eslint-plugin-prettier/releases)
- [Changelog](https://github.com/prettier/eslint-plugin-prettier/blob/master/CHANGELOG.md)
- [Commits](https://github.com/prettier/eslint-plugin-prettier/compare/v3.3.0...v3.3.1)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-01-05 11:57:16 -05:00
dependabot[bot]
60c37f7835
Bump eslint from 7.16.0 to 7.17.0 (#562)
Bumps [eslint](https://github.com/eslint/eslint) from 7.16.0 to 7.17.0.
- [Release notes](https://github.com/eslint/eslint/releases)
- [Changelog](https://github.com/eslint/eslint/blob/master/CHANGELOG.md)
- [Commits](https://github.com/eslint/eslint/compare/v7.16.0...v7.17.0)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-01-05 10:39:21 -05:00
Axel Hecht
291c5c792e
Hyphenate inputs and outputs, add step output, fix #558 (#559)
* Hyphenate inputs and outputs, add step output, fix #558

I've also tried to make the clean docs a bit clearer, and consistent
about clean being on my default. Still not totally happy with the intro
of the docs there, though.

* Add testing of step outputs to build integration tests
2021-01-05 10:39:10 -05:00
dependabot[bot]
f2dc6ee76c
Bump eslint from 7.15.0 to 7.16.0 (#554)
Bumps [eslint](https://github.com/eslint/eslint) from 7.15.0 to 7.16.0.
- [Release notes](https://github.com/eslint/eslint/releases)
- [Changelog](https://github.com/eslint/eslint/blob/master/CHANGELOG.md)
- [Commits](https://github.com/eslint/eslint/compare/v7.15.0...v7.16.0)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-12-30 09:17:42 -05:00
dependabot[bot]
d2d85bdd3f
Bump @types/node from 14.14.14 to 14.14.16 (#555)
Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 14.14.14 to 14.14.16.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-12-29 10:34:37 -05:00
Axel Hecht
7bf80b4b88
Use multi-line string for clean-exclude patterns. (#553)
As this change is subtle, I'm taking the opportunity to change
the underscore for the hyphen, which makes it less likely that
users of this action will just pass in an old json array.
2020-12-29 10:34:23 -05:00
dependabot[bot]
02e8febfba
Bump @types/node from 14.14.13 to 14.14.14 (#548)
Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 14.14.13 to 14.14.14.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-12-17 11:28:34 -05:00
James Ives
d8c795395d
Lowercase Inputs (#547)
* Lowercases inputs

* Adjusts workflow tests and deployment_status
2020-12-15 18:32:06 -05:00
Axel Hecht
2a503ef9b5
Fix a few nits in tests and automation. Don't try to wordcount ls-rem… (#546)
* Fix a few nits in tests and automation. Don't try to wordcount ls-remote.

Nits in tests are around undoing changes made to the environment,
and to not modify the checkout.

* Describe suite with empty SHA
2020-12-15 10:58:52 -05:00
James Ives
570f002e7e Update worktree.ts 2020-12-14 12:41:27 -05:00
Axel Hecht
4e40ddd3f5
Test current code base as an integration test for PRs and pushes (#505)
* Add a build step to create lib and node_modules artifact

* Run integration test with built dist and current SHA as base

For pull requests, the github.sha is the sha of the merge to the
target branch, not the head of the PR. Special case that.

* Use v2 checkout, and DRY_RUN for the integration test.

I also made the branches more generic, as there are now more of them.

* Fix #536, don't push at all on dryRun

Also add tests for dryRun and singleCommit and generateBranch
code flows.

* Try to fix dryRun on new remote branches, refactor fetch

* Try to fix dryRun, only fetch if origin branch exists

* Refactor worktree setup to include branch generation and setup for singleCommit

This is a continuation of the no-checkout work, and sadly suggested pretty
intensive changes.

* Set up git config to fix tests, also make debugging easier

* Add matrix for existing and non-existing branch

* Add matrix for singleCommit and not

* Drop GITHUB_TOKEN, add DRY_RUN to action.yml

* When deploying existing branch, add a modifcation and deploy again

* Force branch checkout to work in redeployment scenarios

* Make singleCommit easier to see in job descriptions

* Review comments

* Add a test-only property to action to test code paths with remote branch.

* Introduce TestFlag enum to signal different test scenarios to unit tests

* Fix util.test.ts
2020-12-14 12:30:22 -05:00
James Ives
ac885860a8 Removing stale bot integration 2020-12-14 10:33:37 -05:00
James Ives
27009d7a96 Stores username/email in secrets 2020-12-14 10:31:54 -05:00
Axel Hecht
0da20f04b8
Add workflow to update build and node_modules on release branches (#541) 2020-12-14 10:26:48 -05:00
dependabot[bot]
6c2829254c
Bump @types/node from 14.14.12 to 14.14.13 (#543)
Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 14.14.12 to 14.14.13.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-12-14 10:24:04 -05:00
dependabot[bot]
9cb3ba145f
Bump eslint-plugin-prettier from 3.2.0 to 3.3.0 (#542)
Bumps [eslint-plugin-prettier](https://github.com/prettier/eslint-plugin-prettier) from 3.2.0 to 3.3.0.
- [Release notes](https://github.com/prettier/eslint-plugin-prettier/releases)
- [Changelog](https://github.com/prettier/eslint-plugin-prettier/blob/master/CHANGELOG.md)
- [Commits](https://github.com/prettier/eslint-plugin-prettier/compare/v3.2.0...v3.3.0)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-12-14 10:23:50 -05:00
James Ives
79dbd5183d Merge branch 'dev' into dev-v4 2020-12-11 09:36:45 -05:00
dependabot[bot]
4873c40420
Bump @types/jest from 26.0.18 to 26.0.19 (#539)
Bumps [@types/jest](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/jest) from 26.0.18 to 26.0.19.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/jest)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-12-11 09:36:33 -05:00
Axel Hecht
a92aacd4ba
Adjust codeql action to latest recommendations (#540)
Also, add the dev and release branches, and drop master.
2020-12-11 09:36:21 -05:00
James Ives
7a94841600
Simplifies Token Setup (#530)
* Token simplification

* Access Token / Github Token -> Token

* Oops

* Typos

* Update README.md

* Update README.md

* Update action.yml

Co-authored-by: Axel Hecht <axel@pike.org>

* Update README.md

Co-authored-by: Axel Hecht <axel@pike.org>

* Update README.md

Co-authored-by: Axel Hecht <axel@pike.org>
2020-12-10 11:49:37 -05:00
dependabot[bot]
32f0bf9596
Bump @types/node from 14.14.11 to 14.14.12 (#538)
Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 14.14.11 to 14.14.12.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-12-10 11:34:18 -05:00
dependabot[bot]
dac7fd7a1f
Bump @types/jest from 26.0.17 to 26.0.18 (#534)
Bumps [@types/jest](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/jest) from 26.0.17 to 26.0.18.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/jest)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-12-09 10:21:28 -05:00