Skip to content

Commit 3332619

Browse files
committed
Revert "checkout action contents"
This reverts commit 312de01.
1 parent 312de01 commit 3332619

File tree

6 files changed

+6
-15
lines changed

6 files changed

+6
-15
lines changed

README.md

+4-4
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,10 @@ been changed.
99

1010
This repository has two action files:
1111

12-
| File | Description |
13-
| -------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
14-
| [`action.yml`](./action.yml) | This composite action calls on other Khan actions to prepare a list of changed files. |
15-
| [`changeset-per-package/action.yml`](./changeset-per-package/action.yml) | This ts action contains its logic to [`./src/main.ts`](./src/main.ts). It checks for packages corresponding to changed files, then determines if there is a match for each in changesets. |
12+
| File | Description |
13+
| ------------------------------------------------------------------------------------ | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
14+
| [`./action.yml`](./action.yml) | This composite action calls on other Khan actions to prepare a list of changed files. |
15+
| [`./actions/verify-per-package/action.yml`](./actions/verify-per-package/action.yml) | This ts action contains its logic to [`./src/main.ts`](./src/main.ts). It checks for packages corresponding to changed files, then determines if there is a match for each in changesets. |
1616

1717
## When Making Changes
1818

action.yml

+1-10
Original file line numberDiff line numberDiff line change
@@ -44,16 +44,7 @@ runs:
4444
extensions: ${{ inputs.exclude_extensions }}
4545
globs: ${{ inputs.exclude_globs }}
4646

47-
# Checkout necessary files to run next action
48-
- uses: actions/checkout@v4
49-
with:
50-
repository: Khan/changeset-per-package
51-
path: changeset-per-package
52-
sparse-checkout: |
53-
changeset-per-package/*
54-
sparse-checkout-cone-mode: false
55-
5647
- name: Veryify changeset entries
57-
uses: ./changeset-per-package/changeset-per-package
48+
uses: ./actions/verify-per-package
5849
with:
5950
changed_files: ${{ steps.match.outputs.filtered }}
File renamed without changes.
File renamed without changes.

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
"format:write": "prettier --write **/*.ts",
3030
"format:check": "prettier --check **/*.ts",
3131
"lint": "npx eslint . -c ./.github/linters/.eslintrc.yml",
32-
"package": "ncc build src/index.ts -o changeset-per-package/dist --license licenses.txt",
32+
"package": "ncc build src/index.ts -o actions/verify-per-package/dist --license licenses.txt",
3333
"package:watch": "yarn package -- --watch",
3434
"test": "(jest && make-coverage-badge --output-path ./badges/coverage.svg) || make-coverage-badge --output-path ./badges/coverage.svg",
3535
"all": "yarn format:write && yarn lint && yarn test && yarn package"

0 commit comments

Comments
 (0)