Commit Graph

1265 Commits

Author SHA1 Message Date
dependabot[bot]
5cd1eefe64
Bump JamesIves/github-pages-deploy-action from 4.3.0 to 4.3.2 (#1091)
Bumps [JamesIves/github-pages-deploy-action](https://github.com/JamesIves/github-pages-deploy-action) from 4.3.0 to 4.3.2.
- [Release notes](https://github.com/JamesIves/github-pages-deploy-action/releases)
- [Commits](https://github.com/JamesIves/github-pages-deploy-action/compare/v4.3.0...v4.3.2)

---
updated-dependencies:
- dependency-name: JamesIves/github-pages-deploy-action
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-04-25 22:02:00 -04:00
James Ives
119d340e22 Formatting 2022-04-25 21:59:43 -04:00
James Ives
d34d41a21e Modifies permissions 2022-04-25 21:56:48 -04:00
James Ives
bd8e5da3f8 Release 4.3.2 📣 2022-04-23 21:16:38 +00:00
James Ives
55974d46d9 Deploy Production Code for Commit 7cde9b7836 🚀 2022-04-23 20:38:52 +00:00
James Ives
7cde9b7836 Merge branch 'dev' into releases/v4 2022-04-23 16:37:34 -04:00
James Ives
1549ea03e5 Permission modifications 2022-04-23 16:34:30 -04:00
James Ives
459b6671b5 Release 4.3.1 📣 2022-04-23 20:20:33 +00:00
James Ives
0648fc06a2 Merge branch 'dev' into releases/v4 2022-04-23 15:57:08 -04:00
James Ives
788c77f122 Deploy Production Code for Commit 131fed335f 🚀 2022-04-23 19:56:14 +00:00
James Ives
cee86d101e Update integration.yml 2022-04-23 15:55:13 -04:00
James Ives
131fed335f Merge branch 'releases/v4' of https://github.com/JamesIves/github-pages-deploy-action into releases/v4 2022-04-23 15:55:01 -04:00
James Ives
7eb191bafc Update git.ts 2022-04-23 15:54:43 -04:00
James Ives
e90f003523 Deploy Production Code for Commit 273c87e514 🚀 2022-04-23 19:52:53 +00:00
James Ives
273c87e514 Update git.ts 2022-04-23 15:51:38 -04:00
James Ives
79d17ae7d0 Merge branch 'releases/v4' of https://github.com/JamesIves/github-pages-deploy-action into releases/v4 2022-04-23 15:28:26 -04:00
James Ives
04eb643534 Update integration.yml 2022-04-23 15:28:17 -04:00
James Ives
0fb7278bd7 Deploy Production Code for Commit c716b8fa65 🚀 2022-04-23 19:21:35 +00:00
James Ives
c716b8fa65 Merge branch 'dev' into releases/v4 2022-04-23 15:20:19 -04:00
James Ives
1506a6c991 Update integration.yml 2022-04-23 15:10:50 -04:00
James Ives
1230c334d1
Safe directory fix (#1085)
* Potential fix for safe directory issue

* Update git.ts

* Update git.ts
2022-04-23 15:04:53 -04:00
dependabot[bot]
91c3cd74c3
Bump codecov/codecov-action from 3.0.0 to 3.1.0 (#1084)
Bumps [codecov/codecov-action](https://github.com/codecov/codecov-action) from 3.0.0 to 3.1.0.
- [Release notes](https://github.com/codecov/codecov-action/releases)
- [Changelog](https://github.com/codecov/codecov-action/blob/master/CHANGELOG.md)
- [Commits](https://github.com/codecov/codecov-action/compare/v3.0.0...v3.1.0)

---
updated-dependencies:
- dependency-name: codecov/codecov-action
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-04-22 07:46:46 -04:00
dependabot[bot]
d4952a153d
Bump @types/node from 17.0.24 to 17.0.25 (#1081)
Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 17.0.24 to 17.0.25.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node)

---
updated-dependencies:
- dependency-name: "@types/node"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-04-19 08:10:02 -04:00
dependabot[bot]
7c485844c0
Bump @types/node from 17.0.23 to 17.0.24 (#1079)
Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 17.0.23 to 17.0.24.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node)

---
updated-dependencies:
- dependency-name: "@types/node"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-04-16 21:19:42 -04:00
dependabot[bot]
509e872e62
Bump actions/download-artifact from 2 to 3 (#1078)
Bumps [actions/download-artifact](https://github.com/actions/download-artifact) from 2 to 3.
- [Release notes](https://github.com/actions/download-artifact/releases)
- [Commits](https://github.com/actions/download-artifact/compare/v2...v3)

---
updated-dependencies:
- dependency-name: actions/download-artifact
  dependency-type: direct:production
  update-type: version-update:semver-major
...

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-04-16 21:19:30 -04:00
dependabot[bot]
49869a0fd6
Bump codecov/codecov-action from 2.1.0 to 3.0.0 (#1076)
Bumps [codecov/codecov-action](https://github.com/codecov/codecov-action) from 2.1.0 to 3.0.0.
- [Release notes](https://github.com/codecov/codecov-action/releases)
- [Changelog](https://github.com/codecov/codecov-action/blob/master/CHANGELOG.md)
- [Commits](https://github.com/codecov/codecov-action/compare/v2.1.0...v3.0.0)

---
updated-dependencies:
- dependency-name: codecov/codecov-action
  dependency-type: direct:production
  update-type: version-update:semver-major
...

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-04-16 21:19:16 -04:00
dependabot[bot]
a726695ff1
Bump eslint-plugin-jest from 26.1.3 to 26.1.4 (#1074)
Bumps [eslint-plugin-jest](https://github.com/jest-community/eslint-plugin-jest) from 26.1.3 to 26.1.4.
- [Release notes](https://github.com/jest-community/eslint-plugin-jest/releases)
- [Changelog](https://github.com/jest-community/eslint-plugin-jest/blob/main/CHANGELOG.md)
- [Commits](https://github.com/jest-community/eslint-plugin-jest/compare/v26.1.3...v26.1.4)

---
updated-dependencies:
- dependency-name: eslint-plugin-jest
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-04-16 21:19:07 -04:00
James Ives
aff13363e7
Update integration.yml 2022-04-14 14:50:24 -04:00
dependabot[bot]
49069bae53
Bump actions/upload-artifact from 2 to 3 (#1077) 2022-04-11 11:46:00 -04:00
dependabot[bot]
a1740ed44f
Bump JamesIves/github-pages-deploy-action from 4.2.5 to 4.3.0 (#1071)
Bumps [JamesIves/github-pages-deploy-action](https://github.com/JamesIves/github-pages-deploy-action) from 4.2.5 to 4.3.0.
- [Release notes](https://github.com/JamesIves/github-pages-deploy-action/releases)
- [Commits](https://github.com/JamesIves/github-pages-deploy-action/compare/v4.2.5...v4.3.0)

---
updated-dependencies:
- dependency-name: JamesIves/github-pages-deploy-action
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-04-05 06:47:46 -04:00
James Ives
8f2725f1a6 Update integration.yml 2022-04-04 10:02:38 -04:00
James Ives
693099cb7a Release 4.3.0 📣 2022-04-04 14:01:30 +00:00
James Ives
01aec06874 Compile with Node 16 2022-04-04 09:42:48 -04:00
James Ives
360c8e75d0 Merge branch 'dev' into releases/v4 2022-04-04 09:36:40 -04:00
James Ives
6ae2891783 Update integration.yml 2022-04-04 09:36:17 -04:00
James Ives
e6c302f297 Update README.md 2022-04-04 09:28:29 -04:00
James Ives
cf0ab8fab5 Deploy Production Code for Commit 7598e9b3fc 🚀 2022-04-04 13:27:01 +00:00
James Ives
7598e9b3fc Merge branch 'dev' into releases/v4 2022-04-04 09:25:42 -04:00
James Ives
36e9415933 Improe coverage 2022-04-04 09:17:40 -04:00
dependabot[bot]
e71f256f1c
Bump prettier from 2.6.1 to 2.6.2 (#1068)
Bumps [prettier](https://github.com/prettier/prettier) from 2.6.1 to 2.6.2.
- [Release notes](https://github.com/prettier/prettier/releases)
- [Changelog](https://github.com/prettier/prettier/blob/main/CHANGELOG.md)
- [Commits](https://github.com/prettier/prettier/compare/2.6.1...2.6.2)

---
updated-dependencies:
- dependency-name: prettier
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-04-04 07:18:59 -04:00
Ross Williams
95f8a2cd05
Resolve simultaneous deployments with rebase (#1054)
* Return early from dry run

Determining whether to create a merge commit would elicit a nested
conditional, which could be hard to parse for a human reader. This is
avoided by returning early as soon as possible for a dry run.

This also resolves the erroneous 'changes committed' message when no
changes were actually committed because of the dry run. A message
specific to dry-run is logged instead.

* Add force parameter to action interface

Existing behaviour is equivalent to force=true, so the default value is
true.

* Implement pull+rebase procedure

* Declare force parameter in action

* Detect both rejection syntaxes

* Return both stdout and stderr from execute

* Ignore non-zero exit status on push

* Remove unnecessary error catch

* Fetch and rebase in separate steps

* Explicitly bind incoming branch

I think the fetch will update the origin/gh-pages branch but not the
gh-pages branch, despite requesting gh-pages. This means that when I
later attempt to rebase the temp branch on top of the gh-pages branch,
there will be nothing to do, because that's already where it is.

* Implement attempt limit

I don't expect this to ever require more than one attempt in production,
but in theory it's possible that this procedure could loop forever.

We would need to keep fetching and rebasing if changes keep being added
to the remote. In practice, I believe this would only happen if there
are lots of workflows simultaneously deploying to the same branch, all
using this action. In this case only one would be able to secure a lock
at a time, leading to the total number of attempts being equal to the
number of simultaneous deployments, assuming each deployment makes each
attempt at the exact same time.

The limit may need to be increased or even be configurable, but 3 should
cover most uses.

* Update tests for execute output split

* Document 'force' parameter

* Create integration test for rebase procedure

This test is composed of 3 jobs.

The first two jobs run simultaneously, and as such both depend on the
previous integration test only. The final job cleans up afterwards, and
depends on both of the prior jobs.

The two jobs are identical except that they both create a temporary file
in a different location. This is to ensure that they conflict. Correctly
resolving this conflict by rebasing one deployment over the other,
resulting in a deployment containing both files, indicates a successful
test.
2022-04-04 07:18:27 -04:00
dependabot[bot]
cd846deedd
Bump @actions/github from 5.0.0 to 5.0.1 (#1067) 2022-04-02 11:26:13 +01:00
dependabot[bot]
7117b56a56
Bump prettier from 2.6.0 to 2.6.1 (#1065)
Bumps [prettier](https://github.com/prettier/prettier) from 2.6.0 to 2.6.1.
- [Release notes](https://github.com/prettier/prettier/releases)
- [Changelog](https://github.com/prettier/prettier/blob/main/CHANGELOG.md)
- [Commits](https://github.com/prettier/prettier/compare/2.6.0...2.6.1)

---
updated-dependencies:
- dependency-name: prettier
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-03-28 11:10:46 +01:00
dependabot[bot]
bf7291ac77
Bump minimist from 1.2.5 to 1.2.6 (#1066) 2022-03-28 10:42:53 +01:00
dependabot[bot]
35d7584199
Bump typescript from 4.6.2 to 4.6.3 (#1064) 2022-03-28 09:22:48 +01:00
dependabot[bot]
6912c635dc
Bump @types/node from 17.0.21 to 17.0.23 (#1063)
Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 17.0.21 to 17.0.23.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node)

---
updated-dependencies:
- dependency-name: "@types/node"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-03-25 08:52:58 +00:00
dependabot[bot]
6f087b8681
Bump eslint-plugin-jest from 26.1.1 to 26.1.3 (#1062)
Bumps [eslint-plugin-jest](https://github.com/jest-community/eslint-plugin-jest) from 26.1.1 to 26.1.3.
- [Release notes](https://github.com/jest-community/eslint-plugin-jest/releases)
- [Changelog](https://github.com/jest-community/eslint-plugin-jest/blob/main/CHANGELOG.md)
- [Commits](https://github.com/jest-community/eslint-plugin-jest/compare/v26.1.1...v26.1.3)

---
updated-dependencies:
- dependency-name: eslint-plugin-jest
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-03-25 08:52:50 +00:00
dependabot[bot]
b78f0258c8
Bump @actions/exec from 1.1.0 to 1.1.1 (#1057)
Bumps [@actions/exec](https://github.com/actions/toolkit/tree/HEAD/packages/exec) from 1.1.0 to 1.1.1.
- [Release notes](https://github.com/actions/toolkit/releases)
- [Changelog](https://github.com/actions/toolkit/blob/main/packages/exec/RELEASES.md)
- [Commits](https://github.com/actions/toolkit/commits/@actions/tool-cache@1.1.1/packages/exec)

---
updated-dependencies:
- dependency-name: "@actions/exec"
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-03-19 07:05:53 -04:00
dependabot[bot]
724b748814
Bump @actions/io from 1.1.1 to 1.1.2 (#1058)
Bumps [@actions/io](https://github.com/actions/toolkit/tree/HEAD/packages/io) from 1.1.1 to 1.1.2.
- [Release notes](https://github.com/actions/toolkit/releases)
- [Changelog](https://github.com/actions/toolkit/blob/main/packages/io/RELEASES.md)
- [Commits](https://github.com/actions/toolkit/commits/HEAD/packages/io)

---
updated-dependencies:
- dependency-name: "@actions/io"
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-03-19 07:05:45 -04:00
dependabot[bot]
36d429c248
Bump prettier from 2.5.1 to 2.6.0 (#1056)
Bumps [prettier](https://github.com/prettier/prettier) from 2.5.1 to 2.6.0.
- [Release notes](https://github.com/prettier/prettier/releases)
- [Changelog](https://github.com/prettier/prettier/blob/main/CHANGELOG.md)
- [Commits](https://github.com/prettier/prettier/compare/2.5.1...2.6.0)

---
updated-dependencies:
- dependency-name: prettier
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-03-16 10:46:22 -04:00