Commit Graph

14 Commits

Author SHA1 Message Date
James Ives
cdabeec5a4
Update BUG_REPORT.md 2021-05-06 19:33:48 -04:00
James Ives
4bb15711fb
Eslint improvements ()
* Initial Pass at new configs

* Improved Linting/Formatting

* Update execute.ts

* Update main.test.ts

* Change typing

* Update git.ts

* Update worktree.ts

* Update worktree.ts

* Update worktree.ts

* Maybe

* Update execute.ts
2021-04-26 18:57:10 -04:00
James Ives
990ade1a5a
Update BUG_REPORT.md 2021-02-05 23:34:27 -05:00
James Ives
442182742b
[Release] Version 4 ()
* Stop checking out workspace ()

* Stop checking out base branch before deployment, drop option.

* Don't check out default branch, as we don't check out base branch, drop option.

* Don't stash/unstash as we don't update the workdir, drop preserve option.

* Don't init the workspace

* Only fetch the remote branch if it exists, only with depth 1.

* Rely on previous checkouts to have handled lfs files correctly, drop option.

* Update README, action.yml, integration tests

* Set up eslint for test files. ()

* Add DRY_RUN option, passing --dry-run to git push. ()

See  for the proposal.

* Simplifies Token Setup ()

* 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>

* Adjust codeql action to latest recommendations ()

Also, add the dev and release branches, and drop master.

* Add workflow to update build and node_modules on release branches ()

* Stores username/email in secrets

* Removing stale bot integration

* Test current code base as an integration test for PRs and pushes ()

* 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 , 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

* Update worktree.ts

* Fix a few nits in tests and automation. Don't try to wordcount ls-rem… ()

* 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

* Lowercase Inputs ()

* Lowercases inputs

* Adjusts workflow tests and deployment_status

* Use multi-line string for clean-exclude patterns. ()

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.

* Hyphenate inputs and outputs, add step output, fix  ()

* Hyphenate inputs and outputs, add step output, fix 

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

* Security Docs

* Integration tests

* Revert "Integration tests"

This reverts commit 639ff537d5.

* Native SSH Key Support ()

* 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>

* Deployment Issues ()

* 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>

* Codespace Support ()

* Add files via upload

* Update README.md

* Add files via upload

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* SSH Issues ()

* Unsets Persisted Credentials ()

* Persist

* Config Setup/Tests

* Assets

* Update git.ts

* Spacing

* Update integration.yml

* Update README.md

Co-authored-by: Axel Hecht <axel@pike.org>
2021-02-05 22:05:18 -05:00
James Ives
31576af4cf
Update BUG_REPORT.md 2020-10-14 00:38:33 -04:00
James Ives
fda83b3629
Update BUG_REPORT.md 2020-07-04 15:54:45 -04:00
James Ives
2ec414d8d6 Fixes error handling and details in the readme. 2020-05-10 13:34:14 -04:00
James Ives
35d2f578e5 Makes the comments in the issue templates actually comments 2020-05-08 10:04:56 -04:00
James Ives
64f42b46af
Update BUG_REPORT.md 2020-05-08 06:45:53 -04:00
James Ives
dedb4fe338
Update BUG_REPORT.md 2020-05-08 06:41:58 -04:00
James Ives
e6b33da725
Update BUG_REPORT.md 2020-02-17 16:01:16 -05:00
James Ives
5e22417cf8
Adds automatic issue labels () 2020-01-19 07:37:40 -05:00
James Ives
a84ddb95d9
Improves templates () 2020-01-07 11:04:49 -05:00
James Ives
420901d6f8 Init 🚀 2019-03-02 18:43:28 -05:00