Commit Graph
63 Commits
Author SHA1 Message Date
Conor Sloan 54d9a343c3 Move from composite to regular node action.
This involves generating the attestation in the code using the new attest library in the actions toolkit.
2024-03-01 16:45:32 +00:00
David Daly 2c0bfdf7d3 Merge pull request #91 from immutable-actions/ddivad195/update-readme
remove path from readme
2024-02-07 17:15:02 +00:00
David Daly 2218323404 remove path from readme
Remove the `path` input from the readme example as its no longer in use.
2024-02-07 15:42:55 +00:00
David Daly a6a87a7e13 Merge pull request #86 from immutable-actions/ddivad195/replace-axios2
remove axios and replace with fetch
2024-02-06 18:36:27 +00:00
ddivad195 b42b69f193 cleanup debug logging 2024-02-06 18:27:57 +00:00
ddivad195 1167b03ce8 refactor debug logging 2024-02-06 18:27:55 +00:00
ddivad195 4fb632b14a fix lint 2024-02-06 18:27:04 +00:00
ddivad195 6d082c4eab cleanup tests 2024-02-06 18:27:04 +00:00
Edwin Sirko c4d8d934a0 npm bundled 2024-02-06 18:27:01 +00:00
ddivad195 e5b7da2730 update tests to remove axios mocks and mock fetch instead 2024-02-06 18:25:25 +00:00
ddivad195 501681319f replace axios with fetch 2024-02-06 18:25:25 +00:00
ddivad195 38b91834f7 replace axios with fetch 2024-02-06 18:25:25 +00:00
Edwin Sirko caf8cf0ef1 fix event_type (#90) 2024-02-06 13:20:16 -05:00
Edwin Sirko 2222ac6d53 choose your own platform (#89) 2024-02-06 12:56:38 -05:00
Conor Sloan d4e4f829cb Merge pull request #88 from immutable-actions/conorsloan/use-npm-to-run
kick off action using custom npm script and prefix arg
2024-02-06 16:48:41 +00:00
Conor Sloan f2fb01cf17 run bundle 2024-02-06 16:42:15 +00:00
Conor Sloan 1105b75f95 update coverage 2024-02-06 16:39:53 +00:00
Conor Sloan 1b0ee34e34 remove manifest from action output printing 2024-02-06 16:34:26 +00:00
Conor Sloan 646d55a089 properly quote the output variables 2024-02-06 16:34:26 +00:00
Conor Sloan a07f7523c0 quote the path when calling npm to avoid backslash issues 2024-02-06 16:34:26 +00:00
Conor Sloan 3f76c4d47c use GITHUB_WORKSPACE as target dir to package up 2024-02-06 16:34:26 +00:00
Conor Sloan b8317831f8 kick off action using custom npm script and prefix arg
this accepts a prefix path which should be platform-agnostic.
2024-02-06 16:34:26 +00:00
Edwin Sirko c8ca97ca0c elongated e2e test timeout to 90s (#85) 2024-02-06 11:10:25 -05:00
Edwin Sirko 9525e839de handle todos (#82)
* handle todos

* dist/index.js
2024-02-02 14:59:25 -05:00
Edwin Sirko b80af95dd0 use runner's RUNNER_TEMP for temp directory (#75)
* use runner tempdir

* fix tests etc

* feedback

* ran npm install before generating dist
2024-02-02 13:05:08 -05:00
ddivad195 ebbc8c8d58 rebuild dist after dependabot updates 2024-02-02 13:04:37 -05:00
dependabot[bot] b337f88666 Bump @types/node from 20.11.4 to 20.11.13
Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 20.11.4 to 20.11.13.
- [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] <[email protected]>
2024-02-02 13:04:37 -05:00
dependabot[bot] 2bc73b1fa7 Bump fs-extra from 11.1.1 to 11.2.0
Bumps [fs-extra](https://github.com/jprichardson/node-fs-extra) from 11.1.1 to 11.2.0.
- [Changelog](https://github.com/jprichardson/node-fs-extra/blob/master/CHANGELOG.md)
- [Commits](https://github.com/jprichardson/node-fs-extra/compare/11.1.1...11.2.0)

---
updated-dependencies:
- dependency-name: fs-extra
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
2024-02-02 13:04:37 -05:00
dependabot[bot] dcd5d901d2 Bump eslint-plugin-jest from 27.6.0 to 27.6.3
Bumps [eslint-plugin-jest](https://github.com/jest-community/eslint-plugin-jest) from 27.6.0 to 27.6.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/v27.6.0...v27.6.3)

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

Signed-off-by: dependabot[bot] <[email protected]>
2024-02-02 13:04:37 -05:00
David Daly 8a5726de70 fix lint 2024-02-02 13:04:37 -05:00
dependabot[bot] cb79bd1a60 Bump eslint-plugin-prettier from 5.0.1 to 5.1.3
Bumps [eslint-plugin-prettier](https://github.com/prettier/eslint-plugin-prettier) from 5.0.1 to 5.1.3.
- [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/v5.0.1...v5.1.3)

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

Signed-off-by: dependabot[bot] <[email protected]>
2024-02-02 13:04:36 -05:00
dependabot[bot] 4e41e8883c Bump @types/tar from 6.1.10 to 6.1.11
Bumps [@types/tar](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/tar) from 6.1.10 to 6.1.11.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/tar)

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

Signed-off-by: dependabot[bot] <[email protected]>
2024-02-02 13:04:36 -05:00
Edwin Sirko b79f58714f e2e test (#71) 2024-02-02 13:04:36 -05:00
ddivad195 6233cad2a5 fix failing lint and test errors 2024-02-02 13:04:36 -05:00
dependabot[bot] 50e278b239 Bump @typescript-eslint/eslint-plugin from 6.12.0 to 6.20.0
Bumps [@typescript-eslint/eslint-plugin](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin) from 6.12.0 to 6.20.0.
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases)
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/CHANGELOG.md)
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v6.20.0/packages/eslint-plugin)

---
updated-dependencies:
- dependency-name: "@typescript-eslint/eslint-plugin"
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
2024-02-02 13:04:36 -05:00
dependabot[bot] 6e5c3af726 Bump eslint-plugin-jsonc from 2.10.0 to 2.13.0
Bumps [eslint-plugin-jsonc](https://github.com/ota-meshi/eslint-plugin-jsonc) from 2.10.0 to 2.13.0.
- [Release notes](https://github.com/ota-meshi/eslint-plugin-jsonc/releases)
- [Changelog](https://github.com/ota-meshi/eslint-plugin-jsonc/blob/master/CHANGELOG.md)
- [Commits](https://github.com/ota-meshi/eslint-plugin-jsonc/compare/v2.10.0...v2.13.0)

---
updated-dependencies:
- dependency-name: eslint-plugin-jsonc
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
2024-02-02 13:04:36 -05:00
dependabot[bot] e40ff00655 Bump prettier-eslint from 16.1.2 to 16.3.0
Bumps [prettier-eslint](https://github.com/prettier/prettier-eslint) from 16.1.2 to 16.3.0.
- [Release notes](https://github.com/prettier/prettier-eslint/releases)
- [Changelog](https://github.com/prettier/prettier-eslint/blob/master/CHANGELOG.md)
- [Commits](https://github.com/prettier/prettier-eslint/compare/v16.1.2...v16.3.0)

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

Signed-off-by: dependabot[bot] <[email protected]>
2024-02-02 13:04:35 -05:00
dependabot[bot] f64597ec50 Bump prettier from 3.1.0 to 3.2.4
Bumps [prettier](https://github.com/prettier/prettier) from 3.1.0 to 3.2.4.
- [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/3.1.0...3.2.4)

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

Signed-off-by: dependabot[bot] <[email protected]>
2024-02-02 13:04:35 -05:00
dependabot[bot] a9399d2ddb Bump typescript from 5.3.2 to 5.3.3
Bumps [typescript](https://github.com/Microsoft/TypeScript) from 5.3.2 to 5.3.3.
- [Release notes](https://github.com/Microsoft/TypeScript/releases)
- [Commits](https://github.com/Microsoft/TypeScript/compare/v5.3.2...v5.3.3)

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

Signed-off-by: dependabot[bot] <[email protected]>
2024-02-02 13:04:35 -05:00
David Daly 621cb8210d only run if environment is not ghes 2024-02-02 13:04:35 -05:00
Edwin Sirko dfbae910c5 fixed bug with fsExtra.copySync (#55) 2024-02-02 13:04:35 -05:00
Conor Sloan 1f47b19ed3 Tying up loose ends (#54)
* various qol updates to publish action

* review comments and run bundle
2024-02-02 13:02:14 -05:00
David Daly 3c4259bfdd re-enable generate-build-provenance step 2024-02-02 13:02:14 -05:00
Edwin Sirko 7472b3f822 refactored path calculation 2024-02-02 13:02:14 -05:00
ddivad195 cb62dd8450 remove console log of path 2024-02-02 13:00:34 -05:00
boxofyellow db688d0eea make sure to populate outputs of the composite action, Disable attestations 2024-02-02 13:00:34 -05:00
Edwin Sirko 5f9b214e33 properly getting CR URL 2024-02-02 12:59:49 -05:00
David Daly 002cf60682 cleanup action steps 2024-02-02 12:58:40 -05:00
boxofyellow 5e2391735e tests 2024-02-02 12:58:40 -05:00
Edwin Sirko c41316d7a8 v0.0.52: fetch CR URL 2024-02-02 12:58:36 -05:00