Compare commits
166 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
aa08304bd4 | ||
|
|
008ba8ceec | ||
|
|
fe6c3ea0ca | ||
|
|
7fc073d922 | ||
|
|
7e4bfc2f1f | ||
|
|
ef3a7f51d6 | ||
|
|
a65c2f2100 | ||
|
|
ea042d8095 | ||
|
|
8293f8c984 | ||
|
|
0ff732eeb3 | ||
|
|
8df6fc260f | ||
|
|
d516645658 | ||
|
|
2c97e7ea24 | ||
|
|
1c8e606958 | ||
|
|
74605cb326 | ||
|
|
aa15b58e8a | ||
|
|
0a392e7438 | ||
|
|
85efc7df8e | ||
|
|
2a095d24c2 | ||
|
|
ac3dc5e392 | ||
|
|
dd7e9d3b17 | ||
|
|
0647a31f54 | ||
|
|
9d67dd3dbe | ||
|
|
5acd7e3646 | ||
|
|
9f4af73d05 | ||
|
|
800a282599 | ||
|
|
31c4d150e6 | ||
|
|
2a2a5b6b9c | ||
|
|
d8dcc13244 | ||
|
|
639ce0e105 | ||
|
|
9d447b9959 | ||
|
|
83bfc72efa | ||
|
|
879c8388c8 | ||
|
|
bb7502bd15 | ||
|
|
5c5539ced9 | ||
|
|
c2039de114 | ||
|
|
0cbc9bc448 | ||
|
|
9ef20a69dd | ||
|
|
a617853c0f | ||
|
|
5c1bceb76c | ||
|
|
3f54ebb830 | ||
|
|
6f070cff38 | ||
|
|
ec75ae5ab7 | ||
|
|
4333ab5b20 | ||
|
|
e3cac49049 | ||
|
|
68bd4537bd | ||
|
|
f0ce41b71c | ||
|
|
ce451bf430 | ||
|
|
7592e9e855 | ||
|
|
999653c672 | ||
|
|
6cf4c21fdf | ||
|
|
09ee51bee3 | ||
|
|
8eced8a5df | ||
|
|
13fa1402a7 | ||
|
|
07ac0ac168 | ||
|
|
049d7fd639 | ||
|
|
2e90fbb74b | ||
|
|
2a9db54a6d | ||
|
|
d0d5671ef7 | ||
|
|
97120ff1f5 | ||
|
|
b2d4e1b488 | ||
|
|
9299962a59 | ||
|
|
ea35f7ea00 | ||
|
|
3399f8837f | ||
|
|
ac897da4f1 | ||
|
|
8e56bc097a | ||
|
|
f6d3fe5179 | ||
|
|
efa99ea361 | ||
|
|
6d8f9bd379 | ||
|
|
589fb70c81 | ||
|
|
7daee9e7cf | ||
|
|
99c80bdd47 | ||
|
|
5e7cbf5fdb | ||
|
|
b4d6d28988 | ||
|
|
8370e6e6ef | ||
|
|
aa31060851 | ||
|
|
54c56103aa | ||
|
|
e57fb1b8eb | ||
|
|
926735a61e | ||
|
|
d3ac2a064b | ||
|
|
91df40b882 | ||
|
|
28396e9658 | ||
|
|
3a66e2a7e4 | ||
|
|
35f3202fd5 | ||
|
|
2b30af482a | ||
|
|
a93bcf46e0 | ||
|
|
6d4c555c7d | ||
|
|
507a8c703d | ||
|
|
3a7052c24a | ||
|
|
782eb123a9 | ||
|
|
9134dac8f6 | ||
|
|
df12603b45 | ||
|
|
bb9b5e8363 | ||
|
|
31b9c0a541 | ||
|
|
ba0a561b13 | ||
|
|
8d35cbb00f | ||
|
|
82dd6547dc | ||
|
|
6d42539842 | ||
|
|
08dedfb681 | ||
|
|
f6d9fa10e0 | ||
|
|
9eb0d763ae | ||
|
|
51d2f88f07 | ||
|
|
90a06d6ba9 | ||
|
|
2cb2c9234e | ||
|
|
ac21d93904 | ||
|
|
a4637ea6e7 | ||
|
|
fd9998cf5f | ||
|
|
ea024b2d7f | ||
|
|
db4e584844 | ||
|
|
c6543c497a | ||
|
|
88f9f3efbb | ||
|
|
3af07c2040 | ||
|
|
3680129aa2 | ||
|
|
5d866cbe77 | ||
|
|
346f237a17 | ||
|
|
c037f1e7c5 | ||
|
|
ae82ed4ae0 | ||
|
|
cbd59070e8 | ||
|
|
6c9dcea443 | ||
|
|
79b060d445 | ||
|
|
434b67ebc3 | ||
|
|
cbda684547 | ||
|
|
3f8189989b | ||
|
|
67a1f54f6f | ||
|
|
99248a4438 | ||
|
|
878743189b | ||
|
|
98d1d84e2f | ||
|
|
a60bf3759e | ||
|
|
bc46e4c422 | ||
|
|
fba4067348 | ||
|
|
e4b8674732 | ||
|
|
bc2b5aef20 | ||
|
|
63c36a563a | ||
|
|
44b77505fe | ||
|
|
62f4729b5d | ||
|
|
e0579abf95 | ||
|
|
8e0194b29b | ||
|
|
3649d2842d | ||
|
|
0ca1c07b47 | ||
|
|
a57f4dcc81 | ||
|
|
9c39b0b6e9 | ||
|
|
8b141f3906 | ||
|
|
17e07d8bc0 | ||
|
|
13fa1c06fc | ||
|
|
0deb29d192 | ||
|
|
28267ee8b7 | ||
|
|
094d3441f8 | ||
|
|
aeec36b035 | ||
|
|
2d0270c489 | ||
|
|
0e0adfa0d3 | ||
|
|
5313e6bbe3 | ||
|
|
54789be3a1 | ||
|
|
1675238cfd | ||
|
|
3fbf5fb588 | ||
|
|
95230678db | ||
|
|
fdccafbb6e | ||
|
|
0e8d796ee0 | ||
|
|
0c6f2ac488 | ||
|
|
1db97adba4 | ||
|
|
fb8f6db383 | ||
|
|
efd7ecef11 | ||
|
|
4f8e12c098 | ||
|
|
032add13e8 | ||
|
|
0f0747e79d | ||
|
|
0c2a758b81 | ||
|
|
1b6d7b6fb6 |
@@ -208,6 +208,43 @@
|
||||
"test",
|
||||
"bug"
|
||||
]
|
||||
},
|
||||
{
|
||||
"login": "levenleven",
|
||||
"name": "Aleksey Levenstein",
|
||||
"avatar_url": "https://avatars.githubusercontent.com/u/6463364?v=4",
|
||||
"profile": "https://github.com/levenleven",
|
||||
"contributions": [
|
||||
"doc"
|
||||
]
|
||||
},
|
||||
{
|
||||
"login": "dan-hill2802",
|
||||
"name": "Daniel Hill",
|
||||
"avatar_url": "https://avatars.githubusercontent.com/u/5046322?v=4",
|
||||
"profile": "https://github.com/dan-hill2802",
|
||||
"contributions": [
|
||||
"doc"
|
||||
]
|
||||
},
|
||||
{
|
||||
"login": "KeisukeYamashita",
|
||||
"name": "KeisukeYamashita",
|
||||
"avatar_url": "https://avatars.githubusercontent.com/u/23056537?v=4",
|
||||
"profile": "https://keisukeyamashita.com",
|
||||
"contributions": [
|
||||
"doc"
|
||||
]
|
||||
},
|
||||
{
|
||||
"login": "codesculpture",
|
||||
"name": "Aravind",
|
||||
"avatar_url": "https://avatars.githubusercontent.com/u/63452117?v=4",
|
||||
"profile": "https://github.com/codesculpture",
|
||||
"contributions": [
|
||||
"code",
|
||||
"bug"
|
||||
]
|
||||
}
|
||||
],
|
||||
"contributorsPerLine": 7,
|
||||
|
||||
12
.github/workflows/codacy-analysis.yml
vendored
12
.github/workflows/codacy-analysis.yml
vendored
@@ -17,13 +17,13 @@ on:
|
||||
schedule:
|
||||
- cron: '15 16 * * 2'
|
||||
|
||||
permissions:
|
||||
actions: read
|
||||
contents: read
|
||||
security-events: write
|
||||
|
||||
jobs:
|
||||
codacy-security-scan:
|
||||
# Cancel other workflows that are running for the same branch
|
||||
# https://docs.github.com/en/actions/reference/workflow-syntax-for-github-actions#concurrency
|
||||
concurrency:
|
||||
group: ${{ github.workflow }}-${{ github.ref }}
|
||||
cancel-in-progress: true
|
||||
name: Codacy Security Scan
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
@@ -34,7 +34,7 @@ jobs:
|
||||
# Execute Codacy Analysis CLI and generate a SARIF output with the security issues identified during the analysis
|
||||
- name: Run Codacy Analysis CLI
|
||||
continue-on-error: true
|
||||
uses: codacy/codacy-analysis-cli-action@v4.3.0
|
||||
uses: codacy/codacy-analysis-cli-action@v4.4.0
|
||||
with:
|
||||
# Check https://github.com/codacy/codacy-analysis-cli#project-token to get your project token from your Codacy repository
|
||||
# You can also omit the token and run the tools that support default configurations
|
||||
|
||||
5
.github/workflows/codeql.yml
vendored
5
.github/workflows/codeql.yml
vendored
@@ -20,6 +20,11 @@ on:
|
||||
schedule:
|
||||
- cron: '44 20 * * 0'
|
||||
|
||||
permissions:
|
||||
actions: read
|
||||
contents: read
|
||||
security-events: write
|
||||
|
||||
jobs:
|
||||
analyze:
|
||||
name: Analyze
|
||||
|
||||
18
.github/workflows/greetings.yml
vendored
Normal file
18
.github/workflows/greetings.yml
vendored
Normal file
@@ -0,0 +1,18 @@
|
||||
name: Greetings
|
||||
|
||||
on: [pull_request_target, issues]
|
||||
|
||||
permissions:
|
||||
pull-requests: write
|
||||
issues: write
|
||||
|
||||
jobs:
|
||||
greeting:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/first-interaction@v1
|
||||
continue-on-error: true
|
||||
with:
|
||||
repo-token: ${{ secrets.PAT_TOKEN }}
|
||||
issue-message: "Thanks for reporting this issue, don't forget to star this project if you haven't already to help us reach a wider audience."
|
||||
pr-message: "Thanks for implementing a fix, could you ensure that the test covers your changes if applicable."
|
||||
@@ -1,4 +1,8 @@
|
||||
name: Issue Comment Test
|
||||
name: Issue Comment Job Example
|
||||
|
||||
permissions:
|
||||
contents: read
|
||||
|
||||
on:
|
||||
issue_comment:
|
||||
|
||||
@@ -1,9 +1,11 @@
|
||||
name: Manual Test
|
||||
name: Manual Triggered Job Example
|
||||
|
||||
permissions:
|
||||
contents: read
|
||||
|
||||
on:
|
||||
workflow_dispatch:
|
||||
|
||||
|
||||
jobs:
|
||||
test:
|
||||
name: Test changed-files
|
||||
@@ -1,4 +1,7 @@
|
||||
name: Matrix Test
|
||||
name: Matrix Example
|
||||
|
||||
permissions:
|
||||
contents: read
|
||||
|
||||
on:
|
||||
workflow_dispatch:
|
||||
@@ -21,9 +24,7 @@ jobs:
|
||||
id: changed-files
|
||||
uses: ./
|
||||
with:
|
||||
json: true
|
||||
quotepath: false
|
||||
escape_json: false
|
||||
matrix: true
|
||||
- name: List all changed files
|
||||
run: echo '${{ steps.changed-files.outputs.all_changed_files }}'
|
||||
|
||||
67
.github/workflows/multi-job-example.yml
vendored
Normal file
67
.github/workflows/multi-job-example.yml
vendored
Normal file
@@ -0,0 +1,67 @@
|
||||
name: Multi Job Example
|
||||
|
||||
permissions:
|
||||
contents: read
|
||||
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- "**"
|
||||
pull_request:
|
||||
branches:
|
||||
- "**"
|
||||
|
||||
jobs:
|
||||
changed-files:
|
||||
name: Get changed files
|
||||
runs-on: ubuntu-latest
|
||||
outputs:
|
||||
all_changed_files: ${{ steps.changed-files.outputs.all_changed_files }}
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v4
|
||||
with:
|
||||
fetch-depth: 0
|
||||
- name: Get changed files
|
||||
id: changed-files
|
||||
uses: ./
|
||||
- name: List all changed files
|
||||
run: echo '${{ steps.changed-files.outputs.all_changed_files }}'
|
||||
|
||||
view-changed-files:
|
||||
name: View all changed files
|
||||
runs-on: ubuntu-latest
|
||||
needs: [changed-files]
|
||||
steps:
|
||||
- name: List all changed files
|
||||
run: |
|
||||
echo '${{ needs.changed-files.outputs.all_changed_files }}'
|
||||
|
||||
|
||||
changed-files-rest-api:
|
||||
name: Get changed files using REST API
|
||||
runs-on: ubuntu-latest
|
||||
outputs:
|
||||
all_changed_files: ${{ steps.changed-files.outputs.all_changed_files }}
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v4
|
||||
with:
|
||||
fetch-depth: 0
|
||||
- name: Get changed files
|
||||
id: changed-files
|
||||
continue-on-error: ${{ github.event_name == 'push' }}
|
||||
uses: ./
|
||||
with:
|
||||
use_rest_api: true
|
||||
- name: List all changed files
|
||||
run: echo '${{ steps.changed-files.outputs.all_changed_files }}'
|
||||
|
||||
view-changed-files-rest-api:
|
||||
name: View all changed files using REST API
|
||||
runs-on: ubuntu-latest
|
||||
needs: [changed-files-rest-api]
|
||||
steps:
|
||||
- name: List all changed files
|
||||
run: |
|
||||
echo '${{ needs.changed-files-rest-api.outputs.all_changed_files }}'
|
||||
9
.github/workflows/sync-release-version.yml
vendored
9
.github/workflows/sync-release-version.yml
vendored
@@ -1,4 +1,9 @@
|
||||
name: Update release version.
|
||||
name: Update release version
|
||||
|
||||
permissions:
|
||||
contents: write
|
||||
pull-requests: write
|
||||
|
||||
on:
|
||||
release:
|
||||
types: [published]
|
||||
@@ -32,7 +37,7 @@ jobs:
|
||||
- name: Run git-cliff
|
||||
uses: tj-actions/git-cliff@v1
|
||||
- name: Create Pull Request
|
||||
uses: peter-evans/create-pull-request@v5.0.2
|
||||
uses: peter-evans/create-pull-request@v6.0.1
|
||||
with:
|
||||
base: "main"
|
||||
labels: "merge when passing"
|
||||
|
||||
153
.github/workflows/test.yml
vendored
153
.github/workflows/test.yml
vendored
@@ -1,5 +1,8 @@
|
||||
name: CI
|
||||
|
||||
permissions:
|
||||
contents: read
|
||||
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
@@ -31,6 +34,9 @@ jobs:
|
||||
runs-on: ubuntu-latest
|
||||
outputs:
|
||||
files_changed: ${{ steps.changed_files.outputs.files_changed }}
|
||||
permissions:
|
||||
contents: read
|
||||
pull-requests: write
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
with:
|
||||
@@ -39,7 +45,7 @@ jobs:
|
||||
repository: ${{ github.event.pull_request.head.repo.full_name }}
|
||||
|
||||
- name: Use Node.js 20.x
|
||||
uses: actions/setup-node@v4.0.1
|
||||
uses: actions/setup-node@v4.0.2
|
||||
with:
|
||||
cache: 'yarn'
|
||||
node-version: '20.x'
|
||||
@@ -54,7 +60,7 @@ jobs:
|
||||
yarn install
|
||||
|
||||
- name: Run eslint on changed files
|
||||
uses: tj-actions/eslint-changed-files@v21
|
||||
uses: tj-actions/eslint-changed-files@v23
|
||||
if: github.event_name == 'pull_request'
|
||||
with:
|
||||
token: ${{ secrets.PAT_TOKEN }}
|
||||
@@ -66,7 +72,7 @@ jobs:
|
||||
yarn all
|
||||
|
||||
- name: Verify Changed files
|
||||
uses: tj-actions/verify-changed-files@v16
|
||||
uses: tj-actions/verify-changed-files@v19
|
||||
id: changed_files
|
||||
with:
|
||||
files: |
|
||||
@@ -90,7 +96,7 @@ jobs:
|
||||
branch: ${{ github.head_ref }}
|
||||
|
||||
- name: Upload build assets
|
||||
uses: actions/upload-artifact@v3
|
||||
uses: actions/upload-artifact@v4
|
||||
with:
|
||||
name: build-assets
|
||||
path: dist
|
||||
@@ -107,6 +113,8 @@ jobs:
|
||||
runs-on: ubuntu-latest
|
||||
needs: build
|
||||
if: needs.build.outputs.files_changed != 'true'
|
||||
permissions:
|
||||
contents: read
|
||||
steps:
|
||||
- name: Checkout into dir1
|
||||
uses: actions/checkout@v4
|
||||
@@ -117,7 +125,7 @@ jobs:
|
||||
path: dir1
|
||||
|
||||
- name: Download build assets
|
||||
uses: actions/download-artifact@v3
|
||||
uses: actions/download-artifact@v4
|
||||
with:
|
||||
name: build-assets
|
||||
path: dir1/dist
|
||||
@@ -143,7 +151,7 @@ jobs:
|
||||
bash
|
||||
|
||||
- name: Download build assets
|
||||
uses: actions/download-artifact@v3
|
||||
uses: actions/download-artifact@v4
|
||||
with:
|
||||
name: build-assets
|
||||
path: dir2/dist
|
||||
@@ -181,7 +189,8 @@ jobs:
|
||||
needs: build
|
||||
runs-on: ubuntu-latest
|
||||
if: github.event_name == 'push' && needs.build.outputs.files_changed != 'true'
|
||||
|
||||
permissions:
|
||||
contents: read
|
||||
steps:
|
||||
- name: Checkout branch
|
||||
uses: actions/checkout@v4
|
||||
@@ -190,7 +199,7 @@ jobs:
|
||||
fetch-depth: 0
|
||||
|
||||
- name: Download build assets
|
||||
uses: actions/download-artifact@v3
|
||||
uses: actions/download-artifact@v4
|
||||
with:
|
||||
name: build-assets
|
||||
|
||||
@@ -239,6 +248,8 @@ jobs:
|
||||
runs-on: ubuntu-latest
|
||||
needs: build
|
||||
if: needs.build.outputs.files_changed != 'true'
|
||||
permissions:
|
||||
contents: read
|
||||
|
||||
steps:
|
||||
- name: Checkout branch
|
||||
@@ -248,7 +259,7 @@ jobs:
|
||||
fetch-depth: 0
|
||||
|
||||
- name: Download build assets
|
||||
uses: actions/download-artifact@v3
|
||||
uses: actions/download-artifact@v4
|
||||
with:
|
||||
name: build-assets
|
||||
|
||||
@@ -281,6 +292,8 @@ jobs:
|
||||
github.event_name == 'push' ||
|
||||
github.event_name == 'pull_request'
|
||||
) && needs.build.outputs.files_changed != 'true'
|
||||
permissions:
|
||||
contents: read
|
||||
|
||||
steps:
|
||||
- name: Checkout branch
|
||||
@@ -290,7 +303,7 @@ jobs:
|
||||
fetch-depth: 0
|
||||
|
||||
- name: Download build assets
|
||||
uses: actions/download-artifact@v3
|
||||
uses: actions/download-artifact@v4
|
||||
with:
|
||||
name: build-assets
|
||||
|
||||
@@ -311,6 +324,8 @@ jobs:
|
||||
runs-on: ubuntu-latest
|
||||
needs: build
|
||||
if: needs.build.outputs.files_changed != 'true'
|
||||
permissions:
|
||||
contents: read
|
||||
|
||||
strategy:
|
||||
fail-fast: false
|
||||
@@ -327,7 +342,7 @@ jobs:
|
||||
fetch-depth: ${{ matrix.fetch-depth }}
|
||||
|
||||
- name: Download build assets
|
||||
uses: actions/download-artifact@v3
|
||||
uses: actions/download-artifact@v4
|
||||
with:
|
||||
name: build-assets
|
||||
|
||||
@@ -350,6 +365,8 @@ jobs:
|
||||
runs-on: ubuntu-latest
|
||||
needs: build
|
||||
if: github.event_name != 'push' && needs.build.outputs.files_changed != 'true'
|
||||
permissions:
|
||||
contents: read
|
||||
|
||||
steps:
|
||||
- name: Checkout branch
|
||||
@@ -358,7 +375,7 @@ jobs:
|
||||
ref: ${{ github.event.pull_request.head.sha }}
|
||||
|
||||
- name: Download build assets
|
||||
uses: actions/download-artifact@v3
|
||||
uses: actions/download-artifact@v4
|
||||
with:
|
||||
name: build-assets
|
||||
|
||||
@@ -377,6 +394,8 @@ jobs:
|
||||
runs-on: ubuntu-latest
|
||||
needs: build
|
||||
if: github.event_name != 'push' && needs.build.outputs.files_changed != 'true'
|
||||
permissions:
|
||||
contents: read
|
||||
strategy:
|
||||
fail-fast: false
|
||||
max-parallel: 4
|
||||
@@ -392,7 +411,7 @@ jobs:
|
||||
repository: ${{ github.event.pull_request.head.repo.full_name }}
|
||||
|
||||
- name: Download build assets
|
||||
uses: actions/download-artifact@v3
|
||||
uses: actions/download-artifact@v4
|
||||
with:
|
||||
name: build-assets
|
||||
|
||||
@@ -411,13 +430,14 @@ jobs:
|
||||
runs-on: ubuntu-latest
|
||||
needs: build
|
||||
if: needs.build.outputs.files_changed != 'true'
|
||||
|
||||
permissions:
|
||||
contents: read
|
||||
steps:
|
||||
- name: Checkout branch
|
||||
uses: actions/checkout@v4
|
||||
|
||||
- name: Download build assets
|
||||
uses: actions/download-artifact@v3
|
||||
uses: actions/download-artifact@v4
|
||||
with:
|
||||
name: build-assets
|
||||
|
||||
@@ -465,13 +485,14 @@ jobs:
|
||||
runs-on: ubuntu-latest
|
||||
needs: build
|
||||
if: needs.build.outputs.files_changed != 'true'
|
||||
|
||||
permissions:
|
||||
contents: read
|
||||
steps:
|
||||
- name: Checkout branch
|
||||
uses: actions/checkout@v4
|
||||
|
||||
- name: Download build assets
|
||||
uses: actions/download-artifact@v3
|
||||
uses: actions/download-artifact@v4
|
||||
with:
|
||||
name: build-assets
|
||||
|
||||
@@ -531,7 +552,7 @@ jobs:
|
||||
path: dir1
|
||||
|
||||
- name: Download build assets
|
||||
uses: actions/download-artifact@v3
|
||||
uses: actions/download-artifact@v4
|
||||
with:
|
||||
name: build-assets
|
||||
path: dir1/dist
|
||||
@@ -546,11 +567,83 @@ jobs:
|
||||
shell:
|
||||
bash
|
||||
|
||||
test-dir-names-nested-folder:
|
||||
name: Test changed-files with dir-names in a nested folder
|
||||
runs-on: ubuntu-latest
|
||||
needs: build
|
||||
if: needs.build.outputs.files_changed != 'true'
|
||||
permissions:
|
||||
contents: read
|
||||
steps:
|
||||
- name: Checkout branch
|
||||
uses: actions/checkout@v4
|
||||
with:
|
||||
repository: ${{ github.event.pull_request.head.repo.full_name }}
|
||||
submodules: true
|
||||
fetch-depth: 0
|
||||
|
||||
- name: Download build assets
|
||||
uses: actions/download-artifact@v4
|
||||
with:
|
||||
name: build-assets
|
||||
path: dist
|
||||
|
||||
- name: Get changed files in the .github folder
|
||||
id: changed-files
|
||||
uses: ./
|
||||
with:
|
||||
path: .github
|
||||
json: true
|
||||
escape_json: false
|
||||
dir_names: true
|
||||
dir_names_exclude_current_dir: true
|
||||
|
||||
- name: Show output
|
||||
run: |
|
||||
echo "${{ toJSON(steps.changed-files.outputs) }}"
|
||||
shell:
|
||||
bash
|
||||
|
||||
test-non-existing-repository:
|
||||
name: Test changed-files with non existing repository
|
||||
runs-on: ubuntu-latest
|
||||
needs: build
|
||||
if: github.event_name == 'push' && needs.build.outputs.files_changed != 'true'
|
||||
permissions:
|
||||
contents: read
|
||||
steps:
|
||||
- name: Checkout into dir1
|
||||
uses: actions/checkout@v4
|
||||
with:
|
||||
repository: ${{ github.event.pull_request.head.repo.full_name }}
|
||||
submodules: true
|
||||
fetch-depth: 0
|
||||
path: dir1
|
||||
|
||||
- name: Download build assets
|
||||
uses: actions/download-artifact@v4
|
||||
with:
|
||||
name: build-assets
|
||||
path: dir1/dist
|
||||
|
||||
- name: Run changed-files with non existing repository
|
||||
id: changed-files
|
||||
continue-on-error: true
|
||||
uses: ./dir1
|
||||
|
||||
- name: Verify failed
|
||||
if: steps.changed-files.outcome != 'failure'
|
||||
run: |
|
||||
echo "Expected: (failure) got ${{ steps.changed-files.outcome }}"
|
||||
exit 1
|
||||
|
||||
test-submodules:
|
||||
name: Test changed-files with submodule
|
||||
runs-on: ubuntu-latest
|
||||
needs: build
|
||||
if: needs.build.outputs.files_changed != 'true'
|
||||
permissions:
|
||||
contents: read
|
||||
strategy:
|
||||
fail-fast: false
|
||||
max-parallel: 4
|
||||
@@ -566,7 +659,7 @@ jobs:
|
||||
fetch-depth: ${{ matrix.fetch-depth }}
|
||||
|
||||
- name: Download build assets
|
||||
uses: actions/download-artifact@v3
|
||||
uses: actions/download-artifact@v4
|
||||
with:
|
||||
name: build-assets
|
||||
|
||||
@@ -594,6 +687,8 @@ jobs:
|
||||
runs-on: ubuntu-latest
|
||||
needs: build
|
||||
if: needs.build.outputs.files_changed != 'true'
|
||||
permissions:
|
||||
contents: read
|
||||
strategy:
|
||||
fail-fast: false
|
||||
max-parallel: 4
|
||||
@@ -609,7 +704,7 @@ jobs:
|
||||
fetch-depth: ${{ matrix.fetch-depth }}
|
||||
|
||||
- name: Download build assets
|
||||
uses: actions/download-artifact@v3
|
||||
uses: actions/download-artifact@v4
|
||||
with:
|
||||
name: build-assets
|
||||
|
||||
@@ -669,6 +764,8 @@ jobs:
|
||||
runs-on: ubuntu-latest
|
||||
needs: build
|
||||
if: needs.build.outputs.files_changed != 'true'
|
||||
permissions:
|
||||
contents: read
|
||||
strategy:
|
||||
fail-fast: false
|
||||
max-parallel: 4
|
||||
@@ -684,7 +781,7 @@ jobs:
|
||||
fetch-depth: ${{ matrix.fetch-depth }}
|
||||
|
||||
- name: Download build assets
|
||||
uses: actions/download-artifact@v3
|
||||
uses: actions/download-artifact@v4
|
||||
with:
|
||||
name: build-assets
|
||||
|
||||
@@ -859,6 +956,8 @@ jobs:
|
||||
runs-on: ubuntu-latest
|
||||
needs: build
|
||||
if: needs.build.outputs.files_changed != 'true'
|
||||
permissions:
|
||||
contents: read
|
||||
steps:
|
||||
- name: Checkout branch
|
||||
uses: actions/checkout@v4
|
||||
@@ -892,6 +991,8 @@ jobs:
|
||||
runs-on: ubuntu-latest
|
||||
needs: build
|
||||
if: needs.build.outputs.files_changed != 'true'
|
||||
permissions:
|
||||
contents: read
|
||||
steps:
|
||||
- name: Checkout branch
|
||||
uses: actions/checkout@v4
|
||||
@@ -933,6 +1034,8 @@ jobs:
|
||||
runs-on: ubuntu-latest
|
||||
needs: build
|
||||
if: needs.build.outputs.files_changed != 'true'
|
||||
permissions:
|
||||
contents: read
|
||||
strategy:
|
||||
fail-fast: false
|
||||
max-parallel: 4
|
||||
@@ -949,7 +1052,7 @@ jobs:
|
||||
fetch-depth: ${{ matrix.fetch-depth }}
|
||||
|
||||
- name: Download build assets
|
||||
uses: actions/download-artifact@v3
|
||||
uses: actions/download-artifact@v4
|
||||
with:
|
||||
name: build-assets
|
||||
|
||||
@@ -983,6 +1086,8 @@ jobs:
|
||||
runs-on: ${{ matrix.platform }}
|
||||
needs: build
|
||||
if: needs.build.outputs.files_changed != 'true'
|
||||
permissions:
|
||||
contents: read
|
||||
strategy:
|
||||
fail-fast: false
|
||||
max-parallel: 4
|
||||
@@ -998,7 +1103,7 @@ jobs:
|
||||
repository: ${{ github.event.pull_request.head.repo.full_name }}
|
||||
fetch-depth: ${{ matrix.fetch-depth }}
|
||||
- name: Download build assets
|
||||
uses: actions/download-artifact@v3
|
||||
uses: actions/download-artifact@v4
|
||||
with:
|
||||
name: build-assets
|
||||
- name: Dump GitHub context
|
||||
@@ -1013,7 +1118,7 @@ jobs:
|
||||
echo '${{ toJSON(steps.changed-files.outputs) }}'
|
||||
shell:
|
||||
bash
|
||||
- name: Run changed-files with dir name
|
||||
- name: Run changed-files with dir name pattern
|
||||
id: changed-files-dir-name
|
||||
uses: ./
|
||||
with:
|
||||
|
||||
8
.github/workflows/update-readme.yml
vendored
8
.github/workflows/update-readme.yml
vendored
@@ -1,5 +1,9 @@
|
||||
name: Format README.md
|
||||
|
||||
permissions:
|
||||
contents: read
|
||||
pull-requests: write
|
||||
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
@@ -23,7 +27,7 @@ jobs:
|
||||
uses: tj-actions/remark@v3
|
||||
|
||||
- name: Verify Changed files
|
||||
uses: tj-actions/verify-changed-files@v16
|
||||
uses: tj-actions/verify-changed-files@v19
|
||||
id: verify_changed_files
|
||||
with:
|
||||
files: |
|
||||
@@ -37,7 +41,7 @@ jobs:
|
||||
|
||||
- name: Create Pull Request
|
||||
if: failure()
|
||||
uses: peter-evans/create-pull-request@v5
|
||||
uses: peter-evans/create-pull-request@v6
|
||||
with:
|
||||
base: "main"
|
||||
labels: "merge when passing"
|
||||
|
||||
41
.github/workflows/workflow-run-example.yml
vendored
Normal file
41
.github/workflows/workflow-run-example.yml
vendored
Normal file
@@ -0,0 +1,41 @@
|
||||
name: Workflow Run Example
|
||||
on:
|
||||
workflow_run:
|
||||
workflows: [Matrix Example]
|
||||
types: [completed]
|
||||
|
||||
permissions:
|
||||
contents: read
|
||||
|
||||
jobs:
|
||||
on-success:
|
||||
runs-on: ubuntu-latest
|
||||
if: ${{ github.event.workflow_run.conclusion == 'success' }}
|
||||
steps:
|
||||
- name: Checkout code
|
||||
uses: actions/checkout@v4
|
||||
|
||||
- name: Get changed files
|
||||
id: changed-files
|
||||
uses: ./
|
||||
|
||||
- name: Echo list of changed files on success
|
||||
run: |
|
||||
echo "Changed files on success:"
|
||||
echo "${{ steps.changed-files.outputs.all_changed_files }}"
|
||||
|
||||
on-failure:
|
||||
runs-on: ubuntu-latest
|
||||
if: ${{ github.event.workflow_run.conclusion == 'failure' }}
|
||||
steps:
|
||||
- name: Checkout code
|
||||
uses: actions/checkout@v4
|
||||
|
||||
- name: Get changed files
|
||||
id: changed-files
|
||||
uses: ./
|
||||
|
||||
- name: Echo list of changed files on failure
|
||||
run: |
|
||||
echo "Changed files on failure:"
|
||||
echo "${{ steps.changed-files.outputs.all_changed_files }}"
|
||||
712
HISTORY.md
712
HISTORY.md
@@ -1,5 +1,394 @@
|
||||
# Changelog
|
||||
|
||||
# [42.0.7](https://github.com/tj-actions/changed-files/compare/v42.0.6...v42.0.7) - (2024-03-07)
|
||||
|
||||
## <!-- 16 -->➕ Add
|
||||
|
||||
- Added missing changes and modified dist assets.
|
||||
([7fc073d](https://github.com/tj-actions/changed-files/commit/7fc073d92265804a8d4e4982b637dee053daf6c5)) - (GitHub Action)
|
||||
- Added missing changes and modified dist assets.
|
||||
([ea042d8](https://github.com/tj-actions/changed-files/commit/ea042d8095a33fa94ad9d96bc929ea8810d43730)) - (GitHub Action)
|
||||
|
||||
## <!-- 26 -->🔄 Update
|
||||
|
||||
- Update README.md ([a65c2f2](https://github.com/tj-actions/changed-files/commit/a65c2f2100bbf5456ab3003d2f2f8694a766ca15)) - (Tonye Jack)
|
||||
|
||||
## <!-- 7 -->⚙️ Miscellaneous Tasks
|
||||
|
||||
- **deps:** Lock file maintenance ([7e4bfc2](https://github.com/tj-actions/changed-files/commit/7e4bfc2f1fa97a8c535ef93b2d1639d23f0ab0dc)) - (renovate[bot])
|
||||
- Add test for detecting changed-files in a nested directory ([#1972](https://github.com/tj-actions/changed-files/issues/1972)) ([ef3a7f5](https://github.com/tj-actions/changed-files/commit/ef3a7f51d62496589f0de8e46e5e60a39d45364b)) - (Tonye Jack)
|
||||
- **deps:** Update dependency typescript to v5.4.2 ([8293f8c](https://github.com/tj-actions/changed-files/commit/8293f8c984e14294df9f3eb755952f415c0a2f72)) - (renovate[bot])
|
||||
- **deps:** Update dependency @types/node to v20.11.25 ([0ff732e](https://github.com/tj-actions/changed-files/commit/0ff732eeb3b7415f6f56c1dba85b003012e800a1)) - (renovate[bot])
|
||||
|
||||
## <!-- 9 -->⬆️ Upgrades
|
||||
|
||||
- Upgraded to v42.0.6 ([#1968](https://github.com/tj-actions/changed-files/issues/1968))
|
||||
|
||||
Co-authored-by: jackton1 <17484350+jackton1@users.noreply.github.com> ([8df6fc2](https://github.com/tj-actions/changed-files/commit/8df6fc260f394ebf7993aad987f0cae9147d94b8)) - (tj-actions[bot])
|
||||
|
||||
# [42.0.6](https://github.com/tj-actions/changed-files/compare/v42.0.5...v42.0.6) - (2024-03-06)
|
||||
|
||||
## <!-- 1 -->🐛 Bug Fixes
|
||||
|
||||
- **deps:** Update dependency yaml to v2.4.1 ([2c97e7e](https://github.com/tj-actions/changed-files/commit/2c97e7ea24c4a092b276d77917d5d7dbf4ea65b7)) - (renovate[bot])
|
||||
|
||||
## <!-- 16 -->➕ Add
|
||||
|
||||
- Added missing changes and modified dist assets.
|
||||
([d516645](https://github.com/tj-actions/changed-files/commit/d516645658aa4705b46600cdbf9e6d54f56b973f)) - (GitHub Action)
|
||||
- Added missing changes and modified dist assets.
|
||||
([74605cb](https://github.com/tj-actions/changed-files/commit/74605cb32610fb52b0ab3cd1bd3ab7451c614731)) - (GitHub Action)
|
||||
|
||||
## <!-- 7 -->⚙️ Miscellaneous Tasks
|
||||
|
||||
- **deps:** Update typescript-eslint monorepo to v7.1.1 ([1c8e606](https://github.com/tj-actions/changed-files/commit/1c8e6069583811afb28f97afeaf8e7da80c6be5c)) - (renovate[bot])
|
||||
- **deps:** Lock file maintenance ([aa15b58](https://github.com/tj-actions/changed-files/commit/aa15b58e8ab56c0816a8e719cf5c654a79ae4492)) - (renovate[bot])
|
||||
- **deps:** Update dependency eslint-plugin-github to v4.10.2 ([0a392e7](https://github.com/tj-actions/changed-files/commit/0a392e7438f4e555202d05c463827135b3a3e289)) - (renovate[bot])
|
||||
- **deps:** Update dependency @types/node to v20.11.24 ([85efc7d](https://github.com/tj-actions/changed-files/commit/85efc7df8eb456442f7e322633383902290cc1f8)) - (renovate[bot])
|
||||
- **deps:** Update dependency @types/node to v20.11.23 ([2a095d2](https://github.com/tj-actions/changed-files/commit/2a095d24c23c7474c8fdde85919198de94889177)) - (renovate[bot])
|
||||
- **deps:** Update tj-actions/verify-changed-files action to v19 ([#1960](https://github.com/tj-actions/changed-files/issues/1960)) ([ac3dc5e](https://github.com/tj-actions/changed-files/commit/ac3dc5e39291033c74e26f599dbbfa9e61ff26af)) - (renovate[bot])
|
||||
- **deps:** Update dependency @types/node to v20.11.22 ([dd7e9d3](https://github.com/tj-actions/changed-files/commit/dd7e9d3b1781a8ef379b79f15339a201912a94eb)) - (renovate[bot])
|
||||
- **deps:** Update peter-evans/create-pull-request action to v6.0.1 ([0647a31](https://github.com/tj-actions/changed-files/commit/0647a31f545ce3643aea48ac4cd25f5329c6f7e2)) - (renovate[bot])
|
||||
- **deps:** Update dependency @types/node to v20.11.21 ([9d67dd3](https://github.com/tj-actions/changed-files/commit/9d67dd3dbe2b7b04246ba58984cad0877d86d6c1)) - (renovate[bot])
|
||||
- **deps:** Update typescript-eslint monorepo to v7.1.0 ([5acd7e3](https://github.com/tj-actions/changed-files/commit/5acd7e364617365a2b7f6dca77e14864196c1f1f)) - (renovate[bot])
|
||||
|
||||
## <!-- 9 -->⬆️ Upgrades
|
||||
|
||||
- Upgraded to v42.0.5 ([#1955](https://github.com/tj-actions/changed-files/issues/1955))
|
||||
|
||||
Co-authored-by: jackton1 <17484350+jackton1@users.noreply.github.com> ([9f4af73](https://github.com/tj-actions/changed-files/commit/9f4af73d05677de0c5f817fbdea9f348526bc5d7)) - (tj-actions[bot])
|
||||
|
||||
# [42.0.5](https://github.com/tj-actions/changed-files/compare/v42.0.4...v42.0.5) - (2024-02-26)
|
||||
|
||||
## <!-- 1 -->🐛 Bug Fixes
|
||||
|
||||
- **deps:** Update dependency yaml to v2.4.0 ([2a2a5b6](https://github.com/tj-actions/changed-files/commit/2a2a5b6b9c6db0cfcd525935dad0f332588dbcdf)) - (renovate[bot])
|
||||
|
||||
## <!-- 16 -->➕ Add
|
||||
|
||||
- Added missing changes and modified dist assets.
|
||||
([31c4d15](https://github.com/tj-actions/changed-files/commit/31c4d150e63ef47fc38cf81c39ceb5229d86e767)) - (GitHub Action)
|
||||
- Added missing changes and modified dist assets.
|
||||
([9d447b9](https://github.com/tj-actions/changed-files/commit/9d447b99599b62c3df2a8a45af769db7f81fd34f)) - (GitHub Action)
|
||||
- Added missing changes and modified dist assets.
|
||||
([c2039de](https://github.com/tj-actions/changed-files/commit/c2039de114db9c5a087669f8e5a08ccebf8ba7e5)) - (GitHub Action)
|
||||
|
||||
## <!-- 26 -->🔄 Update
|
||||
|
||||
- Update README.md ([bb7502b](https://github.com/tj-actions/changed-files/commit/bb7502bd153c279403ec0adfe53e7d29572b8e6d)) - (Tonye Jack)
|
||||
- Updated README.md ([#1943](https://github.com/tj-actions/changed-files/issues/1943))
|
||||
|
||||
Co-authored-by: jackton1 <17484350+jackton1@users.noreply.github.com> ([9ef20a6](https://github.com/tj-actions/changed-files/commit/9ef20a69dd248e1c8052154fbc71e92eb22534f7)) - (tj-actions[bot])
|
||||
|
||||
## <!-- 7 -->⚙️ Miscellaneous Tasks
|
||||
|
||||
- **deps:** Lock file maintenance ([800a282](https://github.com/tj-actions/changed-files/commit/800a2825992141ddde1a8bca8ad394cec34d3188)) - (renovate[bot])
|
||||
- Update README.md ([#1952](https://github.com/tj-actions/changed-files/issues/1952)) ([d8dcc13](https://github.com/tj-actions/changed-files/commit/d8dcc13244f746e6e87d0c8e1d9e1fece4d92b1b)) - (Tonye Jack)
|
||||
- **deps:** Update dependency eslint to v8.57.0 ([639ce0e](https://github.com/tj-actions/changed-files/commit/639ce0e105d24840145eb1f8376b3e76c9a3a8cb)) - (renovate[bot])
|
||||
- **deps:** Lock file maintenance ([83bfc72](https://github.com/tj-actions/changed-files/commit/83bfc72efa888541b87858084210b0da1a075ab0)) - (renovate[bot])
|
||||
- **deps:** Update dependency @types/node to v20.11.20 ([879c838](https://github.com/tj-actions/changed-files/commit/879c8388c87e3dd4b82550f3ac3feb339b5be371)) - (renovate[bot])
|
||||
- **deps:** Update typescript-eslint monorepo to v7.0.2 ([5c5539c](https://github.com/tj-actions/changed-files/commit/5c5539ced911e7611502cefecf9a4738733a6bfe)) - (renovate[bot])
|
||||
- **deps:** Lock file maintenance ([0cbc9bc](https://github.com/tj-actions/changed-files/commit/0cbc9bc448d680c63e6fa4a96b40194d963e4257)) - (renovate[bot])
|
||||
- Update action.yml ([#1942](https://github.com/tj-actions/changed-files/issues/1942)) ([a617853](https://github.com/tj-actions/changed-files/commit/a617853c0f8e2e999a506ad8f26424a2aac2175e)) - (Tonye Jack)
|
||||
|
||||
## <!-- 9 -->⬆️ Upgrades
|
||||
|
||||
- Upgraded to v42.0.4 ([#1941](https://github.com/tj-actions/changed-files/issues/1941))
|
||||
|
||||
Co-authored-by: jackton1 <17484350+jackton1@users.noreply.github.com> ([5c1bceb](https://github.com/tj-actions/changed-files/commit/5c1bceb76c87f3f3f9c362eb74228d3d9512ff5c)) - (tj-actions[bot])
|
||||
|
||||
# [42.0.4](https://github.com/tj-actions/changed-files/compare/v42.0.3...v42.0.4) - (2024-02-18)
|
||||
|
||||
## <!-- 7 -->⚙️ Miscellaneous Tasks
|
||||
|
||||
- Update formatting and add missing dist changes ([#1940](https://github.com/tj-actions/changed-files/issues/1940)) ([3f54ebb](https://github.com/tj-actions/changed-files/commit/3f54ebb830831fc121d3263c1857cfbdc310cdb9)) - (Tonye Jack)
|
||||
|
||||
## <!-- 9 -->⬆️ Upgrades
|
||||
|
||||
- Upgraded to v42.0.3 ([#1939](https://github.com/tj-actions/changed-files/issues/1939))
|
||||
|
||||
Co-authored-by: jackton1 <17484350+jackton1@users.noreply.github.com>
|
||||
Co-authored-by: GitHub Action <action@github.com> ([6f070cf](https://github.com/tj-actions/changed-files/commit/6f070cff38ff6dd3af1da87b6c8cdbcb8045e544)) - (tj-actions[bot])
|
||||
|
||||
# [42.0.3](https://github.com/tj-actions/changed-files/compare/v42.0.2...v42.0.3) - (2024-02-17)
|
||||
|
||||
## <!-- 1 -->🐛 Bug Fixes
|
||||
|
||||
- **payload_api, git_diff:** Accessing correct property in payload and Replacing --quiet with --no-patch in git diff ([#1934](https://github.com/tj-actions/changed-files/issues/1934)) ([e3cac49](https://github.com/tj-actions/changed-files/commit/e3cac49049b6b59f85d64402e7477f0a211ceba0)) - (Aravind)
|
||||
- Broken link to matrix example workflow ([#1918](https://github.com/tj-actions/changed-files/issues/1918)) ([ea35f7e](https://github.com/tj-actions/changed-files/commit/ea35f7ea0028180dacddb2da5124befbdcd5287c)) - (KeisukeYamashita)
|
||||
|
||||
## <!-- 16 -->➕ Add
|
||||
|
||||
- Added missing changes and modified dist assets.
|
||||
([07ac0ac](https://github.com/tj-actions/changed-files/commit/07ac0ac1689ff4da699108e90989bed8946c655a)) - (GitHub Action)
|
||||
|
||||
## <!-- 26 -->🔄 Update
|
||||
|
||||
- Updated README.md ([#1938](https://github.com/tj-actions/changed-files/issues/1938))
|
||||
|
||||
Co-authored-by: jackton1 <17484350+jackton1@users.noreply.github.com> ([ec75ae5](https://github.com/tj-actions/changed-files/commit/ec75ae5ab7296b81fd4cddb77294d6718932ebab)) - (tj-actions[bot])
|
||||
- Update README.md ([8eced8a](https://github.com/tj-actions/changed-files/commit/8eced8a5dfe679a00fc7e6bcf4a149062d82cf71)) - (Tonye Jack)
|
||||
- Update README.md ([b2d4e1b](https://github.com/tj-actions/changed-files/commit/b2d4e1b488ced71a4b179146ee5a7b8b5b3df94e)) - (Tonye Jack)
|
||||
- Updated README.md ([#1920](https://github.com/tj-actions/changed-files/issues/1920))
|
||||
|
||||
Co-authored-by: jackton1 <17484350+jackton1@users.noreply.github.com> ([3399f88](https://github.com/tj-actions/changed-files/commit/3399f8837f429519cf24ed4359003d14f3f41b0d)) - (tj-actions[bot])
|
||||
- Updated README.md ([#1917](https://github.com/tj-actions/changed-files/issues/1917))
|
||||
|
||||
Co-authored-by: jackton1 <17484350+jackton1@users.noreply.github.com> ([8e56bc0](https://github.com/tj-actions/changed-files/commit/8e56bc097abe73a65e6d3c0888ea6f640c4b5480)) - (tj-actions[bot])
|
||||
- Update action.yml ([f6d3fe5](https://github.com/tj-actions/changed-files/commit/f6d3fe51790f667e42e9dc12cf25330b9fd74c3f)) - (Tonye Jack)
|
||||
- Update README.md ([efa99ea](https://github.com/tj-actions/changed-files/commit/efa99ea361dae4d03a985a185259587543eede5c)) - (Tonye Jack)
|
||||
- Update README.md ([6d8f9bd](https://github.com/tj-actions/changed-files/commit/6d8f9bd37957780639752a3b4b505f4069c40711)) - (Tonye Jack)
|
||||
- Updated README.md ([#1915](https://github.com/tj-actions/changed-files/issues/1915))
|
||||
|
||||
Co-authored-by: jackton1 <17484350+jackton1@users.noreply.github.com> ([7daee9e](https://github.com/tj-actions/changed-files/commit/7daee9e7cfe9c6e0cb6a782ba9785239ce9ee710)) - (tj-actions[bot])
|
||||
- Update README.md ([99c80bd](https://github.com/tj-actions/changed-files/commit/99c80bdd472eb81ca8c582122685b14030d15bf4)) - (Tonye Jack)
|
||||
- Updated README.md ([#1911](https://github.com/tj-actions/changed-files/issues/1911))
|
||||
|
||||
Co-authored-by: jackton1 <17484350+jackton1@users.noreply.github.com> ([aa31060](https://github.com/tj-actions/changed-files/commit/aa3106085139b0f9138cf44fe701756ff9ee97b2)) - (tj-actions[bot])
|
||||
- Update README.md ([d3ac2a0](https://github.com/tj-actions/changed-files/commit/d3ac2a064b75442d15c932e0ade4949a9e701720)) - (Tonye Jack)
|
||||
- Updated README.md ([#1896](https://github.com/tj-actions/changed-files/issues/1896))
|
||||
|
||||
Co-authored-by: jackton1 <jackton1@users.noreply.github.com> ([df12603](https://github.com/tj-actions/changed-files/commit/df12603b45b253b6bc04da5357a791da6d645f36)) - (tj-actions[bot])
|
||||
- Updated README.md ([#1894](https://github.com/tj-actions/changed-files/issues/1894))
|
||||
|
||||
Co-authored-by: renovate[bot] <renovate[bot]@users.noreply.github.com> ([31b9c0a](https://github.com/tj-actions/changed-files/commit/31b9c0a5412203ed77a8c8073d72fbc01afc5d22)) - (tj-actions[bot])
|
||||
|
||||
## <!-- 3 -->📚 Documentation
|
||||
|
||||
- Add codesculpture as a contributor for code, and bug ([#1937](https://github.com/tj-actions/changed-files/issues/1937)) ([4333ab5](https://github.com/tj-actions/changed-files/commit/4333ab5b20c7b9aa411f4a07771329cfb0c76a8c)) - (allcontributors[bot])
|
||||
- Add KeisukeYamashita as a contributor for doc ([#1919](https://github.com/tj-actions/changed-files/issues/1919)) ([ac897da](https://github.com/tj-actions/changed-files/commit/ac897da4f16ed414adb6afa4be273b632dda0e0f)) - (allcontributors[bot])
|
||||
- Add dan-hill2802 as a contributor for doc ([#1910](https://github.com/tj-actions/changed-files/issues/1910)) ([e57fb1b](https://github.com/tj-actions/changed-files/commit/e57fb1b8ebd3184b29316b19d14d36e672dfa805)) - (allcontributors[bot])
|
||||
- Add levenleven as a contributor for doc ([#1893](https://github.com/tj-actions/changed-files/issues/1893)) ([bb9b5e8](https://github.com/tj-actions/changed-files/commit/bb9b5e8363dd295a835a4b7a10ff92ae4f021798)) - (allcontributors[bot])
|
||||
|
||||
## <!-- 30 -->📝 Other
|
||||
|
||||
- Correct bash loop in examples ([#1908](https://github.com/tj-actions/changed-files/issues/1908))
|
||||
|
||||
Co-authored-by: Tonye Jack <jtonye@ymail.com>
|
||||
Co-authored-by: repo-ranger[bot] <39074581+repo-ranger[bot]@users.noreply.github.com> ([54c5610](https://github.com/tj-actions/changed-files/commit/54c56103aa0c1a94083e91d0b68e8a5e48a330b5)) - (Daniel Hill)
|
||||
|
||||
## <!-- 7 -->⚙️ Miscellaneous Tasks
|
||||
|
||||
- **deps:** Update github artifact actions to v4 (major) ([#1936](https://github.com/tj-actions/changed-files/issues/1936)) ([68bd453](https://github.com/tj-actions/changed-files/commit/68bd4537bdc54c6655242c1abe305f4db218e355)) - (renovate[bot])
|
||||
- **deps:** Update dependency eslint-plugin-jest to v27.9.0 ([f0ce41b](https://github.com/tj-actions/changed-files/commit/f0ce41b71c3bb642dfc7cb1ab61d14d3b56af681)) - (renovate[bot])
|
||||
- **deps:** Update dependency @types/node to v20.11.19 ([ce451bf](https://github.com/tj-actions/changed-files/commit/ce451bf4305b235566956f53995646542519bb6d)) - (renovate[bot])
|
||||
- **deps:** Update dependency @types/node to v20.11.18 ([7592e9e](https://github.com/tj-actions/changed-files/commit/7592e9e85578b94665efe3910aef29cc3c580acf)) - (renovate[bot])
|
||||
- **deps:** Lock file maintenance ([999653c](https://github.com/tj-actions/changed-files/commit/999653c6727cb4c932803b25be2a0f5e8b639428)) - (renovate[bot])
|
||||
- **deps:** Update dependency eslint-plugin-jest to v27.8.0 ([6cf4c21](https://github.com/tj-actions/changed-files/commit/6cf4c21fdf9b364e92a686e7ef69bc6e9499a622)) - (renovate[bot])
|
||||
- Update codacy-analysis.yml ([#1929](https://github.com/tj-actions/changed-files/issues/1929)) ([09ee51b](https://github.com/tj-actions/changed-files/commit/09ee51bee3431c6c679313bdd0f8539ec345d71b)) - (Tonye Jack)
|
||||
- **deps:** Update typescript-eslint monorepo to v7 (major) ([#1927](https://github.com/tj-actions/changed-files/issues/1927)) ([13fa140](https://github.com/tj-actions/changed-files/commit/13fa1402a766abdaa44e85fe59bdd652f26fb1e3)) - (renovate[bot])
|
||||
- **deps:** Lock file maintenance ([049d7fd](https://github.com/tj-actions/changed-files/commit/049d7fd63935c64ac0615242d973a72f79fb7861)) - (renovate[bot])
|
||||
- **deps:** Update dependency @types/node to v20.11.17 ([2e90fbb](https://github.com/tj-actions/changed-files/commit/2e90fbb74b68ff52de2335c534fd88dd4df333bb)) - (renovate[bot])
|
||||
- **deps:** Update codacy/codacy-analysis-cli-action action to v4.4.0 ([2a9db54](https://github.com/tj-actions/changed-files/commit/2a9db54a6d9228d6731a7a28757b6dda48ffb5e7)) - (renovate[bot])
|
||||
- **deps:** Update actions/setup-node action to v4.0.2 ([d0d5671](https://github.com/tj-actions/changed-files/commit/d0d5671ef76808f63c72ef7f5ac4ec7bb88aab3c)) - (renovate[bot])
|
||||
- Update README.md ([#1922](https://github.com/tj-actions/changed-files/issues/1922)) ([97120ff](https://github.com/tj-actions/changed-files/commit/97120ff1f582e850f1e543bd317c4430a90738dd)) - (Tonye Jack)
|
||||
- Update workflow-run-example.yml ([#1921](https://github.com/tj-actions/changed-files/issues/1921)) ([9299962](https://github.com/tj-actions/changed-files/commit/9299962a594f73b73738005ba86c46fac9aa9f8c)) - (Tonye Jack)
|
||||
- **deps:** Update typescript-eslint monorepo to v6.21.0 ([589fb70](https://github.com/tj-actions/changed-files/commit/589fb70c81f4092791f63c5b9d5afadaa010ce4a)) - (renovate[bot])
|
||||
- **deps:** Update dependency prettier to v3.2.5 ([5e7cbf5](https://github.com/tj-actions/changed-files/commit/5e7cbf5fdb0a73516874da582461d3b20594a4ee)) - (renovate[bot])
|
||||
- **deps:** Lock file maintenance ([b4d6d28](https://github.com/tj-actions/changed-files/commit/b4d6d28988c21e97bc68d80fe4f3869808fc2ccc)) - (renovate[bot])
|
||||
- **deps:** Update tj-actions/verify-changed-files action to v18 ([#1912](https://github.com/tj-actions/changed-files/issues/1912)) ([8370e6e](https://github.com/tj-actions/changed-files/commit/8370e6e6ef8b17619dcfd5df473376b6a29fd38d)) - (renovate[bot])
|
||||
- Create greetings workflow ([#1909](https://github.com/tj-actions/changed-files/issues/1909)) ([926735a](https://github.com/tj-actions/changed-files/commit/926735a61eb7d21e371d03839cc34234af5e3154)) - (Tonye Jack)
|
||||
- **deps:** Update dependency @types/node to v20.11.16 ([91df40b](https://github.com/tj-actions/changed-files/commit/91df40b8820291e54292e540e88890dc714cbea0)) - (renovate[bot])
|
||||
- **deps:** Update dependency @types/jest to v29.5.12 ([28396e9](https://github.com/tj-actions/changed-files/commit/28396e96588ea678169a84011413fca4caffd650)) - (renovate[bot])
|
||||
- **deps:** Update dependency @types/node to v20.11.15 ([3a66e2a](https://github.com/tj-actions/changed-files/commit/3a66e2a7e4fe21d25ecb52b6fce34961fe145069)) - (renovate[bot])
|
||||
- **deps:** Update dependency @types/node to v20.11.14 ([35f3202](https://github.com/tj-actions/changed-files/commit/35f3202fd5e18d84a08b1a801e27dae5937f8861)) - (renovate[bot])
|
||||
- **deps:** Update peter-evans/create-pull-request action to v6 ([#1903](https://github.com/tj-actions/changed-files/issues/1903)) ([2b30af4](https://github.com/tj-actions/changed-files/commit/2b30af482a4d71219f529e7d7003fdd9daaf0ab8)) - (renovate[bot])
|
||||
- **deps:** Update dependency @types/node to v20.11.13 ([a93bcf4](https://github.com/tj-actions/changed-files/commit/a93bcf46e0c0e0699fe7a4d16906f27be0dda5bc)) - (renovate[bot])
|
||||
- **deps:** Update dependency @types/node to v20.11.12 ([6d4c555](https://github.com/tj-actions/changed-files/commit/6d4c555c7d6cf1c77671254c2c2a9d713f5c5476)) - (renovate[bot])
|
||||
- **deps:** Update dependency @types/node to v20.11.11 ([507a8c7](https://github.com/tj-actions/changed-files/commit/507a8c703d2415e979369d17911bf6a5003eb8f3)) - (renovate[bot])
|
||||
- Update test ([#1899](https://github.com/tj-actions/changed-files/issues/1899)) ([3a7052c](https://github.com/tj-actions/changed-files/commit/3a7052c24aae082076d23f357177e111b201c4d4)) - (Tonye Jack)
|
||||
- **deps:** Update typescript-eslint monorepo to v6.20.0 ([782eb12](https://github.com/tj-actions/changed-files/commit/782eb123a95b8e0dbce4b402f24b2b3b8fc82791)) - (renovate[bot])
|
||||
- **deps:** Lock file maintenance ([9134dac](https://github.com/tj-actions/changed-files/commit/9134dac8f6b4c8a40e0518e486edff3560e20ead)) - (renovate[bot])
|
||||
- **deps:** Update dependency @types/node to v20.11.10 ([ba0a561](https://github.com/tj-actions/changed-files/commit/ba0a561b1342d8019ab99e5fc6b9146fc669fe49)) - (renovate[bot])
|
||||
- Fix broken matrix example links ([#1891](https://github.com/tj-actions/changed-files/issues/1891)) ([8d35cbb](https://github.com/tj-actions/changed-files/commit/8d35cbb00f191ec43b7f5dddf3b2e7304677b75d)) - (Aleksey Levenstein)
|
||||
- **deps:** Update dependency @types/node to v20.11.9 ([82dd654](https://github.com/tj-actions/changed-files/commit/82dd6547dc05944a5d7e90892a9eca812ff864ed)) - (renovate[bot])
|
||||
- **deps:** Lock file maintenance ([6d42539](https://github.com/tj-actions/changed-files/commit/6d42539842805201a6c4eca7a86c1f5d1e6293fb)) - (renovate[bot])
|
||||
- **deps:** Update dependency @types/node to v20.11.8 ([08dedfb](https://github.com/tj-actions/changed-files/commit/08dedfb681e840f67fb7804f1879452cb6e3be6c)) - (renovate[bot])
|
||||
- **deps:** Update dependency @types/node to v20.11.7 ([f6d9fa1](https://github.com/tj-actions/changed-files/commit/f6d9fa10e0aa52b19c5d717b320f6ddc24858f19)) - (renovate[bot])
|
||||
- **deps:** Update dependency @types/uuid to v9.0.8 ([9eb0d76](https://github.com/tj-actions/changed-files/commit/9eb0d763aec34f920761d9f349680a549958fe6e)) - (renovate[bot])
|
||||
|
||||
## <!-- 9 -->⬆️ Upgrades
|
||||
|
||||
- Upgraded to v42.0.2 ([#1886](https://github.com/tj-actions/changed-files/issues/1886))
|
||||
|
||||
Co-authored-by: jackton1 <jackton1@users.noreply.github.com> ([51d2f88](https://github.com/tj-actions/changed-files/commit/51d2f88f079c072d026257c3f20e2823e7e3577f)) - (tj-actions[bot])
|
||||
|
||||
# [42.0.2](https://github.com/tj-actions/changed-files/compare/v42.0.1...v42.0.2) - (2024-01-25)
|
||||
|
||||
## <!-- 0 -->🚀 Features
|
||||
|
||||
- Enhance error handling for non-git directories ([#1885](https://github.com/tj-actions/changed-files/issues/1885)) ([90a06d6](https://github.com/tj-actions/changed-files/commit/90a06d6ba9543371ab4df8eeca0be07ca6054959)) - (Tonye Jack)
|
||||
|
||||
## <!-- 9 -->⬆️ Upgrades
|
||||
|
||||
- Upgraded to v42.0.1 ([#1884](https://github.com/tj-actions/changed-files/issues/1884))
|
||||
|
||||
Co-authored-by: jackton1 <jackton1@users.noreply.github.com> ([2cb2c92](https://github.com/tj-actions/changed-files/commit/2cb2c9234e9dc3b8eaac2ababc3f355e80e47963)) - (tj-actions[bot])
|
||||
|
||||
# [42.0.1](https://github.com/tj-actions/changed-files/compare/v42.0.0...v42.0.1) - (2024-01-24)
|
||||
|
||||
## <!-- 16 -->➕ Add
|
||||
|
||||
- Added missing changes and modified dist assets.
|
||||
([ea024b2](https://github.com/tj-actions/changed-files/commit/ea024b2d7f80389ba16e7084b20265cb7dfe230f)) - (GitHub Action)
|
||||
- Added missing changes and modified dist assets.
|
||||
([3af07c2](https://github.com/tj-actions/changed-files/commit/3af07c2040da68166f613248bd8e9cd28fb581e3)) - (GitHub Action)
|
||||
|
||||
## <!-- 26 -->🔄 Update
|
||||
|
||||
- Update env.ts ([3680129](https://github.com/tj-actions/changed-files/commit/3680129aa2971333ef3d148024520cdc5327a6b7)) - (Tonye Jack)
|
||||
|
||||
## <!-- 7 -->⚙️ Miscellaneous Tasks
|
||||
|
||||
- **deps:** Update dependency @types/node to v20.11.6 ([ac21d93](https://github.com/tj-actions/changed-files/commit/ac21d93904fb48e7f76ce4bd2a4d197f67e34abe)) - (renovate[bot])
|
||||
- **deps:** Update typescript-eslint monorepo to v6.19.1 ([a4637ea](https://github.com/tj-actions/changed-files/commit/a4637ea6e7d9a502f6edb845b6c65086c5bce55f)) - (renovate[bot])
|
||||
- **deps:** Update dependency ts-jest to v29.1.2 ([fd9998c](https://github.com/tj-actions/changed-files/commit/fd9998cf5fcac4b0fff205a58ec694bf596169c8)) - (renovate[bot])
|
||||
- **deps:** Lock file maintenance ([db4e584](https://github.com/tj-actions/changed-files/commit/db4e5848448e4b540e7e7dcbdc7aab3c88bfcf47)) - (renovate[bot])
|
||||
- Rename example worflows from test to example ([#1878](https://github.com/tj-actions/changed-files/issues/1878)) ([c6543c4](https://github.com/tj-actions/changed-files/commit/c6543c497aea61c2263b735dece03b23383441f0)) - (Tonye Jack)
|
||||
- Update README.md ([#1877](https://github.com/tj-actions/changed-files/issues/1877)) ([88f9f3e](https://github.com/tj-actions/changed-files/commit/88f9f3efbb5a8fe2acff4139babc1d6aeafa5e72)) - (Tonye Jack)
|
||||
- **deps:** Lock file maintenance ([5d866cb](https://github.com/tj-actions/changed-files/commit/5d866cbe77002ed91912202826ed253b808a9133)) - (renovate[bot])
|
||||
- **deps:** Update tj-actions/eslint-changed-files action to v23 ([#1875](https://github.com/tj-actions/changed-files/issues/1875)) ([346f237](https://github.com/tj-actions/changed-files/commit/346f237a1734287fa772ee254047beecabcdbdf2)) - (renovate[bot])
|
||||
|
||||
## <!-- 9 -->⬆️ Upgrades
|
||||
|
||||
- Upgraded to v42 ([#1874](https://github.com/tj-actions/changed-files/issues/1874))
|
||||
|
||||
Co-authored-by: jackton1 <jackton1@users.noreply.github.com> ([c037f1e](https://github.com/tj-actions/changed-files/commit/c037f1e7c56c7884b2d7d24c36cd8a0bc2c20687)) - (tj-actions[bot])
|
||||
|
||||
# [42.0.0](https://github.com/tj-actions/changed-files/compare/v41.1.2...v42.0.0) - (2024-01-18)
|
||||
|
||||
## <!-- 0 -->🚀 Features
|
||||
|
||||
- Add support for include/exclude all nested files when a directory is specified and ends with a slash ([#1873](https://github.com/tj-actions/changed-files/issues/1873)) ([ae82ed4](https://github.com/tj-actions/changed-files/commit/ae82ed4ae04587b665efad2f206578aa6f0e8539)) - (Tonye Jack)
|
||||
|
||||
## <!-- 1 -->🐛 Bug Fixes
|
||||
|
||||
- Update input warning ([#1870](https://github.com/tj-actions/changed-files/issues/1870)) ([6c9dcea](https://github.com/tj-actions/changed-files/commit/6c9dcea4432fd0eb2f3e07c9149eab2807ce44b2)) - (Tonye Jack)
|
||||
|
||||
## <!-- 18 -->📝 Rename
|
||||
|
||||
- Unsupported REST API inputs constant name ([#1872](https://github.com/tj-actions/changed-files/issues/1872)) ([cbd5907](https://github.com/tj-actions/changed-files/commit/cbd59070e8276b539ecdfa0f2316db7b1599ea0f)) - (Tonye Jack)
|
||||
|
||||
## <!-- 7 -->⚙️ Miscellaneous Tasks
|
||||
|
||||
- **deps:** Update dependency prettier to v3.2.4 ([79b060d](https://github.com/tj-actions/changed-files/commit/79b060d4450764e6b54a73696c2d99134757db95)) - (renovate[bot])
|
||||
|
||||
## <!-- 9 -->⬆️ Upgrades
|
||||
|
||||
- Upgraded to v41.1.2 ([#1869](https://github.com/tj-actions/changed-files/issues/1869))
|
||||
|
||||
Co-authored-by: jackton1 <jackton1@users.noreply.github.com> ([434b67e](https://github.com/tj-actions/changed-files/commit/434b67ebc3051662cf28de12b8a7adb77aea522a)) - (tj-actions[bot])
|
||||
|
||||
# [41.1.2](https://github.com/tj-actions/changed-files/compare/v41.1.1...v41.1.2) - (2024-01-17)
|
||||
|
||||
## <!-- 0 -->🚀 Features
|
||||
|
||||
- Enhance error handling and working directory resolution ([#1859](https://github.com/tj-actions/changed-files/issues/1859)) ([a60bf37](https://github.com/tj-actions/changed-files/commit/a60bf3759e069549b60c8da1284ec83e0398a1a4)) - (Tonye Jack)
|
||||
|
||||
## <!-- 1 -->🐛 Bug Fixes
|
||||
|
||||
- Bug with incorrect action path ([#1866](https://github.com/tj-actions/changed-files/issues/1866)) ([3f81899](https://github.com/tj-actions/changed-files/commit/3f8189989ba6fd9b3b9593ffe650236b3f1fcb55)) - (Tonye Jack)
|
||||
|
||||
## <!-- 7 -->⚙️ Miscellaneous Tasks
|
||||
|
||||
- **deps:** Update dependency @types/node to v20.11.5 ([cbda684](https://github.com/tj-actions/changed-files/commit/cbda684547adc8c052d50711417fa61b428a9f88)) - (renovate[bot])
|
||||
- **deps:** Update dependency prettier to v3.2.3 ([67a1f54](https://github.com/tj-actions/changed-files/commit/67a1f54f6f5ec7ee87c57eb7876a7d6dfdcc59a1)) - (renovate[bot])
|
||||
- **deps:** Update tj-actions/eslint-changed-files action to v22 ([#1864](https://github.com/tj-actions/changed-files/issues/1864)) ([99248a4](https://github.com/tj-actions/changed-files/commit/99248a443855d73284abf52520f897dba851b914)) - (renovate[bot])
|
||||
- **deps:** Update dependency @types/node to v20.11.4 ([8787431](https://github.com/tj-actions/changed-files/commit/878743189ba0ba42d467a736923b07102f0e348c)) - (renovate[bot])
|
||||
- **deps:** Update dependency @types/node to v20.11.3 ([98d1d84](https://github.com/tj-actions/changed-files/commit/98d1d84e2f7a404c425df4e44dceb74a03920ac8)) - (renovate[bot])
|
||||
- **deps:** Update typescript-eslint monorepo to v6.19.0 ([bc46e4c](https://github.com/tj-actions/changed-files/commit/bc46e4c4222c3926a70378d183f0b387d3a9e9a8)) - (renovate[bot])
|
||||
- **deps:** Update dependency @types/node to v20.11.2 ([fba4067](https://github.com/tj-actions/changed-files/commit/fba40673489d49e860c15a444c134d887ead1f3a)) - (renovate[bot])
|
||||
- **deps:** Update dependency @types/node to v20.11.1 ([e4b8674](https://github.com/tj-actions/changed-files/commit/e4b86747326bc58eb230d62188ebdd66b73721a9)) - (renovate[bot])
|
||||
- **deps:** Lock file maintenance ([bc2b5ae](https://github.com/tj-actions/changed-files/commit/bc2b5aef20add66cbe21d1093f0f1d37a353d376)) - (renovate[bot])
|
||||
- **deps:** Update dependency prettier to v3.2.2 ([63c36a5](https://github.com/tj-actions/changed-files/commit/63c36a563a30544b4c03a8426277dca4b00e4fd1)) - (renovate[bot])
|
||||
|
||||
## <!-- 9 -->⬆️ Upgrades
|
||||
|
||||
- Upgraded to v41.1.1 ([#1854](https://github.com/tj-actions/changed-files/issues/1854))
|
||||
|
||||
Co-authored-by: jackton1 <jackton1@users.noreply.github.com> ([44b7750](https://github.com/tj-actions/changed-files/commit/44b77505fe3f2c6d0a76f72a4ef512e7c2ba0b6a)) - (tj-actions[bot])
|
||||
|
||||
# [41.1.1](https://github.com/tj-actions/changed-files/compare/v41.1.0...v41.1.1) - (2024-01-13)
|
||||
|
||||
## <!-- 1 -->🐛 Bug Fixes
|
||||
|
||||
- Bug with inaccurate warnings ([#1853](https://github.com/tj-actions/changed-files/issues/1853)) ([62f4729](https://github.com/tj-actions/changed-files/commit/62f4729b5df35e6e0e01265fa70a82ccaf196b4b)) - (Tonye Jack)
|
||||
|
||||
## <!-- 9 -->⬆️ Upgrades
|
||||
|
||||
- Upgraded to v41.1.0 ([#1852](https://github.com/tj-actions/changed-files/issues/1852))
|
||||
|
||||
Co-authored-by: jackton1 <jackton1@users.noreply.github.com> ([e0579ab](https://github.com/tj-actions/changed-files/commit/e0579abf95abec8042468976c7822e6867542199)) - (tj-actions[bot])
|
||||
|
||||
# [41.1.0](https://github.com/tj-actions/changed-files/compare/v41.0.1...v41.1.0) - (2024-01-13)
|
||||
|
||||
## <!-- 0 -->🚀 Features
|
||||
|
||||
- Add support for forcing the use of GitHub’s REST API ([#1849](https://github.com/tj-actions/changed-files/issues/1849)) ([0ca1c07](https://github.com/tj-actions/changed-files/commit/0ca1c07b47b66abe421382a891da70a506e60e8a)) - (Tonye Jack)
|
||||
|
||||
## <!-- 1 -->🐛 Bug Fixes
|
||||
|
||||
- Permission with release workflow ([#1851](https://github.com/tj-actions/changed-files/issues/1851)) ([8e0194b](https://github.com/tj-actions/changed-files/commit/8e0194b29bc4bb6dd2338b6b7b915c56c2df6f58)) - (Tonye Jack)
|
||||
|
||||
## <!-- 26 -->🔄 Update
|
||||
|
||||
- Updated README.md ([#1850](https://github.com/tj-actions/changed-files/issues/1850))
|
||||
|
||||
Co-authored-by: jackton1 <jackton1@users.noreply.github.com> ([3649d28](https://github.com/tj-actions/changed-files/commit/3649d2842d46e7cc679c204d917887f7821cf08a)) - (tj-actions[bot])
|
||||
- Updated README.md ([#1830](https://github.com/tj-actions/changed-files/issues/1830))
|
||||
|
||||
Co-authored-by: jackton1 <jackton1@users.noreply.github.com> ([3fbf5fb](https://github.com/tj-actions/changed-files/commit/3fbf5fb588c7e1fdbc140668150a2b725984c6ed)) - (tj-actions[bot])
|
||||
- Update README.md ([9523067](https://github.com/tj-actions/changed-files/commit/95230678db8c15d57cd678fbcd2a7e87e83ac1e1)) - (Tonye Jack)
|
||||
- Update README.md ([032add1](https://github.com/tj-actions/changed-files/commit/032add13e8e88878dc3238258baee58dcb4a528a)) - (Tonye Jack)
|
||||
|
||||
## <!-- 7 -->⚙️ Miscellaneous Tasks
|
||||
|
||||
- Update top level workflow permissions ([#1848](https://github.com/tj-actions/changed-files/issues/1848)) ([a57f4dc](https://github.com/tj-actions/changed-files/commit/a57f4dcc814fa55691c9ee5fc6e07c7487cb69f1)) - (Tonye Jack)
|
||||
- **deps:** Update dependency prettier to v3.2.1 ([9c39b0b](https://github.com/tj-actions/changed-files/commit/9c39b0b6e9d3a1e534a35da2e6142c8b1d0204b3)) - (renovate[bot])
|
||||
- **deps:** Update dependency eslint-plugin-jest to v27.6.3 ([8b141f3](https://github.com/tj-actions/changed-files/commit/8b141f390680a108c54963421dbc9ed587516859)) - (renovate[bot])
|
||||
- Create multi-job-test.yml ([#1843](https://github.com/tj-actions/changed-files/issues/1843)) ([17e07d8](https://github.com/tj-actions/changed-files/commit/17e07d8bc032c41929a28e4ac0180f5fd41e62e8)) - (Tonye Jack)
|
||||
- Update warning message ([#1845](https://github.com/tj-actions/changed-files/issues/1845)) ([13fa1c0](https://github.com/tj-actions/changed-files/commit/13fa1c06fc72cd769f43877df4deb2fcef0070bf)) - (Tonye Jack)
|
||||
- **deps:** Update dependency prettier to v3.2.0 ([0deb29d](https://github.com/tj-actions/changed-files/commit/0deb29d192a79307172c8ca2af53b9163e1f2dce)) - (renovate[bot])
|
||||
- **deps:** Update dependency @types/node to v20.11.0 ([28267ee](https://github.com/tj-actions/changed-files/commit/28267ee8b7e9d0a1510577b3da5c95991e566f8d)) - (renovate[bot])
|
||||
- **deps:** Update dependency eslint-plugin-jest to v27.6.2 ([094d344](https://github.com/tj-actions/changed-files/commit/094d3441f851cdd60b3184c559065cff58998103)) - (renovate[bot])
|
||||
- **deps:** Update dependency eslint-plugin-prettier to v5.1.3 ([aeec36b](https://github.com/tj-actions/changed-files/commit/aeec36b0354dca21f43136a2a5be79815ad013b9)) - (renovate[bot])
|
||||
- **deps-dev:** Bump @types/node from 20.10.7 to 20.10.8 ([#1836](https://github.com/tj-actions/changed-files/issues/1836)) ([2d0270c](https://github.com/tj-actions/changed-files/commit/2d0270c489bf57145dd4a63d0a5fcf35a7147bc3)) - (dependabot[bot])
|
||||
- **deps:** Update typescript-eslint monorepo to v6.18.1 ([0e0adfa](https://github.com/tj-actions/changed-files/commit/0e0adfa0d3cc3663f8db2d833bbec96034e98250)) - (renovate[bot])
|
||||
- Update jest.config.js ([#1834](https://github.com/tj-actions/changed-files/issues/1834)) ([5313e6b](https://github.com/tj-actions/changed-files/commit/5313e6bbe36db02444adb6db8803c3fb020fbeef)) - (Tonye Jack)
|
||||
- **deps:** Lock file maintenance ([54789be](https://github.com/tj-actions/changed-files/commit/54789be3a182749c98b3750327225ef16ae72b85)) - (renovate[bot])
|
||||
- **deps:** Update dependency @types/node to v20.10.7 ([1675238](https://github.com/tj-actions/changed-files/commit/1675238cfd53ec058721786adb67a77f56f46987)) - (renovate[bot])
|
||||
- Create workflow-run-test.yml ([#1828](https://github.com/tj-actions/changed-files/issues/1828)) ([fdccafb](https://github.com/tj-actions/changed-files/commit/fdccafbb6e5c278dc3360f8a44f7c2878206751f)) - (Tonye Jack)
|
||||
- **deps:** Update typescript-eslint monorepo to v6.18.0 ([0e8d796](https://github.com/tj-actions/changed-files/commit/0e8d796ee02804f613950c68e90685e43f22c9d5)) - (renovate[bot])
|
||||
- **deps:** Update dependency eslint-plugin-jest to v27.6.1 ([0c6f2ac](https://github.com/tj-actions/changed-files/commit/0c6f2ac4885216b1830ecbcc3573209980c97716)) - (renovate[bot])
|
||||
- **deps:** Update typescript-eslint monorepo to v6.17.0 ([1db97ad](https://github.com/tj-actions/changed-files/commit/1db97adba438afdc3741c78fd02aa2ac621332b0)) - (renovate[bot])
|
||||
- **deps:** Lock file maintenance ([fb8f6db](https://github.com/tj-actions/changed-files/commit/fb8f6db383582a9d4ee2fadc1601db53b2fe1c2b)) - (renovate[bot])
|
||||
- **deps:** Update dependency @types/node to v20.10.6 ([efd7ece](https://github.com/tj-actions/changed-files/commit/efd7ecef11e1ce94fc5121243c09ad2be618d175)) - (renovate[bot])
|
||||
- **deps:** Update tj-actions/verify-changed-files action to v17 ([#1820](https://github.com/tj-actions/changed-files/issues/1820)) ([4f8e12c](https://github.com/tj-actions/changed-files/commit/4f8e12c0984394b03e7c4015292f8f644e2e5426)) - (renovate[bot])
|
||||
- **deps:** Update typescript-eslint monorepo to v6.16.0 ([0f0747e](https://github.com/tj-actions/changed-files/commit/0f0747e79dd8b1e79730cb9aeb9adbc1d45b79da)) - (renovate[bot])
|
||||
- Update matrix-test.yml ([#1814](https://github.com/tj-actions/changed-files/issues/1814)) ([0c2a758](https://github.com/tj-actions/changed-files/commit/0c2a758b81c9fe6c9dc0b17f46d87e68707e8054)) - (Tonye Jack)
|
||||
|
||||
## <!-- 9 -->⬆️ Upgrades
|
||||
|
||||
- Upgraded to v41.0.1 ([#1816](https://github.com/tj-actions/changed-files/issues/1816))
|
||||
|
||||
Co-authored-by: jackton1 <jackton1@users.noreply.github.com> ([1b6d7b6](https://github.com/tj-actions/changed-files/commit/1b6d7b6fb62c81ae85b9114bbb15ebeb21c2833d)) - (tj-actions[bot])
|
||||
|
||||
# [41.0.1](https://github.com/tj-actions/changed-files/compare/v41.0.0...v41.0.1) - (2023-12-24)
|
||||
|
||||
## <!-- 1 -->🐛 Bug Fixes
|
||||
|
||||
- Update characters escaped by safe output ([#1815](https://github.com/tj-actions/changed-files/issues/1815)) ([716b1e1](https://github.com/tj-actions/changed-files/commit/716b1e13042866565e00e85fd4ec490e186c4a2f)) - (Tonye Jack)
|
||||
|
||||
## <!-- 7 -->⚙️ Miscellaneous Tasks
|
||||
|
||||
- **deps:** Update dependency eslint-plugin-prettier to v5.1.2 ([7aaf10d](https://github.com/tj-actions/changed-files/commit/7aaf10d9eef19e8a2432a967b88124171152caaf)) - (renovate[bot])
|
||||
|
||||
## <!-- 9 -->⬆️ Upgrades
|
||||
|
||||
- Upgraded to v41 ([#1811](https://github.com/tj-actions/changed-files/issues/1811))
|
||||
|
||||
Co-authored-by: jackton1 <jackton1@users.noreply.github.com> ([cc08e17](https://github.com/tj-actions/changed-files/commit/cc08e170f4447237bcaf8acaacfa615b9cb86612)) - (tj-actions[bot])
|
||||
|
||||
# [41.0.0](https://github.com/tj-actions/changed-files/compare/v40.2.3...v41.0.0) - (2023-12-23)
|
||||
|
||||
## <!-- 1 -->🐛 Bug Fixes
|
||||
@@ -1590,8 +1979,8 @@ Co-authored-by: jackton1 <jackton1@users.noreply.github.com> ([2c8123e](https://
|
||||
|
||||
- Add support for returning changed file counts ([#1273](https://github.com/tj-actions/changed-files/issues/1273)) ([f573054](https://github.com/tj-actions/changed-files/commit/f573054697fceee32a3bbc0ecf27286247aabb56)) - (Tonye Jack)
|
||||
- Move deleted file recovery to leverage filter ([#1272](https://github.com/tj-actions/changed-files/issues/1272)) ([c3c3db7](https://github.com/tj-actions/changed-files/commit/c3c3db7feee6dc9447b2c03b41ae18e63e043fe2)) - (Tonye Jack)
|
||||
- Add support for recovering deleted files ([#1269](https://github.com/tj-actions/changed-files/issues/1269)) ([77f9e6c](https://github.com/tj-actions/changed-files/commit/77f9e6c7c636ec1a11598091308b26a1c1ccf131)) - (Tonye Jack)
|
||||
- Add support for recovering deleted files ([d9105a4](https://github.com/tj-actions/changed-files/commit/d9105a4631593f0dc11f3ae6bfbcb5ac43625523)) - (Tonye Jack)
|
||||
- Add support for recovering deleted files ([#1269](https://github.com/tj-actions/changed-files/issues/1269)) ([77f9e6c](https://github.com/tj-actions/changed-files/commit/77f9e6c7c636ec1a11598091308b26a1c1ccf131)) - (Tonye Jack)
|
||||
|
||||
## <!-- 16 -->➕ Add
|
||||
|
||||
@@ -1613,8 +2002,6 @@ Co-authored-by: repo-ranger[bot] <repo-ranger[bot]@users.noreply.github.com> ([e
|
||||
- Updated README.md ([#1270](https://github.com/tj-actions/changed-files/issues/1270))
|
||||
|
||||
Co-authored-by: jackton1 <jackton1@users.noreply.github.com> ([7fcd53a](https://github.com/tj-actions/changed-files/commit/7fcd53ac001f9faf1b1f57a58e10cd958da114ed)) - (tj-actions[bot])
|
||||
- Update README.md ([d7af20b](https://github.com/tj-actions/changed-files/commit/d7af20bab3d42577ec79dffc4e793c14d0df65b3)) - (Tonye Jack)
|
||||
- Update README.md ([690b721](https://github.com/tj-actions/changed-files/commit/690b721958b0220fa3f827e13559c5023d277b61)) - (Tonye Jack)
|
||||
- Updated the test
|
||||
([c82a34e](https://github.com/tj-actions/changed-files/commit/c82a34e7e5e87a5c69ee4aff0facae82e5177e3b)) - (Tonye Jack)
|
||||
- Updated the test
|
||||
@@ -1623,6 +2010,8 @@ Co-authored-by: jackton1 <jackton1@users.noreply.github.com> ([7fcd53a](https://
|
||||
([71290f0](https://github.com/tj-actions/changed-files/commit/71290f02ff8f886712b65679f29e64216aa3e131)) - (Tonye Jack)
|
||||
- Updated test
|
||||
([ecf455a](https://github.com/tj-actions/changed-files/commit/ecf455a884019154bc08fa00fa237fd5a07b2287)) - (Tonye Jack)
|
||||
- Update README.md ([d7af20b](https://github.com/tj-actions/changed-files/commit/d7af20bab3d42577ec79dffc4e793c14d0df65b3)) - (Tonye Jack)
|
||||
- Update README.md ([690b721](https://github.com/tj-actions/changed-files/commit/690b721958b0220fa3f827e13559c5023d277b61)) - (Tonye Jack)
|
||||
- Update README.md ([024cd58](https://github.com/tj-actions/changed-files/commit/024cd58ac6e73a0f9617287edc3954db32e85394)) - (Tonye Jack)
|
||||
- Update README.md ([c9a1c56](https://github.com/tj-actions/changed-files/commit/c9a1c56f6da50ec6d7986486064919eaeea692cc)) - (Tonye Jack)
|
||||
|
||||
@@ -2547,7 +2936,6 @@ Co-authored-by: jackton1 <jackton1@users.noreply.github.com> ([bda7fb2](https://
|
||||
|
||||
## <!-- 1 -->🐛 Bug Fixes
|
||||
|
||||
- Bug getting diff for submodules and fetching more history ([#980](https://github.com/tj-actions/changed-files/issues/980)) ([b477871](https://github.com/tj-actions/changed-files/commit/b477871310c9f033a02d7d31d29dd1a141ce7a6c)) - (Tonye Jack)
|
||||
- Fixed the test
|
||||
([6498ab1](https://github.com/tj-actions/changed-files/commit/6498ab1ae4bc23e7f4180b91b8f979255453837f)) - (Tonye Jack)
|
||||
- Fixed the test
|
||||
@@ -2566,6 +2954,7 @@ Co-authored-by: jackton1 <jackton1@users.noreply.github.com> ([bda7fb2](https://
|
||||
([07dba6b](https://github.com/tj-actions/changed-files/commit/07dba6b85d18482fb68d20c4b936467b0b17baad)) - (Tonye Jack)
|
||||
- Fixed the test
|
||||
([ab710fb](https://github.com/tj-actions/changed-files/commit/ab710fb168fc55bfac95911978c4784bf01f3575)) - (Tonye Jack)
|
||||
- Bug getting diff for submodules and fetching more history ([#980](https://github.com/tj-actions/changed-files/issues/980)) ([b477871](https://github.com/tj-actions/changed-files/commit/b477871310c9f033a02d7d31d29dd1a141ce7a6c)) - (Tonye Jack)
|
||||
|
||||
## <!-- 17 -->➖ Remove
|
||||
|
||||
@@ -2578,13 +2967,8 @@ Co-authored-by: jackton1 <jackton1@users.noreply.github.com> ([bda7fb2](https://
|
||||
|
||||
- Updated the fetch args
|
||||
([3253948](https://github.com/tj-actions/changed-files/commit/3253948ff2f66427c571d83495f8442b9dfccd10)) - (Tonye Jack)
|
||||
- Update README.md ([8efe373](https://github.com/tj-actions/changed-files/commit/8efe3735309bfb91a21adb81a9316114830dd121)) - (Tonye Jack)
|
||||
- Updated the test
|
||||
([123da80](https://github.com/tj-actions/changed-files/commit/123da803957da82d321f696d85eec6286fa8a70e)) - (Tonye Jack)
|
||||
- Updated README.md ([#984](https://github.com/tj-actions/changed-files/issues/984))
|
||||
|
||||
Co-authored-by: jackton1 <jackton1@users.noreply.github.com> ([a2ffc56](https://github.com/tj-actions/changed-files/commit/a2ffc563653bef9378973a503ebc9ac6087cad98)) - (Tonye Jack)
|
||||
- Update README.md ([fe5db36](https://github.com/tj-actions/changed-files/commit/fe5db36271fb000e3d091a5c22e5c467c1c4d5e9)) - (Tonye Jack)
|
||||
- Update to include submodules.
|
||||
([5982c92](https://github.com/tj-actions/changed-files/commit/5982c926769189682df26961e3cc8e5b2aa0f82c)) - (Tonye Jack)
|
||||
- Update error message
|
||||
@@ -2600,6 +2984,13 @@ Co-authored-by: jackton1 <jackton1@users.noreply.github.com> ([a2ffc56](https://
|
||||
- Update get-changed-paths.sh ([6164e1c](https://github.com/tj-actions/changed-files/commit/6164e1cd7fdc6c8a5a406de58b24eda22444e4ea)) - (Tonye Jack)
|
||||
- Update get-changed-paths.sh ([4dc0f1f](https://github.com/tj-actions/changed-files/commit/4dc0f1f9049fda16689fda0375afcc1c0eea241f)) - (Tonye Jack)
|
||||
- Update get-changed-paths.sh ([f0fc230](https://github.com/tj-actions/changed-files/commit/f0fc230482b82d4049c4ba52c6aa1ef0cf22ea6a)) - (Tonye Jack)
|
||||
- Updated the test
|
||||
([a4b2b85](https://github.com/tj-actions/changed-files/commit/a4b2b85206a18f8aeac071e36a9fa8ed98e5b99a)) - (Tonye Jack)
|
||||
- Update README.md ([8efe373](https://github.com/tj-actions/changed-files/commit/8efe3735309bfb91a21adb81a9316114830dd121)) - (Tonye Jack)
|
||||
- Updated README.md ([#984](https://github.com/tj-actions/changed-files/issues/984))
|
||||
|
||||
Co-authored-by: jackton1 <jackton1@users.noreply.github.com> ([a2ffc56](https://github.com/tj-actions/changed-files/commit/a2ffc563653bef9378973a503ebc9ac6087cad98)) - (Tonye Jack)
|
||||
- Update README.md ([fe5db36](https://github.com/tj-actions/changed-files/commit/fe5db36271fb000e3d091a5c22e5c467c1c4d5e9)) - (Tonye Jack)
|
||||
|
||||
## <!-- 30 -->📝 Other
|
||||
|
||||
@@ -2611,6 +3002,12 @@ Co-authored-by: jackton1 <jackton1@users.noreply.github.com> ([a2ffc56](https://
|
||||
- Merge branch 'main' into chore/update-submodule ([b4d152a](https://github.com/tj-actions/changed-files/commit/b4d152a6a53f05847bdd87a19ce27ba8aee87996)) - (Tonye Jack)
|
||||
- Enable debugging.
|
||||
([68f10de](https://github.com/tj-actions/changed-files/commit/68f10de3ead55c05465e5cdc8c0452c8d5d4afba)) - (Tonye Jack)
|
||||
- Enable debugging.
|
||||
([608b7f8](https://github.com/tj-actions/changed-files/commit/608b7f81dec8b4260a1d40179086c9d033542829)) - (Tonye Jack)
|
||||
|
||||
## <!-- 7 -->⚙️ Miscellaneous Tasks
|
||||
|
||||
- Update submodule ([adde7bb](https://github.com/tj-actions/changed-files/commit/adde7bbfea8fcba97d0f3d97ad57187a9f16dbbc)) - (Tonye Jack)
|
||||
|
||||
## <!-- 9 -->⬆️ Upgrades
|
||||
|
||||
@@ -2626,19 +3023,8 @@ Co-authored-by: jackton1 <jackton1@users.noreply.github.com> ([cb2d527](https://
|
||||
|
||||
## <!-- 26 -->🔄 Update
|
||||
|
||||
- Updated the test
|
||||
([a4b2b85](https://github.com/tj-actions/changed-files/commit/a4b2b85206a18f8aeac071e36a9fa8ed98e5b99a)) - (Tonye Jack)
|
||||
- Update README.md ([85bd869](https://github.com/tj-actions/changed-files/commit/85bd8694a9542eb133d15ef7598998ea1c2a312e)) - (Tonye Jack)
|
||||
|
||||
## <!-- 30 -->📝 Other
|
||||
|
||||
- Enable debugging.
|
||||
([608b7f8](https://github.com/tj-actions/changed-files/commit/608b7f81dec8b4260a1d40179086c9d033542829)) - (Tonye Jack)
|
||||
|
||||
## <!-- 7 -->⚙️ Miscellaneous Tasks
|
||||
|
||||
- Update submodule ([adde7bb](https://github.com/tj-actions/changed-files/commit/adde7bbfea8fcba97d0f3d97ad57187a9f16dbbc)) - (Tonye Jack)
|
||||
|
||||
## <!-- 9 -->⬆️ Upgrades
|
||||
|
||||
- Upgraded to v35.5.2 ([#977](https://github.com/tj-actions/changed-files/issues/977))
|
||||
@@ -2681,8 +3067,8 @@ Co-authored-by: jackton1 <jackton1@users.noreply.github.com> ([1a3ea1d](https://
|
||||
|
||||
## <!-- 0 -->🚀 Features
|
||||
|
||||
- Add support for excluding the top level directory ([#967](https://github.com/tj-actions/changed-files/issues/967)) ([08f351b](https://github.com/tj-actions/changed-files/commit/08f351ba1617550c70bdca44cc29a166152e2bd4)) - (Tonye Jack)
|
||||
- Add support for excluding the top level directory ([1982157](https://github.com/tj-actions/changed-files/commit/1982157b6c3cd3dae6ccce31fad0d2aec0784806)) - (Tonye Jack)
|
||||
- Add support for excluding the top level directory ([#967](https://github.com/tj-actions/changed-files/issues/967)) ([08f351b](https://github.com/tj-actions/changed-files/commit/08f351ba1617550c70bdca44cc29a166152e2bd4)) - (Tonye Jack)
|
||||
|
||||
## <!-- 26 -->🔄 Update
|
||||
|
||||
@@ -3376,24 +3762,24 @@ Co-authored-by: jackton1 <jackton1@users.noreply.github.com> ([4f1ac05](https://
|
||||
- Update diff-sha.sh ([77fbd5a](https://github.com/tj-actions/changed-files/commit/77fbd5a18ca9469ad9045e05ddebb145d71cd248)) - (Tonye Jack)
|
||||
- Update diff-sha.sh ([aba4e57](https://github.com/tj-actions/changed-files/commit/aba4e5712baff31f62a76d7af30a3d2deb0db7cb)) - (Tonye Jack)
|
||||
- Update diff-sha.sh ([c3642c4](https://github.com/tj-actions/changed-files/commit/c3642c4a1c9a0bcca6ba9e9f87c4b2aeaba69035)) - (Tonye Jack)
|
||||
- Updated README.md
|
||||
([7e92962](https://github.com/tj-actions/changed-files/commit/7e929625a31237b91046d18b0a5b1e46e6de5949)) - (repo-ranger[bot])
|
||||
- Updated fetch branch
|
||||
([a4d22ac](https://github.com/tj-actions/changed-files/commit/a4d22acb209687e67dd7b2d83b963ac58dd0fb16)) - (Tonye Jack)
|
||||
- Updated to use git diff
|
||||
([477b380](https://github.com/tj-actions/changed-files/commit/477b3805799bb3f730bede86285a0362c52b87cf)) - (Tonye Jack)
|
||||
- Updated formatting
|
||||
([3a46c04](https://github.com/tj-actions/changed-files/commit/3a46c048f740ad95ae07e504970cc82864ac4891)) - (Tonye Jack)
|
||||
- Updated README.md
|
||||
([7e92962](https://github.com/tj-actions/changed-files/commit/7e929625a31237b91046d18b0a5b1e46e6de5949)) - (repo-ranger[bot])
|
||||
- Updated action
|
||||
([2cf3132](https://github.com/tj-actions/changed-files/commit/2cf3132a60db92dcc6da79b018ef27dc654a078a)) - (Tonye Jack)
|
||||
- Updated action
|
||||
([dc7365b](https://github.com/tj-actions/changed-files/commit/dc7365b27bcfaaf6c3f224f1c23a530d6404d439)) - (Tonye Jack)
|
||||
- Updated to use merge-base
|
||||
([ef8591d](https://github.com/tj-actions/changed-files/commit/ef8591de30d4dbf1ae8d2ec0c1c8d2f505c4aac3)) - (Tonye Jack)
|
||||
- Updated to use merge-base
|
||||
([f282e19](https://github.com/tj-actions/changed-files/commit/f282e19e523425ed86464aef10c890e6e583172c)) - (Tonye Jack)
|
||||
- Updated to use merge-base
|
||||
([a20b263](https://github.com/tj-actions/changed-files/commit/a20b263d03e128745ede721a7b7344f324251841)) - (Tonye Jack)
|
||||
- Updated action
|
||||
([2cf3132](https://github.com/tj-actions/changed-files/commit/2cf3132a60db92dcc6da79b018ef27dc654a078a)) - (Tonye Jack)
|
||||
- Updated action
|
||||
([dc7365b](https://github.com/tj-actions/changed-files/commit/dc7365b27bcfaaf6c3f224f1c23a530d6404d439)) - (Tonye Jack)
|
||||
- Update sync-release-version.yml ([33d8d67](https://github.com/tj-actions/changed-files/commit/33d8d674435b65785cb6d40b2346f90d2ba278e0)) - (Tonye Jack)
|
||||
- Updated README.md
|
||||
([02a5f95](https://github.com/tj-actions/changed-files/commit/02a5f95a79986344efc7e71aeed2fc1547066725)) - (jackton1)
|
||||
@@ -3431,8 +3817,8 @@ Co-authored-by: jackton1 <jackton1@users.noreply.github.com> ([4f1ac05](https://
|
||||
|
||||
## <!-- 0 -->🚀 Features
|
||||
|
||||
- Add support for dir_names_max_depth ([08d0ced](https://github.com/tj-actions/changed-files/commit/08d0cedfeaebcc4aaf7748d120e9ed3258d8487d)) - (Tonye Jack)
|
||||
- Replace all usage of nrwl/last-successful-commit-action with nrwl/nx-set-shas ([5abef67](https://github.com/tj-actions/changed-files/commit/5abef67e95d48a6d7148159da516d2e31c28c5f1)) - (Tonye Jack)
|
||||
- Add support for dir_names_max_depth ([08d0ced](https://github.com/tj-actions/changed-files/commit/08d0cedfeaebcc4aaf7748d120e9ed3258d8487d)) - (Tonye Jack)
|
||||
|
||||
## <!-- 1 -->🐛 Bug Fixes
|
||||
|
||||
@@ -3557,6 +3943,9 @@ Signed-off-by: dependabot[bot] <support@github.com> ([f4f5512](https://github.co
|
||||
- Update README.md ([0265ed8](https://github.com/tj-actions/changed-files/commit/0265ed819d306225cb0c7bd3349b7449b69239bf)) - (Tonye Jack)
|
||||
- Update diff-sha.sh ([96ce8da](https://github.com/tj-actions/changed-files/commit/96ce8da4f680a4b2aa8292f77b6822205fb89b4a)) - (Tonye Jack)
|
||||
- Update diff-sha.sh ([2ed48aa](https://github.com/tj-actions/changed-files/commit/2ed48aa52fce4483eead4e3388844037d9f5c359)) - (Tonye Jack)
|
||||
- Updated README.md
|
||||
([1882e2f](https://github.com/tj-actions/changed-files/commit/1882e2f481ce0329747638d5b38b59318b71a1aa)) - (jackton1)
|
||||
- Update README.md ([0c4c0c4](https://github.com/tj-actions/changed-files/commit/0c4c0c47b84e7afc7a6a9a2b35b14e5f8164a80e)) - (Tonye Jack)
|
||||
- Update diff-sha.sh ([0efacab](https://github.com/tj-actions/changed-files/commit/0efacabbb5792e8411dd06aaf9b66a4c14b14442)) - (Tonye Jack)
|
||||
- Updated diff-sha.sh
|
||||
([61fac4d](https://github.com/tj-actions/changed-files/commit/61fac4da4baf4e41345262aed26ae7a7744dda33)) - (Tonye Jack)
|
||||
@@ -3565,9 +3954,6 @@ Signed-off-by: dependabot[bot] <support@github.com> ([f4f5512](https://github.co
|
||||
- Updated diff-sha.sh
|
||||
([30b9252](https://github.com/tj-actions/changed-files/commit/30b9252953b1451f1d0964e563f3440936a2a13f)) - (Tonye Jack)
|
||||
- Update diff-sha.sh ([3b10ceb](https://github.com/tj-actions/changed-files/commit/3b10cebd3dfde60872124e155e6072beee48cb44)) - (Tonye Jack)
|
||||
- Updated README.md
|
||||
([1882e2f](https://github.com/tj-actions/changed-files/commit/1882e2f481ce0329747638d5b38b59318b71a1aa)) - (jackton1)
|
||||
- Update README.md ([0c4c0c4](https://github.com/tj-actions/changed-files/commit/0c4c0c47b84e7afc7a6a9a2b35b14e5f8164a80e)) - (Tonye Jack)
|
||||
- Update action.yml ([fe3a370](https://github.com/tj-actions/changed-files/commit/fe3a37012f2aeb085358c28900539b133d2cdf4c)) - (Tonye Jack)
|
||||
|
||||
## <!-- 30 -->📝 Other
|
||||
@@ -3770,10 +4156,10 @@ Signed-off-by: dependabot[bot] <support@github.com> ([f4f5512](https://github.co
|
||||
|
||||
## <!-- 26 -->🔄 Update
|
||||
|
||||
- Updated README.md
|
||||
([307c115](https://github.com/tj-actions/changed-files/commit/307c11527a2b3628d3cf69c6e7f618dcb2b4c4d1)) - (jackton1)
|
||||
- Updated README.md
|
||||
([8c4057e](https://github.com/tj-actions/changed-files/commit/8c4057e25fae59ab12a1c926fc73578fca141408)) - (jackton1)
|
||||
- Updated README.md
|
||||
([307c115](https://github.com/tj-actions/changed-files/commit/307c11527a2b3628d3cf69c6e7f618dcb2b4c4d1)) - (jackton1)
|
||||
- Updated README.md
|
||||
([7a799a5](https://github.com/tj-actions/changed-files/commit/7a799a583efd08969d0b26803ae2b4c532e64f3c)) - (jackton1)
|
||||
- Update README.md ([eada320](https://github.com/tj-actions/changed-files/commit/eada3203b58d8421531b57420b7a8c821def1ee2)) - (Tonye Jack)
|
||||
@@ -3890,6 +4276,7 @@ Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.
|
||||
([7d07168](https://github.com/tj-actions/changed-files/commit/7d0716889bb9a0aa4c37a05f739fd66d6e130c04)) - (Tonye Jack)
|
||||
- Fixed test
|
||||
([61651ce](https://github.com/tj-actions/changed-files/commit/61651ceaa902cdad66fde5241109205ab06fa3e5)) - (Tonye Jack)
|
||||
- Including changed files from merge commits ([986dcdd](https://github.com/tj-actions/changed-files/commit/986dcdd05475172779ccab62712e532629985d25)) - (Tonye Jack)
|
||||
|
||||
## <!-- 26 -->🔄 Update
|
||||
|
||||
@@ -3962,6 +4349,8 @@ Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.
|
||||
- Update diff-sha.sh ([4703a0c](https://github.com/tj-actions/changed-files/commit/4703a0ce803001e79c367a0cf1e58e1678dd76fd)) - (Tonye Jack)
|
||||
- Update diff-sha.sh ([4054514](https://github.com/tj-actions/changed-files/commit/40545148742e6c0d9e321a395f0b86e2f9be93e5)) - (Tonye Jack)
|
||||
- Update diff-sha.sh ([b9e70f7](https://github.com/tj-actions/changed-files/commit/b9e70f78217009b41c74da3b384c65f4ba7747e5)) - (Tonye Jack)
|
||||
- Update diff-sha.sh ([5716894](https://github.com/tj-actions/changed-files/commit/57168941b24e1c4ddb5247c7fc7336abe7dfeb6f)) - (Tonye Jack)
|
||||
- Update diff-sha.sh ([d3cd1f4](https://github.com/tj-actions/changed-files/commit/d3cd1f406f3863db7e9a181f7e7977cb375650af)) - (Tonye Jack)
|
||||
|
||||
## <!-- 30 -->📝 Other
|
||||
|
||||
@@ -3972,8 +4361,10 @@ Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.
|
||||
- PR [#751](https://github.com/tj-actions/changed-files/pull/751): README.md ([984ab2b](https://github.com/tj-actions/changed-files/commit/984ab2b4b8f3419501599c46c022b96e9e8a3f2f)) - (Tonye Jack)
|
||||
- Merge branch 'main' into chore/update-test ([22c9314](https://github.com/tj-actions/changed-files/commit/22c9314c528178ac9ffa05415261871a40141d38)) - (Tonye Jack)
|
||||
- PR [#736](https://github.com/tj-actions/changed-files/pull/736): including changed files from merge commits, no merge-base found ([d96e4cf](https://github.com/tj-actions/changed-files/commit/d96e4cfa304ddecf500798084c7806f72056f3c5)) - (Tonye Jack)
|
||||
- Merge branch 'main' into chore/update-test ([b969806](https://github.com/tj-actions/changed-files/commit/b969806a43a3705e6960e76029bacb1106a2bf59)) - (Tonye Jack)
|
||||
- Merge branch 'main' into fix/including-changed-files-from-merge-commits ([2a5aadb](https://github.com/tj-actions/changed-files/commit/2a5aadbf48fb932c3ea58e5cf020d3ea3624bd19)) - (Tonye Jack)
|
||||
- Merge branch 'main' into fix/including-changed-files-from-merge-commits ([3fa5a82](https://github.com/tj-actions/changed-files/commit/3fa5a82cb1b4f30e63e9e980c526308d610c0fd2)) - (Tonye Jack)
|
||||
- Merge branch 'main' into fix/including-changed-files-from-merge-commits ([dedb632](https://github.com/tj-actions/changed-files/commit/dedb6325a880afe8a958493ea1eaaf2af8fe4256)) - (Tonye Jack)
|
||||
- Merge branch 'main' into chore/update-test ([b969806](https://github.com/tj-actions/changed-files/commit/b969806a43a3705e6960e76029bacb1106a2bf59)) - (Tonye Jack)
|
||||
- PR [#749](https://github.com/tj-actions/changed-files/pull/749): to v34.0.5 ([0f0e558](https://github.com/tj-actions/changed-files/commit/0f0e558289b6a64ae2cc62fcb4597251a7cf1bc4)) - (Tonye Jack)
|
||||
|
||||
## <!-- 9 -->⬆️ Upgrades
|
||||
@@ -3994,7 +4385,6 @@ Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.
|
||||
## <!-- 30 -->📝 Other
|
||||
|
||||
- PR [#748](https://github.com/tj-actions/changed-files/pull/748): ([1263363](https://github.com/tj-actions/changed-files/commit/12633630aba2ab48ec2ad8a3344dd736d61a7b89)) - (Tonye Jack)
|
||||
- Merge branch 'main' into fix/including-changed-files-from-merge-commits ([3fa5a82](https://github.com/tj-actions/changed-files/commit/3fa5a82cb1b4f30e63e9e980c526308d610c0fd2)) - (Tonye Jack)
|
||||
- PR [#745](https://github.com/tj-actions/changed-files/pull/745): ([58b52f3](https://github.com/tj-actions/changed-files/commit/58b52f3bf81ee4eeaf096bbaefe6415b85a706a0)) - (Tonye Jack)
|
||||
- PR [#744](https://github.com/tj-actions/changed-files/pull/744): to v34.0.3 ([2aafb8f](https://github.com/tj-actions/changed-files/commit/2aafb8f8d030cebfa1925581f05afcb8c4853eec)) - (Tonye Jack)
|
||||
|
||||
@@ -4031,15 +4421,9 @@ Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.
|
||||
|
||||
- Pull initial history ([e92598c](https://github.com/tj-actions/changed-files/commit/e92598caebc065f89ec98ca8be94f711f5a01b0b)) - (Tonye Jack)
|
||||
|
||||
## <!-- 1 -->🐛 Bug Fixes
|
||||
|
||||
- Including changed files from merge commits ([986dcdd](https://github.com/tj-actions/changed-files/commit/986dcdd05475172779ccab62712e532629985d25)) - (Tonye Jack)
|
||||
|
||||
## <!-- 26 -->🔄 Update
|
||||
|
||||
- Update diff-sha.sh ([f1bc8b0](https://github.com/tj-actions/changed-files/commit/f1bc8b08922ee0b12090f4e8702dddebe0ea39b6)) - (Tonye Jack)
|
||||
- Update diff-sha.sh ([5716894](https://github.com/tj-actions/changed-files/commit/57168941b24e1c4ddb5247c7fc7336abe7dfeb6f)) - (Tonye Jack)
|
||||
- Update diff-sha.sh ([d3cd1f4](https://github.com/tj-actions/changed-files/commit/d3cd1f406f3863db7e9a181f7e7977cb375650af)) - (Tonye Jack)
|
||||
|
||||
## <!-- 30 -->📝 Other
|
||||
|
||||
@@ -4047,13 +4431,11 @@ Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.
|
||||
- PR [#741](https://github.com/tj-actions/changed-files/pull/741): ([edd790e](https://github.com/tj-actions/changed-files/commit/edd790e0a848029b6744c21163afe7c8052aac81)) - (Tonye Jack)
|
||||
- PR [#739](https://github.com/tj-actions/changed-files/pull/739): ([c295a8a](https://github.com/tj-actions/changed-files/commit/c295a8af70d120708e68835febd9b6f669942303)) - (Tonye Jack)
|
||||
- Merge branch 'main' into chore/fixed-typo ([ae1ce4e](https://github.com/tj-actions/changed-files/commit/ae1ce4eb541d5404a80170aa877cb8d40977563a)) - (Tonye Jack)
|
||||
- Merge branch 'main' into fix/including-changed-files-from-merge-commits ([dedb632](https://github.com/tj-actions/changed-files/commit/dedb6325a880afe8a958493ea1eaaf2af8fe4256)) - (Tonye Jack)
|
||||
- PR [#734](https://github.com/tj-actions/changed-files/pull/734): to v34.0.2 ([c2547e2](https://github.com/tj-actions/changed-files/commit/c2547e29dd5947cf157ac5cfa38927929cf2c1b6)) - (Tonye Jack)
|
||||
|
||||
## <!-- 7 -->⚙️ Miscellaneous Tasks
|
||||
|
||||
- Update test increase max-parallel ([bc3236f](https://github.com/tj-actions/changed-files/commit/bc3236f03570ad4dacd2372444fbe7b98ccd6358)) - (Tonye Jack)
|
||||
- Fixed typo. ([23c0e1a](https://github.com/tj-actions/changed-files/commit/23c0e1a9b3c827f29926f4453ab153c41f93faa5)) - (Tonye Jack)
|
||||
- Update test ([#738](https://github.com/tj-actions/changed-files/issues/738)) ([b65bd34](https://github.com/tj-actions/changed-files/commit/b65bd345efd697c0d074d59c28090a1e9f21d5ec)) - (Tonye Jack)
|
||||
|
||||
## <!-- 9 -->⬆️ Upgrades
|
||||
@@ -4100,6 +4482,7 @@ Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.
|
||||
- Fix detecting changes with the first PR commit ([3c4becd](https://github.com/tj-actions/changed-files/commit/3c4becd315288285b23f2de8901d57dc1b8e9041)) - (Tonye Jack)
|
||||
- Update docs ([a5be4dd](https://github.com/tj-actions/changed-files/commit/a5be4ddc74262f1bec4cfbed2bb085ae3288a0e8)) - (Tonye Jack)
|
||||
- Update debug message ([983dfd7](https://github.com/tj-actions/changed-files/commit/983dfd764c1f6a61ee8003968e2407b032ac695c)) - (Tonye Jack)
|
||||
- Fixed typo. ([23c0e1a](https://github.com/tj-actions/changed-files/commit/23c0e1a9b3c827f29926f4453ab153c41f93faa5)) - (Tonye Jack)
|
||||
|
||||
## <!-- 9 -->⬆️ Upgrades
|
||||
|
||||
@@ -4337,11 +4720,11 @@ Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.
|
||||
([b14b0a1](https://github.com/tj-actions/changed-files/commit/b14b0a186c6eddbb4797d24ac258105ef31846b1)) - (jackton1)
|
||||
- Updated README.md
|
||||
([5c8fbba](https://github.com/tj-actions/changed-files/commit/5c8fbbaf2050375c1c12d3e8ff59bd6b1fc32c3a)) - (jackton1)
|
||||
- Update README.md ([5b1a2fe](https://github.com/tj-actions/changed-files/commit/5b1a2fe1bf166d9debffdba52a982218ebc81632)) - (Tonye Jack)
|
||||
- Updated the log message
|
||||
([5cd49f8](https://github.com/tj-actions/changed-files/commit/5cd49f8c2dd62a94af6c49e7f8a49669a06434b6)) - (Tonye Jack)
|
||||
- Updated test step name.
|
||||
([2740f4f](https://github.com/tj-actions/changed-files/commit/2740f4ff1f2105e1ee517221d96a29d1aadfb938)) - (Tonye Jack)
|
||||
- Update README.md ([5b1a2fe](https://github.com/tj-actions/changed-files/commit/5b1a2fe1bf166d9debffdba52a982218ebc81632)) - (Tonye Jack)
|
||||
- Updated README.md
|
||||
([316681c](https://github.com/tj-actions/changed-files/commit/316681cafb4ca00b7f2dcd328fce51f9a101a053)) - (Tonye Jack)
|
||||
|
||||
@@ -4356,8 +4739,6 @@ Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.
|
||||
- PR [#679](https://github.com/tj-actions/changed-files/pull/679): ([291d397](https://github.com/tj-actions/changed-files/commit/291d397b90c862b8ca55c0353598a25066f44c99)) - (Tonye Jack)
|
||||
- Merge branch 'set-output-github-output' of github.com:lpulley/changed-files into set-output-github-output
|
||||
([1ced186](https://github.com/tj-actions/changed-files/commit/1ced186070143fc2f3a64edb61bab69b5f57d47c)) - (Logan Pulley)
|
||||
- Use cat instead of echo
|
||||
([dd92102](https://github.com/tj-actions/changed-files/commit/dd9210256d1f7d872ab26bec97baf63ca3b21221)) - (Logan Pulley)
|
||||
- Merge branch 'main' into set-output-github-output ([be3cb7b](https://github.com/tj-actions/changed-files/commit/be3cb7b5aaa31e88f0513b29d77a99bc7a781ad3)) - (Logan Pulley)
|
||||
- PR [#684](https://github.com/tj-actions/changed-files/pull/684): ([bea18dd](https://github.com/tj-actions/changed-files/commit/bea18ddafc710bc95b35f48ac8d18c51a90f69fd)) - (Tonye Jack)
|
||||
- PR [#682](https://github.com/tj-actions/changed-files/pull/682): ([8c6e3fe](https://github.com/tj-actions/changed-files/commit/8c6e3fef179f560ef925b15ba5d2c189bdc37af4)) - (Tonye Jack)
|
||||
@@ -4365,10 +4746,12 @@ Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.
|
||||
- PR [#681](https://github.com/tj-actions/changed-files/pull/681): ([bc00134](https://github.com/tj-actions/changed-files/commit/bc00134c625e1b55961b1bf833cdd7cca76bdbd0)) - (Tonye Jack)
|
||||
- Merge branch 'main' into fix/668-bug-new-commits-pushed-to-the-base-branch-results-in-errors-when-shallow-history-is-used ([7ed7f59](https://github.com/tj-actions/changed-files/commit/7ed7f59ca23938e6184feceade5e8eccba7481af)) - (Tonye Jack)
|
||||
- Merge branch 'main' into fix/668-bug-new-commits-pushed-to-the-base-branch-results-in-errors-when-shallow-history-is-used ([a0f6ff4](https://github.com/tj-actions/changed-files/commit/a0f6ff42fa99b8a0f993fe1310e54603d78e97cc)) - (Tonye Jack)
|
||||
- Use cat instead of echo
|
||||
([dd92102](https://github.com/tj-actions/changed-files/commit/dd9210256d1f7d872ab26bec97baf63ca3b21221)) - (Logan Pulley)
|
||||
- Merge branch 'main' into set-output-github-output ([3750c53](https://github.com/tj-actions/changed-files/commit/3750c5302c5d8b4a34d7ebaed92ba36fec308d1b)) - (Logan Pulley)
|
||||
- PR [#680](https://github.com/tj-actions/changed-files/pull/680): to v32.0.1 ([235f028](https://github.com/tj-actions/changed-files/commit/235f02844b14a7500f8eb63acc76466d4224a628)) - (Tonye Jack)
|
||||
- Combine repeated echos
|
||||
([a299058](https://github.com/tj-actions/changed-files/commit/a299058164ca28b468d7205c3dc308a871a5e08e)) - (Logan Pulley)
|
||||
- PR [#680](https://github.com/tj-actions/changed-files/pull/680): to v32.0.1 ([235f028](https://github.com/tj-actions/changed-files/commit/235f02844b14a7500f8eb63acc76466d4224a628)) - (Tonye Jack)
|
||||
- Double-quote `$GITHUB_OUTPUT`
|
||||
([c8b8b3c](https://github.com/tj-actions/changed-files/commit/c8b8b3cadfd0927ca66d0809d4ba0a250a33d584)) - (Logan Pulley)
|
||||
- Use `>>$GITHUB_OUTPUT` instead of `::set-output`
|
||||
@@ -4463,8 +4846,8 @@ Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.
|
||||
|
||||
- Remove redundant since last remote input ([f588e17](https://github.com/tj-actions/changed-files/commit/f588e17a5b5e157ebe9d1b3b04e2467127a5c8e1)) - (Tonye Jack)
|
||||
- Fixed test ([8b5e11a](https://github.com/tj-actions/changed-files/commit/8b5e11a2b12c819b473bdbe7a2a46bd72c287886)) - (Tonye Jack)
|
||||
- Update docs ([234951f](https://github.com/tj-actions/changed-files/commit/234951f19b3e51e9260f3bd2cdec096161213210)) - (Tonye Jack)
|
||||
- Fix bug with base sha ([02c9951](https://github.com/tj-actions/changed-files/commit/02c995141e6b4c7382c598175282f60b93b6b352)) - (Tonye Jack)
|
||||
- Update docs ([234951f](https://github.com/tj-actions/changed-files/commit/234951f19b3e51e9260f3bd2cdec096161213210)) - (Tonye Jack)
|
||||
- Dump github context ([e73ff65](https://github.com/tj-actions/changed-files/commit/e73ff653816c9dc23c55406558b91164480e444c)) - (Tonye Jack)
|
||||
- Test using non ascii characters in files input ([2b7a7f9](https://github.com/tj-actions/changed-files/commit/2b7a7f90b7a270746bddc571edf4d01138c9109a)) - (Tonye Jack)
|
||||
|
||||
@@ -4846,7 +5229,6 @@ Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.
|
||||
([b192991](https://github.com/tj-actions/changed-files/commit/b1929916faf2aff6891e875744740e36b23b8944)) - (Tonye Jack)
|
||||
- Fixed bug with pattern matching.
|
||||
([646144d](https://github.com/tj-actions/changed-files/commit/646144ddf8992a89eaa3a29705fdae54d38779f0)) - (Tonye Jack)
|
||||
- Bug with dir name ([6aa0ae3](https://github.com/tj-actions/changed-files/commit/6aa0ae3b2cc6584d358fe8609d82c37bf306db2c)) - (Tonye Jack)
|
||||
|
||||
## <!-- 26 -->🔄 Update
|
||||
|
||||
@@ -4872,6 +5254,10 @@ Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.
|
||||
|
||||
# [29.0.0](https://github.com/tj-actions/changed-files/compare/v28.0.0...v29.0.0) - (2022-08-23)
|
||||
|
||||
## <!-- 1 -->🐛 Bug Fixes
|
||||
|
||||
- Bug with dir name ([6aa0ae3](https://github.com/tj-actions/changed-files/commit/6aa0ae3b2cc6584d358fe8609d82c37bf306db2c)) - (Tonye Jack)
|
||||
|
||||
## <!-- 26 -->🔄 Update
|
||||
|
||||
- Update test.yml ([4ae6f80](https://github.com/tj-actions/changed-files/commit/4ae6f80c0f3c44d2dddcc5590b448160df1b2697)) - (Tonye Jack)
|
||||
@@ -5323,10 +5709,16 @@ Co-authored-by: jackton1 <jackton1@users.noreply.github.com> ([8373ec9](https://
|
||||
|
||||
# [19.3](https://github.com/tj-actions/changed-files/compare/v19.2...v19.3) - (2022-05-14)
|
||||
|
||||
## <!-- 0 -->🚀 Features
|
||||
|
||||
- Add support for listing renames. ([c004907](https://github.com/tj-actions/changed-files/commit/c004907b7600ddf4d9e06a8c7ff7e32566bad269)) - (Tonye Jack)
|
||||
|
||||
## <!-- 1 -->🐛 Bug Fixes
|
||||
|
||||
- Fixed test.
|
||||
([939ae1b](https://github.com/tj-actions/changed-files/commit/939ae1be50bbdf8e0807de7ff54369c3d810496f)) - (Tonye Jack)
|
||||
- Fixed test.
|
||||
([c69f784](https://github.com/tj-actions/changed-files/commit/c69f784c4f2251b496fbd606323503c522fa681b)) - (Tonye Jack)
|
||||
|
||||
## <!-- 11 -->⏪ Reverts
|
||||
|
||||
@@ -5343,6 +5735,14 @@ Co-authored-by: jackton1 <jackton1@users.noreply.github.com> ([8373ec9](https://
|
||||
([fd30e95](https://github.com/tj-actions/changed-files/commit/fd30e95c05a3a33d8bb4620924975dce0e126aff)) - (Tonye Jack)
|
||||
- Added a test file.
|
||||
([3e205d2](https://github.com/tj-actions/changed-files/commit/3e205d23e0a6bb3706e5c29265cc4c675fc999c5)) - (Tonye Jack)
|
||||
- Added get_renames function
|
||||
([e42d2fc](https://github.com/tj-actions/changed-files/commit/e42d2fcf7782c82fb36aa9a3baf2138a8b858d1a)) - (Tonye Jack)
|
||||
- Added test-rename.txt
|
||||
([070aa8a](https://github.com/tj-actions/changed-files/commit/070aa8aaf95b144eae63a7120e1adec29e18b05e)) - (Tonye Jack)
|
||||
- Added support for returning old and new names of renamed files
|
||||
([5f40fac](https://github.com/tj-actions/changed-files/commit/5f40fac43ce1ecb5a712a5406edaf5549e37403e)) - (Tonye Jack)
|
||||
- Added a test file.
|
||||
([562c86f](https://github.com/tj-actions/changed-files/commit/562c86f382bfa2e340444665f317f72fefa6aca0)) - (Tonye Jack)
|
||||
|
||||
## <!-- 18 -->📝 Rename
|
||||
|
||||
@@ -5364,96 +5764,6 @@ Co-authored-by: jackton1 <jackton1@users.noreply.github.com> ([8373ec9](https://
|
||||
([9dcecf7](https://github.com/tj-actions/changed-files/commit/9dcecf749d5a3eb8271e23fb248a1f053058edab)) - (Tonye Jack)
|
||||
- Renamed test-renamed.txt -> test-rename-1.txt
|
||||
([67e0fe5](https://github.com/tj-actions/changed-files/commit/67e0fe5e75c8a8599399edd5b87b44ee73b22c86)) - (Tonye Jack)
|
||||
|
||||
## <!-- 26 -->🔄 Update
|
||||
|
||||
- Updated README.md
|
||||
([0a05f63](https://github.com/tj-actions/changed-files/commit/0a05f634b66807d56192d297bad5343b5e45f3c2)) - (jackton1)
|
||||
- Updated test
|
||||
([4b7f83f](https://github.com/tj-actions/changed-files/commit/4b7f83fb7a374664a03b240313aeb11d81940c4e)) - (Tonye Jack)
|
||||
- Updated docs and fixed bug with old new files list
|
||||
([4238332](https://github.com/tj-actions/changed-files/commit/423833260b47c360c6b392b096292926b3867a26)) - (Tonye Jack)
|
||||
- Updated description.
|
||||
([fbb03cc](https://github.com/tj-actions/changed-files/commit/fbb03cca8456584de1fe7445f0a4eac1f25ec8ae)) - (Tonye Jack)
|
||||
- Updated test.yml
|
||||
([7f7bafe](https://github.com/tj-actions/changed-files/commit/7f7bafe37a65ed2359e60cbe2573d28b4deba260)) - (Tonye Jack)
|
||||
- Updated entrypoint.sh
|
||||
([ed9e4be](https://github.com/tj-actions/changed-files/commit/ed9e4befd610390e37608235c4f46a7134ddbda2)) - (Tonye Jack)
|
||||
|
||||
## <!-- 30 -->📝 Other
|
||||
|
||||
- PR [#487](https://github.com/tj-actions/changed-files/pull/487): ([e55f7fb](https://github.com/tj-actions/changed-files/commit/e55f7fb99e90111108bc24d3f14156b06ab6a12c)) - (Tonye Jack)
|
||||
- Merge branch 'main' into upgrade-to-v19.2 ([9151ce8](https://github.com/tj-actions/changed-files/commit/9151ce890a48e8626fb4c13b5e985123972bd165)) - (Tonye Jack)
|
||||
- PR [#488](https://github.com/tj-actions/changed-files/pull/488): ([2258755](https://github.com/tj-actions/changed-files/commit/225875592f206c3489927fed8fb8053a5974262f)) - (Tonye Jack)
|
||||
- Merge branch 'main' into fix/bug-with-renames ([4a7ed1c](https://github.com/tj-actions/changed-files/commit/4a7ed1cd688fbab227c222fc686fbae9eced9565)) - (Tonye Jack)
|
||||
- Merge branch 'main' into feat/add-support-for-retrieving-old-and-new-names-of-renamed-files
|
||||
([cce5bff](https://github.com/tj-actions/changed-files/commit/cce5bff7c05227dd820f9f2f17272701cb5735a7)) - (Tonye Jack)
|
||||
|
||||
## <!-- 9 -->⬆️ Upgrades
|
||||
|
||||
- Upgraded from v19.1 -> v19.2
|
||||
([b6d9173](https://github.com/tj-actions/changed-files/commit/b6d9173b6b227afd847e9301077b8450f31038b0)) - (jackton1)
|
||||
|
||||
# [19.2](https://github.com/tj-actions/changed-files/compare/v19.1...v19.2) - (2022-05-14)
|
||||
|
||||
## <!-- 0 -->🚀 Features
|
||||
|
||||
- Add support for listing renames. ([f1a01ff](https://github.com/tj-actions/changed-files/commit/f1a01ff091fb1c66e4d984fa0b6d73667552ee84)) - (Tonye Jack)
|
||||
- Added support for returning old and new names of renamed files ([#483](https://github.com/tj-actions/changed-files/issues/483)) ([3baba75](https://github.com/tj-actions/changed-files/commit/3baba755794f9583e433f7f64200ca7540198fc1)) - (Tonye Jack)
|
||||
- Add support for listing renames. ([c004907](https://github.com/tj-actions/changed-files/commit/c004907b7600ddf4d9e06a8c7ff7e32566bad269)) - (Tonye Jack)
|
||||
|
||||
## <!-- 1 -->🐛 Bug Fixes
|
||||
|
||||
- Fixed test.
|
||||
([7a19e1f](https://github.com/tj-actions/changed-files/commit/7a19e1f563c45b97f72f2de02c4e48657d043bce)) - (Tonye Jack)
|
||||
- Fixed test.
|
||||
([c69f784](https://github.com/tj-actions/changed-files/commit/c69f784c4f2251b496fbd606323503c522fa681b)) - (Tonye Jack)
|
||||
|
||||
## <!-- 11 -->⏪ Reverts
|
||||
|
||||
- Revert "feat: Added support for returning old and new names of renamed files" ([#485](https://github.com/tj-actions/changed-files/issues/485))
|
||||
|
||||
([0093196](https://github.com/tj-actions/changed-files/commit/0093196671172756e7facde8b01c10fe420f8807)) - (Tonye Jack)
|
||||
|
||||
## <!-- 16 -->➕ Add
|
||||
|
||||
- Added get_renames function
|
||||
([6655125](https://github.com/tj-actions/changed-files/commit/6655125c375e25e3ddcf2a19c6ae780459d1cdc0)) - (Tonye Jack)
|
||||
- Added test-rename.txt
|
||||
([c91875f](https://github.com/tj-actions/changed-files/commit/c91875f5c7c83154c7eb0f7179684d494530b29d)) - (Tonye Jack)
|
||||
- Added support for returning old and new names of renamed files
|
||||
([c65a184](https://github.com/tj-actions/changed-files/commit/c65a184a68f0ac8ebc63549638d007282f4106a8)) - (Tonye Jack)
|
||||
- Added a test file.
|
||||
([a47fe7c](https://github.com/tj-actions/changed-files/commit/a47fe7c04353cefbd7e6da3e28e6abf91f375bcb)) - (Tonye Jack)
|
||||
- Added get_renames function
|
||||
([e42d2fc](https://github.com/tj-actions/changed-files/commit/e42d2fcf7782c82fb36aa9a3baf2138a8b858d1a)) - (Tonye Jack)
|
||||
- Added test-rename.txt
|
||||
([070aa8a](https://github.com/tj-actions/changed-files/commit/070aa8aaf95b144eae63a7120e1adec29e18b05e)) - (Tonye Jack)
|
||||
- Added support for returning old and new names of renamed files
|
||||
([5f40fac](https://github.com/tj-actions/changed-files/commit/5f40fac43ce1ecb5a712a5406edaf5549e37403e)) - (Tonye Jack)
|
||||
- Added a test file.
|
||||
([562c86f](https://github.com/tj-actions/changed-files/commit/562c86f382bfa2e340444665f317f72fefa6aca0)) - (Tonye Jack)
|
||||
|
||||
## <!-- 18 -->📝 Rename
|
||||
|
||||
- Renamed output.
|
||||
([ce04a71](https://github.com/tj-actions/changed-files/commit/ce04a71447362a550c0f3cf64fbf2bea03c6c20a)) - (Tonye Jack)
|
||||
- Renamed files.
|
||||
([4f723c8](https://github.com/tj-actions/changed-files/commit/4f723c8a08e68c97743541cd399dfdad302150d6)) - (Tonye Jack)
|
||||
- Renamed test/test rename 2.txt -> test/test rename-2.txt
|
||||
([33a8d42](https://github.com/tj-actions/changed-files/commit/33a8d4202a8087f12921928f273011608a80ebe9)) - (Tonye Jack)
|
||||
- Renamed test/test rename 1.txt -> test/test rename-1.txt
|
||||
([915804c](https://github.com/tj-actions/changed-files/commit/915804c2500922d5b59579ab0e21720b82c9a7ac)) - (Tonye Jack)
|
||||
- Renamed test files.
|
||||
([7d223a4](https://github.com/tj-actions/changed-files/commit/7d223a463850b6d6e286dbac755410937e089966)) - (Tonye Jack)
|
||||
- Renamed test/test-rename-2.txt -> test/test rename-2.txt
|
||||
([c632bba](https://github.com/tj-actions/changed-files/commit/c632bba0e4f10785962cba4d9e45ac24b25c4122)) - (Tonye Jack)
|
||||
- Renamed test/test-rename-1.txt -> test/test rename-1.txt
|
||||
([ac7e9e7](https://github.com/tj-actions/changed-files/commit/ac7e9e740966216f3874cdaccebd41e7a0501f92)) - (Tonye Jack)
|
||||
- Renamed test/test-rename.txt -> test/test-rename-2.txt
|
||||
([1b9b564](https://github.com/tj-actions/changed-files/commit/1b9b564b1b6a16eae417aaf38c2ea47fdcf35145)) - (Tonye Jack)
|
||||
- Renamed test-renamed.txt -> test-rename-1.txt
|
||||
([9ee57c0](https://github.com/tj-actions/changed-files/commit/9ee57c08714dc9cd44612c0ac26f3f647c4fc311)) - (Tonye Jack)
|
||||
- Renamed output.
|
||||
([b60efcf](https://github.com/tj-actions/changed-files/commit/b60efcf625f7d808d6d95840a8f4fe3486fc8396)) - (Tonye Jack)
|
||||
- Renamed files.
|
||||
@@ -5475,6 +5785,95 @@ Co-authored-by: jackton1 <jackton1@users.noreply.github.com> ([8373ec9](https://
|
||||
|
||||
## <!-- 26 -->🔄 Update
|
||||
|
||||
- Updated README.md
|
||||
([0a05f63](https://github.com/tj-actions/changed-files/commit/0a05f634b66807d56192d297bad5343b5e45f3c2)) - (jackton1)
|
||||
- Updated test
|
||||
([4b7f83f](https://github.com/tj-actions/changed-files/commit/4b7f83fb7a374664a03b240313aeb11d81940c4e)) - (Tonye Jack)
|
||||
- Updated docs and fixed bug with old new files list
|
||||
([4238332](https://github.com/tj-actions/changed-files/commit/423833260b47c360c6b392b096292926b3867a26)) - (Tonye Jack)
|
||||
- Updated description.
|
||||
([fbb03cc](https://github.com/tj-actions/changed-files/commit/fbb03cca8456584de1fe7445f0a4eac1f25ec8ae)) - (Tonye Jack)
|
||||
- Updated test.yml
|
||||
([7f7bafe](https://github.com/tj-actions/changed-files/commit/7f7bafe37a65ed2359e60cbe2573d28b4deba260)) - (Tonye Jack)
|
||||
- Updated entrypoint.sh
|
||||
([ed9e4be](https://github.com/tj-actions/changed-files/commit/ed9e4befd610390e37608235c4f46a7134ddbda2)) - (Tonye Jack)
|
||||
- Updated test
|
||||
([044773f](https://github.com/tj-actions/changed-files/commit/044773f27a01168b3da6560145085f2e752f4366)) - (Tonye Jack)
|
||||
- Updated docs and fixed bug with old new files list
|
||||
([d1c0ee4](https://github.com/tj-actions/changed-files/commit/d1c0ee4e67338c2c3e50a08b6156ab8c155be21c)) - (Tonye Jack)
|
||||
- Updated description.
|
||||
([12bb701](https://github.com/tj-actions/changed-files/commit/12bb70106645fe01d58a0d582d5e293a0438a668)) - (Tonye Jack)
|
||||
- Updated test.yml
|
||||
([020ae64](https://github.com/tj-actions/changed-files/commit/020ae6440a88da139e8737695e27e06029274dd4)) - (Tonye Jack)
|
||||
|
||||
## <!-- 30 -->📝 Other
|
||||
|
||||
- PR [#487](https://github.com/tj-actions/changed-files/pull/487): ([e55f7fb](https://github.com/tj-actions/changed-files/commit/e55f7fb99e90111108bc24d3f14156b06ab6a12c)) - (Tonye Jack)
|
||||
- Merge branch 'main' into upgrade-to-v19.2 ([9151ce8](https://github.com/tj-actions/changed-files/commit/9151ce890a48e8626fb4c13b5e985123972bd165)) - (Tonye Jack)
|
||||
- PR [#488](https://github.com/tj-actions/changed-files/pull/488): ([2258755](https://github.com/tj-actions/changed-files/commit/225875592f206c3489927fed8fb8053a5974262f)) - (Tonye Jack)
|
||||
- Merge branch 'main' into fix/bug-with-renames ([4a7ed1c](https://github.com/tj-actions/changed-files/commit/4a7ed1cd688fbab227c222fc686fbae9eced9565)) - (Tonye Jack)
|
||||
- Merge branch 'main' into feat/add-support-for-retrieving-old-and-new-names-of-renamed-files
|
||||
([cce5bff](https://github.com/tj-actions/changed-files/commit/cce5bff7c05227dd820f9f2f17272701cb5735a7)) - (Tonye Jack)
|
||||
- Reformatted table
|
||||
([a968e74](https://github.com/tj-actions/changed-files/commit/a968e7411691e11ac6cdcbacedbda6b5e8f0b8e6)) - (Tonye Jack)
|
||||
|
||||
## <!-- 9 -->⬆️ Upgrades
|
||||
|
||||
- Upgraded from v19.1 -> v19.2
|
||||
([b6d9173](https://github.com/tj-actions/changed-files/commit/b6d9173b6b227afd847e9301077b8450f31038b0)) - (jackton1)
|
||||
|
||||
# [19.2](https://github.com/tj-actions/changed-files/compare/v19.1...v19.2) - (2022-05-14)
|
||||
|
||||
## <!-- 0 -->🚀 Features
|
||||
|
||||
- Add support for listing renames. ([f1a01ff](https://github.com/tj-actions/changed-files/commit/f1a01ff091fb1c66e4d984fa0b6d73667552ee84)) - (Tonye Jack)
|
||||
- Added support for returning old and new names of renamed files ([#483](https://github.com/tj-actions/changed-files/issues/483)) ([3baba75](https://github.com/tj-actions/changed-files/commit/3baba755794f9583e433f7f64200ca7540198fc1)) - (Tonye Jack)
|
||||
|
||||
## <!-- 1 -->🐛 Bug Fixes
|
||||
|
||||
- Fixed test.
|
||||
([7a19e1f](https://github.com/tj-actions/changed-files/commit/7a19e1f563c45b97f72f2de02c4e48657d043bce)) - (Tonye Jack)
|
||||
|
||||
## <!-- 11 -->⏪ Reverts
|
||||
|
||||
- Revert "feat: Added support for returning old and new names of renamed files" ([#485](https://github.com/tj-actions/changed-files/issues/485))
|
||||
|
||||
([0093196](https://github.com/tj-actions/changed-files/commit/0093196671172756e7facde8b01c10fe420f8807)) - (Tonye Jack)
|
||||
|
||||
## <!-- 16 -->➕ Add
|
||||
|
||||
- Added get_renames function
|
||||
([6655125](https://github.com/tj-actions/changed-files/commit/6655125c375e25e3ddcf2a19c6ae780459d1cdc0)) - (Tonye Jack)
|
||||
- Added test-rename.txt
|
||||
([c91875f](https://github.com/tj-actions/changed-files/commit/c91875f5c7c83154c7eb0f7179684d494530b29d)) - (Tonye Jack)
|
||||
- Added support for returning old and new names of renamed files
|
||||
([c65a184](https://github.com/tj-actions/changed-files/commit/c65a184a68f0ac8ebc63549638d007282f4106a8)) - (Tonye Jack)
|
||||
- Added a test file.
|
||||
([a47fe7c](https://github.com/tj-actions/changed-files/commit/a47fe7c04353cefbd7e6da3e28e6abf91f375bcb)) - (Tonye Jack)
|
||||
|
||||
## <!-- 18 -->📝 Rename
|
||||
|
||||
- Renamed output.
|
||||
([ce04a71](https://github.com/tj-actions/changed-files/commit/ce04a71447362a550c0f3cf64fbf2bea03c6c20a)) - (Tonye Jack)
|
||||
- Renamed files.
|
||||
([4f723c8](https://github.com/tj-actions/changed-files/commit/4f723c8a08e68c97743541cd399dfdad302150d6)) - (Tonye Jack)
|
||||
- Renamed test/test rename 2.txt -> test/test rename-2.txt
|
||||
([33a8d42](https://github.com/tj-actions/changed-files/commit/33a8d4202a8087f12921928f273011608a80ebe9)) - (Tonye Jack)
|
||||
- Renamed test/test rename 1.txt -> test/test rename-1.txt
|
||||
([915804c](https://github.com/tj-actions/changed-files/commit/915804c2500922d5b59579ab0e21720b82c9a7ac)) - (Tonye Jack)
|
||||
- Renamed test files.
|
||||
([7d223a4](https://github.com/tj-actions/changed-files/commit/7d223a463850b6d6e286dbac755410937e089966)) - (Tonye Jack)
|
||||
- Renamed test/test-rename-2.txt -> test/test rename-2.txt
|
||||
([c632bba](https://github.com/tj-actions/changed-files/commit/c632bba0e4f10785962cba4d9e45ac24b25c4122)) - (Tonye Jack)
|
||||
- Renamed test/test-rename-1.txt -> test/test rename-1.txt
|
||||
([ac7e9e7](https://github.com/tj-actions/changed-files/commit/ac7e9e740966216f3874cdaccebd41e7a0501f92)) - (Tonye Jack)
|
||||
- Renamed test/test-rename.txt -> test/test-rename-2.txt
|
||||
([1b9b564](https://github.com/tj-actions/changed-files/commit/1b9b564b1b6a16eae417aaf38c2ea47fdcf35145)) - (Tonye Jack)
|
||||
- Renamed test-renamed.txt -> test-rename-1.txt
|
||||
([9ee57c0](https://github.com/tj-actions/changed-files/commit/9ee57c08714dc9cd44612c0ac26f3f647c4fc311)) - (Tonye Jack)
|
||||
|
||||
## <!-- 26 -->🔄 Update
|
||||
|
||||
- Updated README.md
|
||||
([07b38ce](https://github.com/tj-actions/changed-files/commit/07b38ce1a17c46f1d0eb1150c8a33f703d473262)) - (jackton1)
|
||||
- Updated test
|
||||
@@ -5485,21 +5884,8 @@ Co-authored-by: jackton1 <jackton1@users.noreply.github.com> ([8373ec9](https://
|
||||
([8ee5785](https://github.com/tj-actions/changed-files/commit/8ee5785691f17da7ce30330db867d75279250998)) - (Tonye Jack)
|
||||
- Updated test.yml
|
||||
([8567a10](https://github.com/tj-actions/changed-files/commit/8567a10991ed7d6ed8c85ce1669be4298199198d)) - (Tonye Jack)
|
||||
- Updated test
|
||||
([044773f](https://github.com/tj-actions/changed-files/commit/044773f27a01168b3da6560145085f2e752f4366)) - (Tonye Jack)
|
||||
- Updated docs and fixed bug with old new files list
|
||||
([d1c0ee4](https://github.com/tj-actions/changed-files/commit/d1c0ee4e67338c2c3e50a08b6156ab8c155be21c)) - (Tonye Jack)
|
||||
- Updated description.
|
||||
([12bb701](https://github.com/tj-actions/changed-files/commit/12bb70106645fe01d58a0d582d5e293a0438a668)) - (Tonye Jack)
|
||||
- Updated test.yml
|
||||
([020ae64](https://github.com/tj-actions/changed-files/commit/020ae6440a88da139e8737695e27e06029274dd4)) - (Tonye Jack)
|
||||
- Update README.md ([1e1e79b](https://github.com/tj-actions/changed-files/commit/1e1e79beb1b197de84830b3a489f3dfae10864bc)) - (Tonye Jack)
|
||||
|
||||
## <!-- 30 -->📝 Other
|
||||
|
||||
- Reformatted table
|
||||
([a968e74](https://github.com/tj-actions/changed-files/commit/a968e7411691e11ac6cdcbacedbda6b5e8f0b8e6)) - (Tonye Jack)
|
||||
|
||||
## <!-- 7 -->⚙️ Miscellaneous Tasks
|
||||
|
||||
- Update the exit status when ([931aafa](https://github.com/tj-actions/changed-files/commit/931aafa07905dfc588a2f068d2a4b7c60b22a0ff)) - (Tonye Jack)
|
||||
@@ -7516,6 +7902,14 @@ Co-authored-by: jackton1 <jackton1@users.noreply.github.com> ([4960867](https://
|
||||
- Updated .github/workflows/auto-merge.yml ([67bbc48](https://github.com/tj-actions/changed-files/commit/67bbc48934db0b2a6bdbbdcf76f6e111853823d4)) - (Tonye Jack)
|
||||
- Update README.md ([c7b18db](https://github.com/tj-actions/changed-files/commit/c7b18dbe145e56136c49f7f8f7ba02669205c9cd)) - (Tonye Jack)
|
||||
|
||||
## <!-- 29 -->👷 CI/CD
|
||||
|
||||
- Make the changes between two commits more explicit ([#92](https://github.com/tj-actions/changed-files/issues/92))
|
||||
|
||||
* Make explicit the changes between two commits
|
||||
|
||||
* Add GITHUB_SHA support ([f32b39d](https://github.com/tj-actions/changed-files/commit/f32b39dc362412470a001f5b2e972015afc0e6ca)) - (Nick Landers)
|
||||
|
||||
## <!-- 30 -->📝 Other
|
||||
|
||||
- Clean up debug message ([#93](https://github.com/tj-actions/changed-files/issues/93))
|
||||
@@ -7523,11 +7917,6 @@ Co-authored-by: jackton1 <jackton1@users.noreply.github.com> ([4960867](https://
|
||||
* Clean up debug message
|
||||
|
||||
* Update entrypoint.sh ([15b1769](https://github.com/tj-actions/changed-files/commit/15b1769fc52da64fe168a41ccb01c48b27687149)) - (Tonye Jack)
|
||||
- Make the changes between two commits more explicit ([#92](https://github.com/tj-actions/changed-files/issues/92))
|
||||
|
||||
* Make explicit the changes between two commits
|
||||
|
||||
* Add GITHUB_SHA support ([f32b39d](https://github.com/tj-actions/changed-files/commit/f32b39dc362412470a001f5b2e972015afc0e6ca)) - (Nick Landers)
|
||||
- Punctuation ([#90](https://github.com/tj-actions/changed-files/issues/90))
|
||||
|
||||
([a0682a8](https://github.com/tj-actions/changed-files/commit/a0682a82458b73686740f8dbbee27461210b6073)) - (Josh Soref)
|
||||
@@ -7920,10 +8309,13 @@ Signed-off-by: dependabot[bot] <support@github.com> ([1429c1a](https://github.co
|
||||
- Update README.md ([e6d9964](https://github.com/tj-actions/changed-files/commit/e6d9964230cd7c673698c9402ea65a6ec1134d4c)) - (Tonye Jack)
|
||||
- Update README.md ([177ed75](https://github.com/tj-actions/changed-files/commit/177ed75445e9aadc9845bfa9aad42ee21fd030e8)) - (Tonye Jack)
|
||||
|
||||
## <!-- 29 -->👷 CI/CD
|
||||
|
||||
- [WIP] Add support to filter only specific files ([4324557](https://github.com/tj-actions/changed-files/commit/43245574e6ad9f421b037c092cee2fdc28bf2c5d)) - (Tonye Jack)
|
||||
|
||||
## <!-- 30 -->📝 Other
|
||||
|
||||
- PR [#31](https://github.com/tj-actions/changed-files/pull/31): ([fcb2ab8](https://github.com/tj-actions/changed-files/commit/fcb2ab8c32c2b66fdf94ab3deede353f8fe6f77c)) - (Tonye Jack)
|
||||
- [WIP] Add support to filter only specific files ([4324557](https://github.com/tj-actions/changed-files/commit/43245574e6ad9f421b037c092cee2fdc28bf2c5d)) - (Tonye Jack)
|
||||
- PR [#30](https://github.com/tj-actions/changed-files/pull/30): tj-actions/sync-release-version from v8 to v8.5 ([a9b4a37](https://github.com/tj-actions/changed-files/commit/a9b4a3786b453890d9f814e13c68c675f23f6590)) - (Tonye Jack)
|
||||
- PR [#29](https://github.com/tj-actions/changed-files/pull/29): to GitHub-native Dependabot ([678cfad](https://github.com/tj-actions/changed-files/commit/678cfad1aff7205a87a5cf036632371cdb0222eb)) - (Tonye Jack)
|
||||
- PR [#25](https://github.com/tj-actions/changed-files/pull/25): README.md ([c7d680f](https://github.com/tj-actions/changed-files/commit/c7d680f31bc8da3e45a4316808905ad0be624cef)) - (Tonye Jack)
|
||||
@@ -8095,17 +8487,17 @@ Signed-off-by: dependabot[bot] <support@github.com> ([1429c1a](https://github.co
|
||||
- Update test.yml ([122b223](https://github.com/tj-actions/changed-files/commit/122b223c048710588250ce283e4b10f34f7b97ce)) - (Tonye Jack)
|
||||
- Update test.yml ([78d6add](https://github.com/tj-actions/changed-files/commit/78d6add10dc39ce60f3977239e475e92636ada02)) - (Tonye Jack)
|
||||
- Update test.yml ([ca86f77](https://github.com/tj-actions/changed-files/commit/ca86f773268c91c7737b884e179950c410457106)) - (Tonye Jack)
|
||||
- Update test.yml ([1c5a341](https://github.com/tj-actions/changed-files/commit/1c5a3415f385a48ab07412485dbd89792105cc93)) - (Tonye Jack)
|
||||
- Update test.yml ([4883588](https://github.com/tj-actions/changed-files/commit/48835883f9ff4fb81ab3f379e1b1da8f9557bca0)) - (Tonye Jack)
|
||||
- Update test.yml ([8673629](https://github.com/tj-actions/changed-files/commit/86736298570b2f45099d0adf8d5fb1724dff07a0)) - (Tonye Jack)
|
||||
- Update test.yml ([a432171](https://github.com/tj-actions/changed-files/commit/a4321716faa2f27596b445792f350eedba2e6e4f)) - (Tonye Jack)
|
||||
- Update test.yml ([1c5a341](https://github.com/tj-actions/changed-files/commit/1c5a3415f385a48ab07412485dbd89792105cc93)) - (Tonye Jack)
|
||||
- Update test.yml ([c2eb995](https://github.com/tj-actions/changed-files/commit/c2eb99504f79de91334445754b76d9a2b01bf8a0)) - (Tonye Jack)
|
||||
- Update action.yml ([21c1f27](https://github.com/tj-actions/changed-files/commit/21c1f27d337b4a294800bfef78ceae9dc75800ad)) - (Tonye Jack)
|
||||
- Update README.md ([3a74bab](https://github.com/tj-actions/changed-files/commit/3a74bab53cfbfbf63740d9c07df177eb405b40b3)) - (Tonye Jack)
|
||||
- Update README.md ([3a11f58](https://github.com/tj-actions/changed-files/commit/3a11f58d0f0fad11a70005aa0ebfd5c1fb7a0a6c)) - (Tonye Jack)
|
||||
- Update test.yml ([66a53ea](https://github.com/tj-actions/changed-files/commit/66a53ea26fdce49dc3ee56e179b2f27a24719796)) - (Tonye Jack)
|
||||
- Update test.yml ([6868b51](https://github.com/tj-actions/changed-files/commit/6868b512caf67893c95dca8d9a6db891f04cdc6c)) - (Tonye Jack)
|
||||
- Update README.md ([d3c7a0c](https://github.com/tj-actions/changed-files/commit/d3c7a0c2497fc1fa7d7b5a83bdbe35dc128d844b)) - (Tonye Jack)
|
||||
- Update README.md ([3a74bab](https://github.com/tj-actions/changed-files/commit/3a74bab53cfbfbf63740d9c07df177eb405b40b3)) - (Tonye Jack)
|
||||
- Update test.yml ([f41f9eb](https://github.com/tj-actions/changed-files/commit/f41f9eb54bbb74482ed3b4365a452dc173db9e58)) - (Tonye Jack)
|
||||
- Update README.md ([ea54bfb](https://github.com/tj-actions/changed-files/commit/ea54bfb72aeeff6e4bc4e7d97891be77d83c8e84)) - (Tonye Jack)
|
||||
- Update README.md ([68680cd](https://github.com/tj-actions/changed-files/commit/68680cd505f5759d6aed69b66a071d9e00b6f584)) - (Tonye Jack)
|
||||
|
||||
157
README.md
157
README.md
@@ -1,25 +1,25 @@
|
||||
[](https://docs.github.com/en/actions/reference/workflow-syntax-for-github-actions#jobsjob_idruns-on)
|
||||
[](https://docs.github.com/en/actions/reference/workflow-syntax-for-github-actions#jobsjob_idruns-on)
|
||||
[](https://docs.github.com/en/actions/reference/workflow-syntax-for-github-actions#jobsjob_idruns-on)
|
||||
[](https://github.com/search?o=desc\&q=tj-actions+changed-files+language%3AYAML\&s=\&type=Code)
|
||||
[](https://github.com/search?o=desc\&q=tj-actions+changed-files+language%3AYAML\&s=\&type=Code)
|
||||
|
||||
[](https://app.codacy.com/gh/tj-actions/changed-files/dashboard?utm_source=gh\&utm_medium=referral\&utm_content=\&utm_campaign=Badge_grade)
|
||||
[](https://app.codacy.com/gh/tj-actions/changed-files/dashboard?utm_source=gh\&utm_medium=referral\&utm_content=\&utm_campaign=Badge_grade)
|
||||
[](https://github.com/tj-actions/changed-files/actions/workflows/test.yml)
|
||||
[](https://github.com/tj-actions/changed-files/actions/workflows/sync-release-version.yml)
|
||||
|
||||
<!-- ALL-CONTRIBUTORS-BADGE:START - Do not remove or modify this section -->
|
||||
|
||||
[](#contributors-)
|
||||
[](#contributors-)
|
||||
|
||||
<!-- ALL-CONTRIBUTORS-BADGE:END -->
|
||||
|
||||
## changed-files
|
||||
|
||||
Effortlessly track all changed files and directories relative to a target branch, preceding commit or the last remote commit returning **relative paths** from the project root using this GitHub action.
|
||||
Effortlessly track all changed files and directories relative to a target branch, the current branch (preceding commit or the last remote commit), multiple branches, or custom commits returning **relative paths** from the project root using this GitHub action.
|
||||
|
||||
> \[!NOTE]
|
||||
>
|
||||
> * This action solely identifies files that have changed within the context of events such as `pull_request*`, `push`, and more. However, it doesn't detect pending uncommitted changes created during the workflow execution.
|
||||
> * This action solely identifies files that have changed for events such as [`pull_request*`, `push`, `merge_group`, `release`, and many more](#other-supported-events-electron). However, it doesn't detect pending uncommitted changes created during the workflow execution.
|
||||
>
|
||||
> See: https://github.com/tj-actions/verify-changed-files instead
|
||||
|
||||
@@ -28,7 +28,7 @@ Effortlessly track all changed files and directories relative to a target branch
|
||||
* [Features 🚀](#features-)
|
||||
* [Usage 💻](#usage-)
|
||||
* [On `pull_request` 🔀](#on-pull_request-)
|
||||
* [Using local .git history 📁](#using-local-git-history-)
|
||||
* [Using local .git directory 📁](#using-local-git-directory-)
|
||||
* [Using Github's API :octocat:](#using-githubs-api-octocat)
|
||||
* [On `push` ⬆️](#on-push-️)
|
||||
* [Other supported events :electron:](#other-supported-events-electron)
|
||||
@@ -54,7 +54,7 @@ Effortlessly track all changed files and directories relative to a target branch
|
||||
* Scales to handle large/mono repositories.
|
||||
* Supports Git submodules.
|
||||
* Supports [merge queues](https://docs.github.com/en/repositories/configuring-branches-and-merges-in-your-repository/configuring-pull-request-merges/managing-a-merge-queue) for pull requests.
|
||||
* Generates escaped [JSON output for running matrix jobs](https://github.com/tj-actions/changed-files/blob/main/.github/workflows/matrix-test.yml) based on changed files.
|
||||
* Generates escaped [JSON output for running matrix jobs](https://github.com/tj-actions/changed-files/blob/main/.github/workflows/matrix-example.yml) based on changed files.
|
||||
* Lists changed directories.
|
||||
* Limits matching changed directories to a specified maximum depth.
|
||||
* Optionally excludes the current directory.
|
||||
@@ -97,7 +97,7 @@ Visit the [discussions for more information](https://github.com/tj-actions/chang
|
||||
|
||||
Detect changes to all files in a Pull request relative to the target branch or since the last pushed commit.
|
||||
|
||||
#### Using local .git history 📁
|
||||
#### Using local .git directory 📁
|
||||
|
||||
```yaml
|
||||
name: CI
|
||||
@@ -119,10 +119,12 @@ jobs:
|
||||
with:
|
||||
fetch-depth: 0 # OR "2" -> To retrieve the preceding commit.
|
||||
|
||||
# -----------------------------------------------------------------------------------------------------------
|
||||
# Example 1
|
||||
# -----------------------------------------------------------------------------------------------------------
|
||||
- name: Get changed files
|
||||
id: changed-files
|
||||
uses: tj-actions/changed-files@v41
|
||||
uses: tj-actions/changed-files@v42
|
||||
# To compare changes between the current commit and the last pushed remote commit set `since_last_remote_commit: true`. e.g
|
||||
# with:
|
||||
# since_last_remote_commit: true
|
||||
@@ -131,14 +133,16 @@ jobs:
|
||||
env:
|
||||
ALL_CHANGED_FILES: ${{ steps.changed-files.outputs.all_changed_files }}
|
||||
run: |
|
||||
for file in "$ALL_CHANGED_FILES"; do
|
||||
for file in ${ALL_CHANGED_FILES}; do
|
||||
echo "$file was changed"
|
||||
done
|
||||
|
||||
# -----------------------------------------------------------------------------------------------------------
|
||||
# Example 2
|
||||
# -----------------------------------------------------------------------------------------------------------
|
||||
- name: Get all changed markdown files
|
||||
id: changed-markdown-files
|
||||
uses: tj-actions/changed-files@v41
|
||||
uses: tj-actions/changed-files@v42
|
||||
with:
|
||||
# Avoid using single or double quotes for multiline patterns
|
||||
files: |
|
||||
@@ -149,20 +153,21 @@ jobs:
|
||||
env:
|
||||
ALL_CHANGED_FILES: ${{ steps.changed-markdown-files.outputs.all_changed_files }}
|
||||
run: |
|
||||
for file in "$ALL_CHANGED_FILES"; do
|
||||
for file in ${ALL_CHANGED_FILES}; do
|
||||
echo "$file was changed"
|
||||
done
|
||||
|
||||
# -----------------------------------------------------------------------------------------------------------
|
||||
# Example 3
|
||||
# -----------------------------------------------------------------------------------------------------------
|
||||
- name: Get all test, doc and src files that have changed
|
||||
id: changed-files-yaml
|
||||
uses: tj-actions/changed-files@v41
|
||||
uses: tj-actions/changed-files@v42
|
||||
with:
|
||||
files_yaml: |
|
||||
doc:
|
||||
- '**.md'
|
||||
- docs/**
|
||||
- README.md
|
||||
test:
|
||||
- test/**
|
||||
- '!test/**.md'
|
||||
@@ -187,10 +192,12 @@ jobs:
|
||||
echo "One or more doc file(s) has changed."
|
||||
echo "List all the files that have changed: $DOC_ALL_CHANGED_FILES"
|
||||
|
||||
# Example 3
|
||||
# -----------------------------------------------------------------------------------------------------------
|
||||
# Example 4
|
||||
# -----------------------------------------------------------------------------------------------------------
|
||||
- name: Get changed files in the docs folder
|
||||
id: changed-files-specific
|
||||
uses: tj-actions/changed-files@v41
|
||||
uses: tj-actions/changed-files@v42
|
||||
with:
|
||||
files: docs/*.{js,html} # Alternatively using: `docs/**`
|
||||
files_ignore: docs/static.js
|
||||
@@ -232,13 +239,13 @@ jobs:
|
||||
steps:
|
||||
- name: Get changed files
|
||||
id: changed-files
|
||||
uses: tj-actions/changed-files@v41
|
||||
uses: tj-actions/changed-files@v42
|
||||
|
||||
- name: List all changed files
|
||||
env:
|
||||
ALL_CHANGED_FILES: ${{ steps.changed-files.outputs.all_changed_files }}
|
||||
run: |
|
||||
for file in "$ALL_CHANGED_FILES"; do
|
||||
for file in ${ALL_CHANGED_FILES}; do
|
||||
echo "$file was changed"
|
||||
done
|
||||
```
|
||||
@@ -275,14 +282,14 @@ jobs:
|
||||
|
||||
- name: Get changed files
|
||||
id: changed-files
|
||||
uses: tj-actions/changed-files@v41
|
||||
uses: tj-actions/changed-files@v42
|
||||
# NOTE: `since_last_remote_commit: true` is implied by default and falls back to the previous local commit.
|
||||
|
||||
- name: List all changed files
|
||||
env:
|
||||
ALL_CHANGED_FILES: ${{ steps.changed-files.outputs.all_changed_files }}
|
||||
run: |
|
||||
for file in "$ALL_CHANGED_FILES"; do
|
||||
for file in ${ALL_CHANGED_FILES}; do
|
||||
echo "$file was changed"
|
||||
done
|
||||
...
|
||||
@@ -293,6 +300,7 @@ jobs:
|
||||
* [schedule](https://docs.github.com/en/actions/using-workflows/events-that-trigger-workflows#schedule)
|
||||
* [release](https://docs.github.com/en/actions/using-workflows/events-that-trigger-workflows#release)
|
||||
* [workflow\_dispatch](https://docs.github.com/en/actions/using-workflows/events-that-trigger-workflows#workflow_dispatch)
|
||||
* [workflow\_run](https://docs.github.com/en/actions/using-workflows/events-that-trigger-workflows#workflow_run)
|
||||
* [merge\_group](https://docs.github.com/en/actions/using-workflows/events-that-trigger-workflows#merge_group)
|
||||
* [issue\_comment](https://docs.github.com/en/actions/using-workflows/events-that-trigger-workflows#issue_comment)
|
||||
* ...and many more
|
||||
@@ -313,14 +321,15 @@ Support this project with a :star:
|
||||
>
|
||||
> * When using `files_yaml*` inputs:
|
||||
> * All keys must start with a letter or `_` and contain only alphanumeric characters, `-`, or `_`.
|
||||
> For example, `test` or `test_key` or `tesT-key` are all valid.
|
||||
>
|
||||
> For example, `test` or `test_key` or `test-key` or `_test_key` are all valid.
|
||||
|
||||
## Inputs ⚙️
|
||||
|
||||
<!-- AUTO-DOC-INPUT:START - Do not remove or modify this section -->
|
||||
|
||||
```yaml
|
||||
- uses: tj-actions/changed-files@v41
|
||||
- uses: tj-actions/changed-files@v42
|
||||
id: changed-files
|
||||
with:
|
||||
# Github API URL.
|
||||
@@ -479,11 +488,18 @@ Support this project with a :star:
|
||||
|
||||
# Output list of changed files in a JSON formatted
|
||||
# string which can be used for matrix jobs. Example:
|
||||
# https://github.com/tj-actions/changed-files/blob/main/.github/workflows/matrix-test.yml
|
||||
# https://github.com/tj-actions/changed-files/blob/main/.github/workflows/matrix-example.yml
|
||||
# Type: boolean
|
||||
# Default: "false"
|
||||
json: ''
|
||||
|
||||
# Output changed files in a format that can be
|
||||
# used for matrix jobs. Alias for setting inputs `json`
|
||||
# to `true` and `escape_json` to `false`.
|
||||
# Type: boolean
|
||||
# Default: "false"
|
||||
matrix: ''
|
||||
|
||||
# Apply the negation patterns first. NOTE: This affects how
|
||||
# changed files are matched.
|
||||
# Type: boolean
|
||||
@@ -584,10 +600,10 @@ Support this project with a :star:
|
||||
# Default: "false"
|
||||
since_last_remote_commit: ''
|
||||
|
||||
# Skip the initial fetch to improve performance for shallow
|
||||
# repositories. NOTE: This could lead to errors with missing
|
||||
# history and the intended use is limited to when
|
||||
# you've fetched the history necessary to perform the diff.
|
||||
# Skip initially fetching additional history to improve performance for
|
||||
# shallow repositories. NOTE: This could lead to errors with
|
||||
# missing history. It's intended to be used when you've
|
||||
# fetched all necessary history to perform the diff.
|
||||
# Type: boolean
|
||||
# Default: "false"
|
||||
skip_initial_fetch: ''
|
||||
@@ -603,6 +619,12 @@ Support this project with a :star:
|
||||
# Type: string
|
||||
until: ''
|
||||
|
||||
# Force the use of Github's REST API even when
|
||||
# a local copy of the repository exists
|
||||
# Type: boolean
|
||||
# Default: "false"
|
||||
use_rest_api: ''
|
||||
|
||||
# Write outputs to the `output_dir` defaults to `.github/outputs` folder.
|
||||
# NOTE: This creates a `.txt` file by default and
|
||||
# a `.json` file if `json` is set to `true`.
|
||||
@@ -650,7 +672,7 @@ Support this project with a :star:
|
||||
| <a name="output_all_modified_files_count"></a>[all\_modified\_files\_count](#output_all_modified_files_count) | string | Returns the number of `all_modified_files` |
|
||||
| <a name="output_all_old_new_renamed_files"></a>[all\_old\_new\_renamed\_files](#output_all_old_new_renamed_files) | string | Returns only files that are <br>Renamed and lists their old <br>and new names. **NOTE:** This <br>requires setting `include_all_old_new_renamed_files` to `true`. <br>Also, keep in mind that <br>this output is global and <br>wouldn't be nested in outputs <br>generated when the `*_yaml_*` input <br>is used. (R) |
|
||||
| <a name="output_all_old_new_renamed_files_count"></a>[all\_old\_new\_renamed\_files\_count](#output_all_old_new_renamed_files_count) | string | Returns the number of `all_old_new_renamed_files` |
|
||||
| <a name="output_any_changed"></a>[any\_changed](#output_any_changed) | string | Returns `true` when any of <br>the filenames provided using the <br>`files*` or `files_ignore*` inputs has changed. i.e. <br>*includes a combination of all added, copied, modified and renamed files (ACMR)*. |
|
||||
| <a name="output_any_changed"></a>[any\_changed](#output_any_changed) | string | Returns `true` when any of <br>the filenames provided using the <br>`files*` or `files_ignore*` inputs have changed. i.e. <br>*includes a combination of all added, copied, modified and renamed files (ACMR)*. |
|
||||
| <a name="output_any_deleted"></a>[any\_deleted](#output_any_deleted) | string | Returns `true` when any of <br>the filenames provided using the <br>`files*` or `files_ignore*` inputs has been deleted. <br>(D) |
|
||||
| <a name="output_any_modified"></a>[any\_modified](#output_any_modified) | string | Returns `true` when any of <br>the filenames provided using the <br>`files*` or `files_ignore*` inputs has been modified. <br>i.e. *includes a combination of all added, copied, modified, renamed, and deleted files (ACMRD)*. |
|
||||
| <a name="output_changed_keys"></a>[changed\_keys](#output_changed_keys) | string | Returns all changed YAML keys <br>when the `files_yaml` input is <br>used. i.e. *key that contains any path that has either been added, copied, modified, and renamed (ACMR)* |
|
||||
@@ -661,7 +683,7 @@ Support this project with a :star:
|
||||
| <a name="output_modified_files"></a>[modified\_files](#output_modified_files) | string | Returns only files that are <br>Modified (M). |
|
||||
| <a name="output_modified_files_count"></a>[modified\_files\_count](#output_modified_files_count) | string | Returns the number of `modified_files` |
|
||||
| <a name="output_modified_keys"></a>[modified\_keys](#output_modified_keys) | string | Returns all modified YAML keys <br>when the `files_yaml` input is <br>used. i.e. *key that contains any path that has either been added, copied, modified, and deleted (ACMRD)* |
|
||||
| <a name="output_only_changed"></a>[only\_changed](#output_only_changed) | string | Returns `true` when only files <br>provided using the `files*` or `files_ignore*` inputs <br>has changed. i.e. *includes a combination of all added, copied, modified and renamed files (ACMR)*. |
|
||||
| <a name="output_only_changed"></a>[only\_changed](#output_only_changed) | string | Returns `true` when only files <br>provided using the `files*` or `files_ignore*` inputs <br>have changed. i.e. *includes a combination of all added, copied, modified and renamed files (ACMR)*. |
|
||||
| <a name="output_only_deleted"></a>[only\_deleted](#output_only_deleted) | string | Returns `true` when only files <br>provided using the `files*` or `files_ignore*` inputs <br>has been deleted. (D) |
|
||||
| <a name="output_only_modified"></a>[only\_modified](#output_only_modified) | string | Returns `true` when only files <br>provided using the `files*` or `files_ignore*` inputs <br>has been modified. (ACMRD). |
|
||||
| <a name="output_other_changed_files"></a>[other\_changed\_files](#output_other_changed_files) | string | Returns all other changed files <br>not listed in the files <br>input i.e. *includes a combination of all added, copied, modified and renamed files (ACMR)*. |
|
||||
@@ -702,7 +724,7 @@ The format of the version string is as follows:
|
||||
...
|
||||
- name: Get changed files
|
||||
id: changed-files
|
||||
uses: tj-actions/changed-files@v41
|
||||
uses: tj-actions/changed-files@v42
|
||||
...
|
||||
```
|
||||
|
||||
@@ -715,7 +737,7 @@ The format of the version string is as follows:
|
||||
...
|
||||
- name: Get changed files
|
||||
id: changed-files
|
||||
uses: tj-actions/changed-files@v41
|
||||
uses: tj-actions/changed-files@v42
|
||||
with:
|
||||
safe_output: false # set to false because we are using an environment variable to store the output and avoid command injection.
|
||||
|
||||
@@ -723,7 +745,7 @@ The format of the version string is as follows:
|
||||
env:
|
||||
ADDED_FILES: ${{ steps.changed-files.outputs.added_files }}
|
||||
run: |
|
||||
for file in "$ADDED_FILES"; do
|
||||
for file in ${ADDED_FILES}; do
|
||||
echo "$file was added"
|
||||
done
|
||||
...
|
||||
@@ -738,7 +760,7 @@ The format of the version string is as follows:
|
||||
...
|
||||
- name: Get all changed files and use a comma separator in the output
|
||||
id: changed-files
|
||||
uses: tj-actions/changed-files@v41
|
||||
uses: tj-actions/changed-files@v42
|
||||
with:
|
||||
separator: ","
|
||||
...
|
||||
@@ -755,13 +777,13 @@ See [inputs](#inputs) for more information.
|
||||
...
|
||||
- name: Get changed files
|
||||
id: changed-files
|
||||
uses: tj-actions/changed-files@v41
|
||||
uses: tj-actions/changed-files@v42
|
||||
|
||||
- name: List all added files
|
||||
env:
|
||||
ADDED_FILES: ${{ steps.changed-files.outputs.added_files }}
|
||||
run: |
|
||||
for file in "$ADDED_FILES"; do
|
||||
for file in ${ADDED_FILES}; do
|
||||
echo "$file was added"
|
||||
done
|
||||
...
|
||||
@@ -778,7 +800,7 @@ See [outputs](#outputs) for a list of all available outputs.
|
||||
...
|
||||
- name: Get changed files
|
||||
id: changed-files
|
||||
uses: tj-actions/changed-files@v41
|
||||
uses: tj-actions/changed-files@v42
|
||||
|
||||
- name: Run a step if my-file.txt was modified
|
||||
if: contains(steps.changed-files.outputs.modified_files, 'my-file.txt')
|
||||
@@ -799,7 +821,7 @@ See [outputs](#outputs) for a list of all available outputs.
|
||||
|
||||
- name: Get changed files and write the outputs to a Txt file
|
||||
id: changed-files-write-output-files-txt
|
||||
uses: tj-actions/changed-files@v41
|
||||
uses: tj-actions/changed-files@v42
|
||||
with:
|
||||
write_output_files: true
|
||||
|
||||
@@ -818,7 +840,7 @@ See [outputs](#outputs) for a list of all available outputs.
|
||||
...
|
||||
- name: Get changed files and write the outputs to a JSON file
|
||||
id: changed-files-write-output-files-json
|
||||
uses: tj-actions/changed-files@v41
|
||||
uses: tj-actions/changed-files@v42
|
||||
with:
|
||||
json: true
|
||||
write_output_files: true
|
||||
@@ -838,7 +860,7 @@ See [outputs](#outputs) for a list of all available outputs.
|
||||
...
|
||||
- name: Get changed files
|
||||
id: changed-files
|
||||
uses: tj-actions/changed-files@v41
|
||||
uses: tj-actions/changed-files@v42
|
||||
with:
|
||||
files: |
|
||||
my-file.txt
|
||||
@@ -861,7 +883,7 @@ See [inputs](#inputs) for more information.
|
||||
...
|
||||
- name: Get changed files
|
||||
id: changed-files-specific
|
||||
uses: tj-actions/changed-files@v41
|
||||
uses: tj-actions/changed-files@v42
|
||||
with:
|
||||
files: |
|
||||
my-file.txt
|
||||
@@ -886,7 +908,7 @@ See [inputs](#inputs) for more information.
|
||||
env:
|
||||
DELETED_FILES: ${{ steps.changed-files-specific.outputs.deleted_files }}
|
||||
run: |
|
||||
for file in "$DELETED_FILES"; do
|
||||
for file in ${DELETED_FILES}; do
|
||||
echo "$file was deleted"
|
||||
done
|
||||
|
||||
@@ -895,7 +917,7 @@ See [inputs](#inputs) for more information.
|
||||
env:
|
||||
DELETED_FILES: ${{ steps.changed-files-specific.outputs.deleted_files }}
|
||||
run: |
|
||||
for file in "$DELETED_FILES"; do
|
||||
for file in ${DELETED_FILES}; do
|
||||
echo "$file was deleted"
|
||||
done
|
||||
...
|
||||
@@ -912,7 +934,7 @@ See [outputs](#outputs) for a list of all available outputs.
|
||||
...
|
||||
- name: Get changed files using a source file or list of file(s) to populate to files input.
|
||||
id: changed-files-specific-source-file
|
||||
uses: tj-actions/changed-files@v41
|
||||
uses: tj-actions/changed-files@v42
|
||||
with:
|
||||
files_from_source_file: test/changed-files-list.txt
|
||||
...
|
||||
@@ -929,7 +951,7 @@ See [inputs](#inputs) for more information.
|
||||
...
|
||||
- name: Get changed files using a source file or list of file(s) to populate to files input and optionally specify more files.
|
||||
id: changed-files-specific-source-file-and-specify-files
|
||||
uses: tj-actions/changed-files@v41
|
||||
uses: tj-actions/changed-files@v42
|
||||
with:
|
||||
files_from_source_file: |
|
||||
test/changed-files-list.txt
|
||||
@@ -950,7 +972,7 @@ See [inputs](#inputs) for more information.
|
||||
...
|
||||
- name: Get changed files using a different SHA
|
||||
id: changed-files
|
||||
uses: tj-actions/changed-files@v41
|
||||
uses: tj-actions/changed-files@v42
|
||||
with:
|
||||
sha: ${{ github.event.pull_request.head.sha }}
|
||||
...
|
||||
@@ -967,7 +989,7 @@ See [inputs](#inputs) for more information.
|
||||
...
|
||||
- name: Get changed files using a different base SHA
|
||||
id: changed-files
|
||||
uses: tj-actions/changed-files@v41
|
||||
uses: tj-actions/changed-files@v42
|
||||
with:
|
||||
base_sha: ${{ github.event.pull_request.base.sha }}
|
||||
...
|
||||
@@ -999,13 +1021,18 @@ jobs:
|
||||
|
||||
- name: Get changed files
|
||||
id: changed-files
|
||||
uses: tj-actions/changed-files@v41
|
||||
uses: tj-actions/changed-files@v42
|
||||
|
||||
- name: List changed files
|
||||
env:
|
||||
ALL_CHANGED_FILES: ${{ steps.changed-files.outputs.all_changed_files }}
|
||||
run: |
|
||||
echo "List all the files that have changed: $ALL_CHANGED_FILES"
|
||||
|
||||
- name: Get changed files in the .github folder
|
||||
id: changed-files-specific
|
||||
uses: tj-actions/changed-files@v41
|
||||
uses: tj-actions/changed-files@v42
|
||||
with:
|
||||
base_sha: ${{ steps.get-base-sha.outputs.base_sha }}
|
||||
files: .github/**
|
||||
|
||||
- name: Run step if any file(s) in the .github folder change
|
||||
@@ -1035,7 +1062,7 @@ See [inputs](#inputs) for more information.
|
||||
|
||||
- name: Run changed-files with defaults in dir1
|
||||
id: changed-files-for-dir1
|
||||
uses: tj-actions/changed-files@v41
|
||||
uses: tj-actions/changed-files@v42
|
||||
with:
|
||||
path: dir1
|
||||
|
||||
@@ -1044,7 +1071,7 @@ See [inputs](#inputs) for more information.
|
||||
ADDED_FILES: |-
|
||||
${{ steps.changed-files-for-dir1.outputs.added_files }}
|
||||
run: |
|
||||
for file in "$ADDED_FILES"; do
|
||||
for file in ${ADDED_FILES}; do
|
||||
echo "$file was added"
|
||||
done
|
||||
...
|
||||
@@ -1061,13 +1088,13 @@ See [inputs](#inputs) for more information.
|
||||
...
|
||||
- name: Run changed-files with quotepath disabled
|
||||
id: changed-files-quotepath
|
||||
uses: tj-actions/changed-files@v41
|
||||
uses: tj-actions/changed-files@v42
|
||||
with:
|
||||
quotepath: "false"
|
||||
|
||||
- name: Run changed-files with quotepath disabled for a specified list of file(s)
|
||||
id: changed-files-quotepath-specific
|
||||
uses: tj-actions/changed-files@v41
|
||||
uses: tj-actions/changed-files@v42
|
||||
with:
|
||||
files: test/test-è.txt
|
||||
quotepath: "false"
|
||||
@@ -1100,7 +1127,7 @@ See [inputs](#inputs) for more information.
|
||||
|
||||
- name: Run changed-files with the commit of the last successful test workflow run
|
||||
id: changed-files-base-sha-push
|
||||
uses: tj-actions/changed-files@v41
|
||||
uses: tj-actions/changed-files@v42
|
||||
with:
|
||||
base_sha: ${{ steps.last_successful_commit_push.outputs.base }}
|
||||
...
|
||||
@@ -1127,7 +1154,7 @@ See [inputs](#inputs) for more information.
|
||||
|
||||
- name: Run changed-files with the commit of the last successful test workflow run on the main branch
|
||||
id: changed-files-base-sha-pull-request
|
||||
uses: tj-actions/changed-files@v41
|
||||
uses: tj-actions/changed-files@v42
|
||||
with:
|
||||
base_sha: ${{ steps.last_successful_commit_pull_request.outputs.base }}
|
||||
...
|
||||
@@ -1153,7 +1180,7 @@ See [inputs](#inputs) for more information.
|
||||
...
|
||||
- name: Run changed-files with dir_names
|
||||
id: changed-files-dir-names
|
||||
uses: tj-actions/changed-files@v41
|
||||
uses: tj-actions/changed-files@v42
|
||||
with:
|
||||
dir_names: "true"
|
||||
...
|
||||
@@ -1170,7 +1197,7 @@ See [inputs](#inputs) for more information.
|
||||
...
|
||||
- name: Run changed-files with JSON output
|
||||
id: changed-files-json
|
||||
uses: tj-actions/changed-files@v41
|
||||
uses: tj-actions/changed-files@v42
|
||||
with:
|
||||
json: "true"
|
||||
...
|
||||
@@ -1187,13 +1214,13 @@ See [inputs](#inputs) for more information.
|
||||
...
|
||||
- name: Get changed-files since 2022-08-19
|
||||
id: changed-files-since
|
||||
uses: tj-actions/changed-files@v41
|
||||
uses: tj-actions/changed-files@v42
|
||||
with:
|
||||
since: "2022-08-19"
|
||||
|
||||
- name: Get changed-files until 2022-08-20
|
||||
id: changed-files-until
|
||||
uses: tj-actions/changed-files@v41
|
||||
uses: tj-actions/changed-files@v42
|
||||
with:
|
||||
until: "2022-08-20"
|
||||
...
|
||||
@@ -1213,7 +1240,7 @@ See [inputs](#inputs) for more information.
|
||||
|
||||
* [coder/code-server: uses tj-actions/changed-files to automate detecting changes and run steps based on the outcome](https://github.com/coder/code-server/blob/c32a31d802f679846876b8ad9aacff6cf7b5361d/.github/workflows/build.yaml#L48)
|
||||
|
||||
* [tldr-pages/tldr: uses tj-actions/changed-files to automate detecting spelling errors](https://github.com/tldr-pages/tldr/blob/main/.github/workflows/codespell.yml#L14)
|
||||
* [tldr-pages/tldr: uses tj-actions/changed-files to automate detecting spelling errors](https://github.com/tldr-pages/tldr/blob/c1b714c55cb0048037b79a681a10d7f3ddb0164c/.github/workflows/codespell.yml#L18-L26)
|
||||
|
||||
* [nodejs/docker-node: uses tj-actions/changed-files to generate matrix jobs based on changes detected](https://github.com/nodejs/docker-node/blob/3c4fa6daf06a4786d202f2f610351837806a0380/.github/workflows/build-test.yml#L29)
|
||||
|
||||
@@ -1221,10 +1248,14 @@ See [inputs](#inputs) for more information.
|
||||
|
||||
* [aws-doc-sdk-examples: uses tj-actions/changed-files to automate testing](https://github.com/awsdocs/aws-doc-sdk-examples/blob/2393723ef6b0cad9502f4852f5c72f7be58ca89d/.github/workflows/javascript.yml#L22)
|
||||
|
||||
* [nhost: uses tj-actions/changed-files to automate testing based on changes detected](https://github.com/nhost/nhost/blob/main/.github/workflows/ci.yaml#L44-L48)
|
||||
* [nhost: uses tj-actions/changed-files to automate testing based on changes detected](https://github.com/nhost/nhost/blob/71a8ce444618a8ac4d660518172fba4883c4014b/.github/workflows/ci.yaml#L44-L48)
|
||||
|
||||
* [qmk\_firmware uses tj-actions/changed-files to run linters](https://github.com/qmk/qmk_firmware/blob/7a737235ffd49c32d2c5561e8fe53fd96baa7f96/.github/workflows/lint.yml#L30)
|
||||
|
||||
* [argo-cd uses tj-actions/chnaged-files to detect changed frontend or backend files](https://github.com/argoproj/argo-cd/blob/5bc1850aa1d26301043be9f2fb825d88c80c111c/.github/workflows/ci-build.yaml#L33)
|
||||
|
||||
* [argo-workflows uses tj-actions/changed-files to run specific jobs based on changes detected](https://github.com/argoproj/argo-workflows/blob/baef4856ff2603c76dbe277c825eaa3f9788fc91/.github/workflows/ci-build.yaml#L34)
|
||||
|
||||
And many more...
|
||||
|
||||
### Scalability Example 📈
|
||||
@@ -1322,6 +1353,10 @@ Thanks goes to these wonderful people ([emoji key](https://allcontributors.org/d
|
||||
</tr>
|
||||
<tr>
|
||||
<td align="center" valign="top" width="14.28%"><a href="https://github.com/rodrigorfk"><img src="https://avatars.githubusercontent.com/u/1995033?v=4?s=100" width="100px;" alt="Rodrigo Fior Kuntzer"/><br /><sub><b>Rodrigo Fior Kuntzer</b></sub></a><br /><a href="https://github.com/tj-actions/changed-files/commits?author=rodrigorfk" title="Code">💻</a> <a href="https://github.com/tj-actions/changed-files/commits?author=rodrigorfk" title="Tests">⚠️</a> <a href="https://github.com/tj-actions/changed-files/issues?q=author%3Arodrigorfk" title="Bug reports">🐛</a></td>
|
||||
<td align="center" valign="top" width="14.28%"><a href="https://github.com/levenleven"><img src="https://avatars.githubusercontent.com/u/6463364?v=4?s=100" width="100px;" alt="Aleksey Levenstein"/><br /><sub><b>Aleksey Levenstein</b></sub></a><br /><a href="https://github.com/tj-actions/changed-files/commits?author=levenleven" title="Documentation">📖</a></td>
|
||||
<td align="center" valign="top" width="14.28%"><a href="https://github.com/dan-hill2802"><img src="https://avatars.githubusercontent.com/u/5046322?v=4?s=100" width="100px;" alt="Daniel Hill"/><br /><sub><b>Daniel Hill</b></sub></a><br /><a href="https://github.com/tj-actions/changed-files/commits?author=dan-hill2802" title="Documentation">📖</a></td>
|
||||
<td align="center" valign="top" width="14.28%"><a href="https://keisukeyamashita.com"><img src="https://avatars.githubusercontent.com/u/23056537?v=4?s=100" width="100px;" alt="KeisukeYamashita"/><br /><sub><b>KeisukeYamashita</b></sub></a><br /><a href="https://github.com/tj-actions/changed-files/commits?author=KeisukeYamashita" title="Documentation">📖</a></td>
|
||||
<td align="center" valign="top" width="14.28%"><a href="https://github.com/codesculpture"><img src="https://avatars.githubusercontent.com/u/63452117?v=4?s=100" width="100px;" alt="Aravind"/><br /><sub><b>Aravind</b></sub></a><br /><a href="https://github.com/tj-actions/changed-files/commits?author=codesculpture" title="Code">💻</a> <a href="https://github.com/tj-actions/changed-files/issues?q=author%3Acodesculpture" title="Bug reports">🐛</a></td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
|
||||
18
action.yml
18
action.yml
@@ -127,7 +127,7 @@ inputs:
|
||||
required: false
|
||||
default: "false"
|
||||
json:
|
||||
description: "Output list of changed files in a JSON formatted string which can be used for matrix jobs. Example: https://github.com/tj-actions/changed-files/blob/main/.github/workflows/matrix-test.yml"
|
||||
description: "Output list of changed files in a JSON formatted string which can be used for matrix jobs. Example: https://github.com/tj-actions/changed-files/blob/main/.github/workflows/matrix-example.yml"
|
||||
required: false
|
||||
default: "false"
|
||||
escape_json:
|
||||
@@ -144,8 +144,8 @@ inputs:
|
||||
default: "50"
|
||||
skip_initial_fetch:
|
||||
description: |
|
||||
Skip the initial fetch to improve performance for shallow repositories.
|
||||
NOTE: This could lead to errors with missing history and the intended use is limited to when you've fetched the history necessary to perform the diff.
|
||||
Skip initially fetching additional history to improve performance for shallow repositories.
|
||||
NOTE: This could lead to errors with missing history. It's intended to be used when you've fetched all necessary history to perform the diff.
|
||||
required: false
|
||||
default: "false"
|
||||
fetch_additional_submodule_history:
|
||||
@@ -203,6 +203,10 @@ inputs:
|
||||
description: "Github API URL."
|
||||
required: false
|
||||
default: ${{ github.api_url }}
|
||||
use_rest_api:
|
||||
description: "Force the use of Github's REST API even when a local copy of the repository exists"
|
||||
required: false
|
||||
default: "false"
|
||||
fail_on_initial_diff_error:
|
||||
description: "Fail when the initial diff fails."
|
||||
required: false
|
||||
@@ -215,6 +219,10 @@ inputs:
|
||||
description: "Apply the negation patterns first. NOTE: This affects how changed files are matched."
|
||||
required: false
|
||||
default: "false"
|
||||
matrix:
|
||||
description: "Output changed files in a format that can be used for matrix jobs. Alias for setting inputs `json` to `true` and `escape_json` to `false`."
|
||||
required: false
|
||||
default: "false"
|
||||
|
||||
outputs:
|
||||
added_files:
|
||||
@@ -262,9 +270,9 @@ outputs:
|
||||
all_changed_files_count:
|
||||
description: "Returns the number of `all_changed_files`"
|
||||
any_changed:
|
||||
description: "Returns `true` when any of the filenames provided using the `files*` or `files_ignore*` inputs has changed. i.e. *includes a combination of all added, copied, modified and renamed files (ACMR)*."
|
||||
description: "Returns `true` when any of the filenames provided using the `files*` or `files_ignore*` inputs have changed. i.e. *includes a combination of all added, copied, modified and renamed files (ACMR)*."
|
||||
only_changed:
|
||||
description: "Returns `true` when only files provided using the `files*` or `files_ignore*` inputs has changed. i.e. *includes a combination of all added, copied, modified and renamed files (ACMR)*."
|
||||
description: "Returns `true` when only files provided using the `files*` or `files_ignore*` inputs have changed. i.e. *includes a combination of all added, copied, modified and renamed files (ACMR)*."
|
||||
other_changed_files:
|
||||
description: "Returns all other changed files not listed in the files input i.e. *includes a combination of all added, copied, modified and renamed files (ACMR)*."
|
||||
other_changed_files_count:
|
||||
|
||||
539
dist/index.js
generated
vendored
539
dist/index.js
generated
vendored
File diff suppressed because it is too large
Load Diff
2
dist/index.js.map
generated
vendored
2
dist/index.js.map
generated
vendored
File diff suppressed because one or more lines are too long
@@ -10,4 +10,4 @@ module.exports = {
|
||||
setupFiles: [
|
||||
"<rootDir>/jest/setupEnv.cjs"
|
||||
]
|
||||
}
|
||||
};
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@tj-actions/changed-files",
|
||||
"version": "41.0.0",
|
||||
"version": "42.0.7",
|
||||
"description": "Github action to retrieve all (added, copied, modified, deleted, renamed, type changed, unmerged, unknown) files and directories.",
|
||||
"main": "lib/main.js",
|
||||
"publishConfig": {
|
||||
@@ -46,8 +46,8 @@
|
||||
"@types/micromatch": "^4.0.2",
|
||||
"@types/node": "^20.3.2",
|
||||
"@types/uuid": "^9.0.2",
|
||||
"@typescript-eslint/eslint-plugin": "^6.0.0",
|
||||
"@typescript-eslint/parser": "^6.0.0",
|
||||
"@typescript-eslint/eslint-plugin": "^7.0.0",
|
||||
"@typescript-eslint/parser": "^7.0.0",
|
||||
"@vercel/ncc": "^0.38.0",
|
||||
"eslint": "^8.43.0",
|
||||
"eslint-plugin-github": "^4.8.0",
|
||||
|
||||
343
src/__tests__/__snapshots__/inputs.test.ts.snap
Normal file
343
src/__tests__/__snapshots__/inputs.test.ts.snap
Normal file
@@ -0,0 +1,343 @@
|
||||
// Jest Snapshot v1, https://goo.gl/fbAQLP
|
||||
|
||||
exports[`getInputs should correctly parse boolean inputs 1`] = `
|
||||
{
|
||||
"apiUrl": undefined,
|
||||
"baseSha": undefined,
|
||||
"diffRelative": "false",
|
||||
"dirNames": "false",
|
||||
"dirNamesDeletedFilesIncludeOnlyDeletedDirs": "false",
|
||||
"dirNamesExcludeCurrentDir": "false",
|
||||
"dirNamesIncludeFiles": undefined,
|
||||
"dirNamesIncludeFilesSeparator": undefined,
|
||||
"escapeJson": false,
|
||||
"failOnInitialDiffError": "false",
|
||||
"failOnSubmoduleDiffError": "false",
|
||||
"fetchAdditionalSubmoduleHistory": "false",
|
||||
"files": undefined,
|
||||
"filesFromSourceFile": undefined,
|
||||
"filesFromSourceFileSeparator": undefined,
|
||||
"filesIgnore": undefined,
|
||||
"filesIgnoreFromSourceFile": undefined,
|
||||
"filesIgnoreFromSourceFileSeparator": undefined,
|
||||
"filesIgnoreSeparator": undefined,
|
||||
"filesIgnoreYaml": undefined,
|
||||
"filesIgnoreYamlFromSourceFile": undefined,
|
||||
"filesIgnoreYamlFromSourceFileSeparator": undefined,
|
||||
"filesSeparator": undefined,
|
||||
"filesYaml": undefined,
|
||||
"filesYamlFromSourceFile": undefined,
|
||||
"filesYamlFromSourceFileSeparator": undefined,
|
||||
"includeAllOldNewRenamedFiles": "false",
|
||||
"json": true,
|
||||
"negationPatternsFirst": "false",
|
||||
"oldNewFilesSeparator": undefined,
|
||||
"oldNewSeparator": undefined,
|
||||
"outputDir": undefined,
|
||||
"outputRenamedFilesAsDeletedAndAdded": "false",
|
||||
"path": undefined,
|
||||
"quotepath": "false",
|
||||
"recoverDeletedFiles": "false",
|
||||
"recoverDeletedFilesToDestination": undefined,
|
||||
"recoverFiles": undefined,
|
||||
"recoverFilesIgnore": undefined,
|
||||
"recoverFilesIgnoreSeparator": undefined,
|
||||
"recoverFilesSeparator": undefined,
|
||||
"safeOutput": "false",
|
||||
"separator": undefined,
|
||||
"sha": undefined,
|
||||
"since": undefined,
|
||||
"sinceLastRemoteCommit": "false",
|
||||
"skipInitialFetch": "true",
|
||||
"token": undefined,
|
||||
"until": undefined,
|
||||
"useRestApi": "false",
|
||||
"writeOutputFiles": "false",
|
||||
}
|
||||
`;
|
||||
|
||||
exports[`getInputs should correctly parse numeric inputs 1`] = `
|
||||
{
|
||||
"apiUrl": "",
|
||||
"baseSha": "",
|
||||
"diffRelative": true,
|
||||
"dirNames": false,
|
||||
"dirNamesDeletedFilesIncludeOnlyDeletedDirs": false,
|
||||
"dirNamesExcludeCurrentDir": false,
|
||||
"dirNamesIncludeFiles": "",
|
||||
"dirNamesIncludeFilesSeparator": "",
|
||||
"dirNamesMaxDepth": 2,
|
||||
"escapeJson": false,
|
||||
"failOnInitialDiffError": false,
|
||||
"failOnSubmoduleDiffError": false,
|
||||
"fetchAdditionalSubmoduleHistory": false,
|
||||
"fetchDepth": 5,
|
||||
"files": "",
|
||||
"filesFromSourceFile": "",
|
||||
"filesFromSourceFileSeparator": "",
|
||||
"filesIgnore": "",
|
||||
"filesIgnoreFromSourceFile": "",
|
||||
"filesIgnoreFromSourceFileSeparator": "",
|
||||
"filesIgnoreSeparator": "",
|
||||
"filesIgnoreYaml": "",
|
||||
"filesIgnoreYamlFromSourceFile": "",
|
||||
"filesIgnoreYamlFromSourceFileSeparator": "",
|
||||
"filesSeparator": "",
|
||||
"filesYaml": "",
|
||||
"filesYamlFromSourceFile": "",
|
||||
"filesYamlFromSourceFileSeparator": "",
|
||||
"includeAllOldNewRenamedFiles": false,
|
||||
"json": false,
|
||||
"negationPatternsFirst": false,
|
||||
"oldNewFilesSeparator": "",
|
||||
"oldNewSeparator": "",
|
||||
"outputDir": "",
|
||||
"outputRenamedFilesAsDeletedAndAdded": false,
|
||||
"path": "",
|
||||
"quotepath": true,
|
||||
"recoverDeletedFiles": false,
|
||||
"recoverDeletedFilesToDestination": "",
|
||||
"recoverFiles": "",
|
||||
"recoverFilesIgnore": "",
|
||||
"recoverFilesIgnoreSeparator": "",
|
||||
"recoverFilesSeparator": "",
|
||||
"safeOutput": false,
|
||||
"separator": "",
|
||||
"sha": "",
|
||||
"since": "",
|
||||
"sinceLastRemoteCommit": false,
|
||||
"skipInitialFetch": false,
|
||||
"token": "",
|
||||
"until": "",
|
||||
"useRestApi": false,
|
||||
"writeOutputFiles": false,
|
||||
}
|
||||
`;
|
||||
|
||||
exports[`getInputs should correctly parse string inputs 1`] = `
|
||||
{
|
||||
"apiUrl": "https://api.github.com",
|
||||
"baseSha": "",
|
||||
"diffRelative": true,
|
||||
"dirNames": false,
|
||||
"dirNamesDeletedFilesIncludeOnlyDeletedDirs": false,
|
||||
"dirNamesExcludeCurrentDir": false,
|
||||
"dirNamesIncludeFiles": "",
|
||||
"dirNamesIncludeFilesSeparator": "",
|
||||
"escapeJson": false,
|
||||
"failOnInitialDiffError": false,
|
||||
"failOnSubmoduleDiffError": false,
|
||||
"fetchAdditionalSubmoduleHistory": false,
|
||||
"files": "",
|
||||
"filesFromSourceFile": "",
|
||||
"filesFromSourceFileSeparator": "",
|
||||
"filesIgnore": "",
|
||||
"filesIgnoreFromSourceFile": "",
|
||||
"filesIgnoreFromSourceFileSeparator": "",
|
||||
"filesIgnoreSeparator": "",
|
||||
"filesIgnoreYaml": "",
|
||||
"filesIgnoreYamlFromSourceFile": "",
|
||||
"filesIgnoreYamlFromSourceFileSeparator": "",
|
||||
"filesSeparator": "",
|
||||
"filesYaml": "",
|
||||
"filesYamlFromSourceFile": "",
|
||||
"filesYamlFromSourceFileSeparator": "",
|
||||
"includeAllOldNewRenamedFiles": false,
|
||||
"json": false,
|
||||
"negationPatternsFirst": false,
|
||||
"oldNewFilesSeparator": "",
|
||||
"oldNewSeparator": "",
|
||||
"outputDir": "",
|
||||
"outputRenamedFilesAsDeletedAndAdded": false,
|
||||
"path": "",
|
||||
"quotepath": true,
|
||||
"recoverDeletedFiles": false,
|
||||
"recoverDeletedFilesToDestination": "",
|
||||
"recoverFiles": "",
|
||||
"recoverFilesIgnore": "",
|
||||
"recoverFilesIgnoreSeparator": "",
|
||||
"recoverFilesSeparator": "",
|
||||
"safeOutput": false,
|
||||
"separator": "",
|
||||
"sha": "",
|
||||
"since": "",
|
||||
"sinceLastRemoteCommit": false,
|
||||
"skipInitialFetch": false,
|
||||
"token": "token",
|
||||
"until": "",
|
||||
"useRestApi": false,
|
||||
"writeOutputFiles": false,
|
||||
}
|
||||
`;
|
||||
|
||||
exports[`getInputs should handle invalid numeric inputs correctly 1`] = `
|
||||
{
|
||||
"apiUrl": "",
|
||||
"baseSha": "",
|
||||
"diffRelative": true,
|
||||
"dirNames": false,
|
||||
"dirNamesDeletedFilesIncludeOnlyDeletedDirs": false,
|
||||
"dirNamesExcludeCurrentDir": false,
|
||||
"dirNamesIncludeFiles": "",
|
||||
"dirNamesIncludeFilesSeparator": "",
|
||||
"dirNamesMaxDepth": 2,
|
||||
"escapeJson": false,
|
||||
"failOnInitialDiffError": false,
|
||||
"failOnSubmoduleDiffError": false,
|
||||
"fetchAdditionalSubmoduleHistory": false,
|
||||
"fetchDepth": NaN,
|
||||
"files": "",
|
||||
"filesFromSourceFile": "",
|
||||
"filesFromSourceFileSeparator": "",
|
||||
"filesIgnore": "",
|
||||
"filesIgnoreFromSourceFile": "",
|
||||
"filesIgnoreFromSourceFileSeparator": "",
|
||||
"filesIgnoreSeparator": "",
|
||||
"filesIgnoreYaml": "",
|
||||
"filesIgnoreYamlFromSourceFile": "",
|
||||
"filesIgnoreYamlFromSourceFileSeparator": "",
|
||||
"filesSeparator": "",
|
||||
"filesYaml": "",
|
||||
"filesYamlFromSourceFile": "",
|
||||
"filesYamlFromSourceFileSeparator": "",
|
||||
"includeAllOldNewRenamedFiles": false,
|
||||
"json": false,
|
||||
"negationPatternsFirst": false,
|
||||
"oldNewFilesSeparator": "",
|
||||
"oldNewSeparator": "",
|
||||
"outputDir": "",
|
||||
"outputRenamedFilesAsDeletedAndAdded": false,
|
||||
"path": "",
|
||||
"quotepath": true,
|
||||
"recoverDeletedFiles": false,
|
||||
"recoverDeletedFilesToDestination": "",
|
||||
"recoverFiles": "",
|
||||
"recoverFilesIgnore": "",
|
||||
"recoverFilesIgnoreSeparator": "",
|
||||
"recoverFilesSeparator": "",
|
||||
"safeOutput": false,
|
||||
"separator": "",
|
||||
"sha": "",
|
||||
"since": "",
|
||||
"sinceLastRemoteCommit": false,
|
||||
"skipInitialFetch": false,
|
||||
"token": "",
|
||||
"until": "",
|
||||
"useRestApi": false,
|
||||
"writeOutputFiles": false,
|
||||
}
|
||||
`;
|
||||
|
||||
exports[`getInputs should handle negative numeric inputs correctly 1`] = `
|
||||
{
|
||||
"apiUrl": "",
|
||||
"baseSha": "",
|
||||
"diffRelative": true,
|
||||
"dirNames": false,
|
||||
"dirNamesDeletedFilesIncludeOnlyDeletedDirs": false,
|
||||
"dirNamesExcludeCurrentDir": false,
|
||||
"dirNamesIncludeFiles": "",
|
||||
"dirNamesIncludeFilesSeparator": "",
|
||||
"dirNamesMaxDepth": -2,
|
||||
"escapeJson": false,
|
||||
"failOnInitialDiffError": false,
|
||||
"failOnSubmoduleDiffError": false,
|
||||
"fetchAdditionalSubmoduleHistory": false,
|
||||
"fetchDepth": 2,
|
||||
"files": "",
|
||||
"filesFromSourceFile": "",
|
||||
"filesFromSourceFileSeparator": "",
|
||||
"filesIgnore": "",
|
||||
"filesIgnoreFromSourceFile": "",
|
||||
"filesIgnoreFromSourceFileSeparator": "",
|
||||
"filesIgnoreSeparator": "",
|
||||
"filesIgnoreYaml": "",
|
||||
"filesIgnoreYamlFromSourceFile": "",
|
||||
"filesIgnoreYamlFromSourceFileSeparator": "",
|
||||
"filesSeparator": "",
|
||||
"filesYaml": "",
|
||||
"filesYamlFromSourceFile": "",
|
||||
"filesYamlFromSourceFileSeparator": "",
|
||||
"includeAllOldNewRenamedFiles": false,
|
||||
"json": false,
|
||||
"negationPatternsFirst": false,
|
||||
"oldNewFilesSeparator": "",
|
||||
"oldNewSeparator": "",
|
||||
"outputDir": "",
|
||||
"outputRenamedFilesAsDeletedAndAdded": false,
|
||||
"path": "",
|
||||
"quotepath": true,
|
||||
"recoverDeletedFiles": false,
|
||||
"recoverDeletedFilesToDestination": "",
|
||||
"recoverFiles": "",
|
||||
"recoverFilesIgnore": "",
|
||||
"recoverFilesIgnoreSeparator": "",
|
||||
"recoverFilesSeparator": "",
|
||||
"safeOutput": false,
|
||||
"separator": "",
|
||||
"sha": "",
|
||||
"since": "",
|
||||
"sinceLastRemoteCommit": false,
|
||||
"skipInitialFetch": false,
|
||||
"token": "",
|
||||
"until": "",
|
||||
"useRestApi": false,
|
||||
"writeOutputFiles": false,
|
||||
}
|
||||
`;
|
||||
|
||||
exports[`getInputs should return default values when no inputs are provided 1`] = `
|
||||
{
|
||||
"apiUrl": undefined,
|
||||
"baseSha": undefined,
|
||||
"diffRelative": true,
|
||||
"dirNames": false,
|
||||
"dirNamesDeletedFilesIncludeOnlyDeletedDirs": false,
|
||||
"dirNamesExcludeCurrentDir": false,
|
||||
"dirNamesIncludeFiles": undefined,
|
||||
"dirNamesIncludeFilesSeparator": undefined,
|
||||
"escapeJson": false,
|
||||
"failOnInitialDiffError": false,
|
||||
"failOnSubmoduleDiffError": false,
|
||||
"fetchAdditionalSubmoduleHistory": false,
|
||||
"files": undefined,
|
||||
"filesFromSourceFile": undefined,
|
||||
"filesFromSourceFileSeparator": undefined,
|
||||
"filesIgnore": undefined,
|
||||
"filesIgnoreFromSourceFile": undefined,
|
||||
"filesIgnoreFromSourceFileSeparator": undefined,
|
||||
"filesIgnoreSeparator": undefined,
|
||||
"filesIgnoreYaml": undefined,
|
||||
"filesIgnoreYamlFromSourceFile": undefined,
|
||||
"filesIgnoreYamlFromSourceFileSeparator": undefined,
|
||||
"filesSeparator": undefined,
|
||||
"filesYaml": undefined,
|
||||
"filesYamlFromSourceFile": undefined,
|
||||
"filesYamlFromSourceFileSeparator": undefined,
|
||||
"includeAllOldNewRenamedFiles": false,
|
||||
"json": false,
|
||||
"negationPatternsFirst": false,
|
||||
"oldNewFilesSeparator": undefined,
|
||||
"oldNewSeparator": undefined,
|
||||
"outputDir": undefined,
|
||||
"outputRenamedFilesAsDeletedAndAdded": false,
|
||||
"path": undefined,
|
||||
"quotepath": true,
|
||||
"recoverDeletedFiles": false,
|
||||
"recoverDeletedFilesToDestination": undefined,
|
||||
"recoverFiles": undefined,
|
||||
"recoverFilesIgnore": undefined,
|
||||
"recoverFilesIgnoreSeparator": undefined,
|
||||
"recoverFilesSeparator": undefined,
|
||||
"safeOutput": false,
|
||||
"separator": undefined,
|
||||
"sha": undefined,
|
||||
"since": undefined,
|
||||
"sinceLastRemoteCommit": false,
|
||||
"skipInitialFetch": false,
|
||||
"token": undefined,
|
||||
"until": undefined,
|
||||
"useRestApi": false,
|
||||
"writeOutputFiles": false,
|
||||
}
|
||||
`;
|
||||
153
src/__tests__/inputs.test.ts
Normal file
153
src/__tests__/inputs.test.ts
Normal file
@@ -0,0 +1,153 @@
|
||||
import * as core from '@actions/core'
|
||||
import {getInputs, Inputs} from '../inputs'
|
||||
import {DEFAULT_VALUES_OF_UNSUPPORTED_API_INPUTS} from '../constant'
|
||||
|
||||
jest.mock('@actions/core')
|
||||
|
||||
describe('getInputs', () => {
|
||||
afterEach(() => {
|
||||
jest.clearAllMocks()
|
||||
})
|
||||
|
||||
test('should return default values when no inputs are provided', () => {
|
||||
;(core.getBooleanInput as jest.Mock).mockImplementation(name => {
|
||||
const camelCaseName = name.replace(/_([a-z])/g, (g: string[]) => {
|
||||
return g[1].toUpperCase()
|
||||
}) as keyof Inputs
|
||||
|
||||
return (DEFAULT_VALUES_OF_UNSUPPORTED_API_INPUTS[camelCaseName] ||
|
||||
'') as string
|
||||
})
|
||||
;(core.getBooleanInput as jest.Mock).mockImplementation(name => {
|
||||
const camelCaseName = name.replace(/_([a-z])/g, (g: string[]) => {
|
||||
return g[1].toUpperCase()
|
||||
}) as keyof Inputs
|
||||
|
||||
return (DEFAULT_VALUES_OF_UNSUPPORTED_API_INPUTS[camelCaseName] ||
|
||||
false) as boolean
|
||||
})
|
||||
expect(getInputs()).toMatchSnapshot()
|
||||
})
|
||||
|
||||
test('should correctly parse boolean inputs', () => {
|
||||
;(core.getBooleanInput as jest.Mock).mockImplementation(name => {
|
||||
const camelCaseName = name.replace(/_([a-z])/g, (g: string[]) => {
|
||||
return g[1].toUpperCase()
|
||||
}) as keyof Inputs
|
||||
|
||||
return (DEFAULT_VALUES_OF_UNSUPPORTED_API_INPUTS[camelCaseName] ||
|
||||
'') as string
|
||||
})
|
||||
;(core.getBooleanInput as jest.Mock).mockImplementation(name => {
|
||||
switch (name) {
|
||||
case 'matrix':
|
||||
return 'true'
|
||||
case 'skip_initial_fetch':
|
||||
return 'true'
|
||||
default:
|
||||
return 'false'
|
||||
}
|
||||
})
|
||||
expect(getInputs()).toMatchSnapshot()
|
||||
})
|
||||
|
||||
test('should handle matrix alias correctly', () => {
|
||||
;(core.getBooleanInput as jest.Mock).mockImplementation(name => {
|
||||
return name === 'matrix' ? 'true' : 'false'
|
||||
})
|
||||
|
||||
const inputs = getInputs()
|
||||
expect(inputs).toHaveProperty('json', true)
|
||||
expect(inputs).toHaveProperty('escapeJson', false)
|
||||
})
|
||||
|
||||
test('should correctly parse string inputs', () => {
|
||||
;(core.getInput as jest.Mock).mockImplementation(name => {
|
||||
switch (name) {
|
||||
case 'token':
|
||||
return 'token'
|
||||
case 'api_url':
|
||||
return 'https://api.github.com'
|
||||
default:
|
||||
return ''
|
||||
}
|
||||
})
|
||||
;(core.getBooleanInput as jest.Mock).mockImplementation(name => {
|
||||
const camelCaseName = name.replace(/_([a-z])/g, (g: string[]) => {
|
||||
return g[1].toUpperCase()
|
||||
}) as keyof Inputs
|
||||
|
||||
return (DEFAULT_VALUES_OF_UNSUPPORTED_API_INPUTS[camelCaseName] ||
|
||||
false) as boolean
|
||||
})
|
||||
expect(getInputs()).toMatchSnapshot()
|
||||
})
|
||||
|
||||
test('should correctly parse numeric inputs', () => {
|
||||
;(core.getInput as jest.Mock).mockImplementation(name => {
|
||||
switch (name) {
|
||||
case 'fetch_depth':
|
||||
return '5'
|
||||
case 'dir_names_max_depth':
|
||||
return '2'
|
||||
default:
|
||||
return ''
|
||||
}
|
||||
})
|
||||
;(core.getBooleanInput as jest.Mock).mockImplementation(name => {
|
||||
const camelCaseName = name.replace(/_([a-z])/g, (g: string[]) => {
|
||||
return g[1].toUpperCase()
|
||||
}) as keyof Inputs
|
||||
|
||||
return (DEFAULT_VALUES_OF_UNSUPPORTED_API_INPUTS[camelCaseName] ||
|
||||
false) as boolean
|
||||
})
|
||||
expect(getInputs()).toMatchSnapshot()
|
||||
})
|
||||
|
||||
test('should handle invalid numeric inputs correctly', () => {
|
||||
;(core.getInput as jest.Mock).mockImplementation(name => {
|
||||
// TODO: Add validation for invalid numbers which should result in an error instead of NaN
|
||||
switch (name) {
|
||||
case 'fetch_depth':
|
||||
return 'invalid'
|
||||
case 'dir_names_max_depth':
|
||||
return '2'
|
||||
default:
|
||||
return ''
|
||||
}
|
||||
})
|
||||
;(core.getBooleanInput as jest.Mock).mockImplementation(name => {
|
||||
const camelCaseName = name.replace(/_([a-z])/g, (g: string[]) => {
|
||||
return g[1].toUpperCase()
|
||||
}) as keyof Inputs
|
||||
|
||||
return (DEFAULT_VALUES_OF_UNSUPPORTED_API_INPUTS[camelCaseName] ||
|
||||
false) as boolean
|
||||
})
|
||||
expect(getInputs()).toMatchSnapshot()
|
||||
})
|
||||
|
||||
test('should handle negative numeric inputs correctly', () => {
|
||||
;(core.getInput as jest.Mock).mockImplementation(name => {
|
||||
// TODO: Add validation for negative numbers which should result in an error
|
||||
switch (name) {
|
||||
case 'fetch_depth':
|
||||
return '-5'
|
||||
case 'dir_names_max_depth':
|
||||
return '-2'
|
||||
default:
|
||||
return ''
|
||||
}
|
||||
})
|
||||
;(core.getBooleanInput as jest.Mock).mockImplementation(name => {
|
||||
const camelCaseName = name.replace(/_([a-z])/g, (g: string[]) => {
|
||||
return g[1].toUpperCase()
|
||||
}) as keyof Inputs
|
||||
|
||||
return (DEFAULT_VALUES_OF_UNSUPPORTED_API_INPUTS[camelCaseName] ||
|
||||
false) as boolean
|
||||
})
|
||||
expect(getInputs()).toMatchSnapshot()
|
||||
})
|
||||
})
|
||||
@@ -1,9 +1,12 @@
|
||||
import * as core from '@actions/core'
|
||||
import {ChangeTypeEnum} from '../changedFiles'
|
||||
import {Inputs} from '../inputs'
|
||||
import {
|
||||
getDirname,
|
||||
getDirnameMaxDepth,
|
||||
getFilteredChangedFiles,
|
||||
normalizeSeparators
|
||||
normalizeSeparators,
|
||||
warnUnsupportedRESTAPIInputs
|
||||
} from '../utils'
|
||||
|
||||
const originalPlatform = process.platform
|
||||
@@ -575,4 +578,77 @@ describe('utils test', () => {
|
||||
expect(filteredFiles[ChangeTypeEnum.Modified]).toEqual([])
|
||||
})
|
||||
})
|
||||
|
||||
describe('warnUnsupportedRESTAPIInputs', () => {
|
||||
// Warns about unsupported inputs when using the REST API.
|
||||
it('should warn about unsupported inputs when all inputs are supported', async () => {
|
||||
const inputs: Inputs = {
|
||||
files: '',
|
||||
filesSeparator: '\n',
|
||||
filesFromSourceFile: '',
|
||||
filesFromSourceFileSeparator: '\n',
|
||||
filesYaml: '',
|
||||
filesYamlFromSourceFile: '',
|
||||
filesYamlFromSourceFileSeparator: '\n',
|
||||
filesIgnore: '',
|
||||
filesIgnoreSeparator: '\n',
|
||||
filesIgnoreFromSourceFile: '',
|
||||
filesIgnoreFromSourceFileSeparator: '\n',
|
||||
filesIgnoreYaml: '',
|
||||
filesIgnoreYamlFromSourceFile: '',
|
||||
filesIgnoreYamlFromSourceFileSeparator: '\n',
|
||||
separator: ' ',
|
||||
includeAllOldNewRenamedFiles: false,
|
||||
oldNewSeparator: ',',
|
||||
oldNewFilesSeparator: ' ',
|
||||
sha: '1313123',
|
||||
baseSha: '',
|
||||
since: '',
|
||||
until: '',
|
||||
path: '.',
|
||||
quotepath: true,
|
||||
diffRelative: true,
|
||||
dirNames: false,
|
||||
dirNamesMaxDepth: undefined,
|
||||
dirNamesExcludeCurrentDir: false,
|
||||
dirNamesIncludeFiles: '',
|
||||
dirNamesIncludeFilesSeparator: '\n',
|
||||
dirNamesDeletedFilesIncludeOnlyDeletedDirs: false,
|
||||
json: false,
|
||||
escapeJson: true,
|
||||
safeOutput: true,
|
||||
fetchDepth: 50,
|
||||
fetchAdditionalSubmoduleHistory: false,
|
||||
sinceLastRemoteCommit: false,
|
||||
writeOutputFiles: false,
|
||||
outputDir: '.github/outputs',
|
||||
outputRenamedFilesAsDeletedAndAdded: false,
|
||||
recoverDeletedFiles: false,
|
||||
recoverDeletedFilesToDestination: '',
|
||||
recoverFiles: '',
|
||||
recoverFilesSeparator: '\n',
|
||||
recoverFilesIgnore: '',
|
||||
recoverFilesIgnoreSeparator: '\n',
|
||||
token: '${{ github.token }}',
|
||||
apiUrl: '${{ github.api_url }}',
|
||||
skipInitialFetch: false,
|
||||
failOnInitialDiffError: false,
|
||||
failOnSubmoduleDiffError: false,
|
||||
negationPatternsFirst: false,
|
||||
useRestApi: false
|
||||
}
|
||||
|
||||
const coreWarningSpy = jest.spyOn(core, 'warning')
|
||||
|
||||
await warnUnsupportedRESTAPIInputs({
|
||||
inputs
|
||||
})
|
||||
|
||||
expect(coreWarningSpy).toHaveBeenCalledWith(
|
||||
'Input "sha" is not supported when using GitHub\'s REST API to get changed files'
|
||||
)
|
||||
|
||||
expect(coreWarningSpy).toHaveBeenCalledTimes(1)
|
||||
})
|
||||
})
|
||||
})
|
||||
|
||||
@@ -166,7 +166,7 @@ export const getRenamedFiles = async ({
|
||||
}))
|
||||
) {
|
||||
let message = `Unable to use three dot diff for: ${submodulePath} submodule. Falling back to two dot diff. You can set 'fetch_additional_submodule_history: true' to fetch additional submodule history in order to use three dot diff`
|
||||
if (inputs.fetchSubmoduleHistory) {
|
||||
if (inputs.fetchAdditionalSubmoduleHistory) {
|
||||
message = `To fetch additional submodule history for: ${submodulePath} you can increase history depth using 'fetch_depth' input`
|
||||
}
|
||||
core.info(message)
|
||||
@@ -221,7 +221,7 @@ export const getAllDiffFiles = async ({
|
||||
diffResult,
|
||||
submodulePaths,
|
||||
outputRenamedFilesAsDeletedAndAdded,
|
||||
fetchSubmoduleHistory,
|
||||
fetchAdditionalSubmoduleHistory,
|
||||
failOnInitialDiffError,
|
||||
failOnSubmoduleDiffError
|
||||
}: {
|
||||
@@ -230,7 +230,7 @@ export const getAllDiffFiles = async ({
|
||||
diffResult: DiffResult
|
||||
submodulePaths: string[]
|
||||
outputRenamedFilesAsDeletedAndAdded: boolean
|
||||
fetchSubmoduleHistory: boolean
|
||||
fetchAdditionalSubmoduleHistory: boolean
|
||||
failOnInitialDiffError: boolean
|
||||
failOnSubmoduleDiffError: boolean
|
||||
}): Promise<ChangedFiles> => {
|
||||
@@ -270,7 +270,7 @@ export const getAllDiffFiles = async ({
|
||||
}))
|
||||
) {
|
||||
let message = `Set 'fetch_additional_submodule_history: true' to fetch additional submodule history for: ${submodulePath}`
|
||||
if (fetchSubmoduleHistory) {
|
||||
if (fetchAdditionalSubmoduleHistory) {
|
||||
message = `To fetch additional submodule history for: ${submodulePath} you can increase history depth using 'fetch_depth' input`
|
||||
}
|
||||
core.warning(message)
|
||||
|
||||
@@ -152,7 +152,7 @@ export const getSHAForNonPullRequestEvent = async (
|
||||
})
|
||||
}
|
||||
} else {
|
||||
if (hasSubmodule && inputs.fetchSubmoduleHistory) {
|
||||
if (hasSubmodule && inputs.fetchAdditionalSubmoduleHistory) {
|
||||
await gitFetchSubmodules({
|
||||
cwd: workingDirectory,
|
||||
args: [
|
||||
@@ -382,7 +382,7 @@ export const getSHAForPullRequestEvent = async (
|
||||
}
|
||||
}
|
||||
} else {
|
||||
if (hasSubmodule && inputs.fetchSubmoduleHistory) {
|
||||
if (hasSubmodule && inputs.fetchAdditionalSubmoduleHistory) {
|
||||
await gitFetchSubmodules({
|
||||
cwd: workingDirectory,
|
||||
args: [
|
||||
@@ -429,7 +429,7 @@ export const getSHAForPullRequestEvent = async (
|
||||
|
||||
if (
|
||||
!github.context.payload.pull_request?.base?.ref ||
|
||||
github.context.payload.head?.repo?.fork === 'true'
|
||||
github.context.payload.pull_request?.head?.repo?.fork === true
|
||||
) {
|
||||
diff = '..'
|
||||
}
|
||||
|
||||
24
src/constant.ts
Normal file
24
src/constant.ts
Normal file
@@ -0,0 +1,24 @@
|
||||
import {Inputs} from './inputs'
|
||||
|
||||
export const DEFAULT_VALUES_OF_UNSUPPORTED_API_INPUTS: Partial<Inputs> = {
|
||||
sha: '',
|
||||
baseSha: '',
|
||||
since: '',
|
||||
until: '',
|
||||
path: '.',
|
||||
quotepath: true,
|
||||
diffRelative: true,
|
||||
sinceLastRemoteCommit: false,
|
||||
recoverDeletedFiles: false,
|
||||
recoverDeletedFilesToDestination: '',
|
||||
recoverFiles: '',
|
||||
recoverFilesSeparator: '\n',
|
||||
recoverFilesIgnore: '',
|
||||
recoverFilesIgnoreSeparator: '\n',
|
||||
includeAllOldNewRenamedFiles: false,
|
||||
oldNewSeparator: ',',
|
||||
oldNewFilesSeparator: ' ',
|
||||
skipInitialFetch: false,
|
||||
fetchAdditionalSubmoduleHistory: false,
|
||||
dirNamesDeletedFilesIncludeOnlyDeletedDirs: false
|
||||
}
|
||||
@@ -5,8 +5,9 @@ export type Env = {
|
||||
GITHUB_REF: string
|
||||
GITHUB_WORKSPACE: string
|
||||
}
|
||||
|
||||
export const getEnv = async (): Promise<Env> => {
|
||||
core.debug(`Process Env: ${JSON.stringify(process.env, null, 2)}`)
|
||||
core.debug(`Env: ${JSON.stringify(process.env, null, 2)}`)
|
||||
|
||||
return {
|
||||
GITHUB_REF_NAME: process.env.GITHUB_REF_NAME || '',
|
||||
|
||||
@@ -24,7 +24,7 @@ export type Inputs = {
|
||||
since: string
|
||||
until: string
|
||||
path: string
|
||||
quotePath: boolean
|
||||
quotepath: boolean
|
||||
diffRelative: boolean
|
||||
dirNames: boolean
|
||||
dirNamesMaxDepth?: number
|
||||
@@ -36,7 +36,7 @@ export type Inputs = {
|
||||
escapeJson: boolean
|
||||
safeOutput: boolean
|
||||
fetchDepth?: number
|
||||
fetchSubmoduleHistory: boolean
|
||||
fetchAdditionalSubmoduleHistory: boolean
|
||||
sinceLastRemoteCommit: boolean
|
||||
writeOutputFiles: boolean
|
||||
outputDir: string
|
||||
@@ -53,6 +53,7 @@ export type Inputs = {
|
||||
failOnInitialDiffError: boolean
|
||||
failOnSubmoduleDiffError: boolean
|
||||
negationPatternsFirst: boolean
|
||||
useRestApi: boolean
|
||||
}
|
||||
|
||||
export const getInputs = (): Inputs => {
|
||||
@@ -131,7 +132,7 @@ export const getInputs = (): Inputs => {
|
||||
const since = core.getInput('since', {required: false})
|
||||
const until = core.getInput('until', {required: false})
|
||||
const path = core.getInput('path', {required: false})
|
||||
const quotePath = core.getBooleanInput('quotepath', {required: false})
|
||||
const quotepath = core.getBooleanInput('quotepath', {required: false})
|
||||
const diffRelative = core.getBooleanInput('diff_relative', {required: false})
|
||||
const dirNames = core.getBooleanInput('dir_names', {required: false})
|
||||
const dirNamesMaxDepth = core.getInput('dir_names_max_depth', {
|
||||
@@ -153,8 +154,15 @@ export const getInputs = (): Inputs => {
|
||||
trimWhitespace: false
|
||||
}
|
||||
)
|
||||
const json = core.getBooleanInput('json', {required: false})
|
||||
const escapeJson = core.getBooleanInput('escape_json', {required: false})
|
||||
let json = core.getBooleanInput('json', {required: false})
|
||||
let escapeJson = core.getBooleanInput('escape_json', {required: false})
|
||||
const matrix = core.getBooleanInput('matrix', {required: false})
|
||||
|
||||
if (matrix) {
|
||||
json = true
|
||||
escapeJson = false
|
||||
}
|
||||
|
||||
const safeOutput = core.getBooleanInput('safe_output', {required: false})
|
||||
const fetchDepth = core.getInput('fetch_depth', {required: false})
|
||||
const sinceLastRemoteCommit = core.getBooleanInput(
|
||||
@@ -196,7 +204,7 @@ export const getInputs = (): Inputs => {
|
||||
const skipInitialFetch = core.getBooleanInput('skip_initial_fetch', {
|
||||
required: false
|
||||
})
|
||||
const fetchSubmoduleHistory = core.getBooleanInput(
|
||||
const fetchAdditionalSubmoduleHistory = core.getBooleanInput(
|
||||
'fetch_additional_submodule_history',
|
||||
{
|
||||
required: false
|
||||
@@ -228,6 +236,10 @@ export const getInputs = (): Inputs => {
|
||||
}
|
||||
)
|
||||
|
||||
const useRestApi = core.getBooleanInput('use_rest_api', {
|
||||
required: false
|
||||
})
|
||||
|
||||
const inputs: Inputs = {
|
||||
files,
|
||||
filesSeparator,
|
||||
@@ -252,7 +264,7 @@ export const getInputs = (): Inputs => {
|
||||
since,
|
||||
until,
|
||||
path,
|
||||
quotePath,
|
||||
quotepath,
|
||||
diffRelative,
|
||||
sinceLastRemoteCommit,
|
||||
recoverDeletedFiles,
|
||||
@@ -265,7 +277,7 @@ export const getInputs = (): Inputs => {
|
||||
oldNewSeparator,
|
||||
oldNewFilesSeparator,
|
||||
skipInitialFetch,
|
||||
fetchSubmoduleHistory,
|
||||
fetchAdditionalSubmoduleHistory,
|
||||
dirNamesDeletedFilesIncludeOnlyDeletedDirs,
|
||||
// End Not Supported via REST API
|
||||
dirNames,
|
||||
@@ -280,7 +292,8 @@ export const getInputs = (): Inputs => {
|
||||
outputRenamedFilesAsDeletedAndAdded,
|
||||
token,
|
||||
apiUrl,
|
||||
negationPatternsFirst
|
||||
negationPatternsFirst,
|
||||
useRestApi
|
||||
}
|
||||
|
||||
if (fetchDepth) {
|
||||
|
||||
53
src/main.ts
53
src/main.ts
@@ -26,7 +26,8 @@ import {
|
||||
setOutput,
|
||||
submoduleExists,
|
||||
updateGitGlobalConfig,
|
||||
verifyMinimumGitVersion
|
||||
verifyMinimumGitVersion,
|
||||
warnUnsupportedRESTAPIInputs
|
||||
} from './utils'
|
||||
|
||||
const getChangedFilesFromLocalGitHistory = async ({
|
||||
@@ -44,15 +45,15 @@ const getChangedFilesFromLocalGitHistory = async ({
|
||||
}): Promise<void> => {
|
||||
await verifyMinimumGitVersion()
|
||||
|
||||
let quotePathValue = 'on'
|
||||
let quotepathValue = 'on'
|
||||
|
||||
if (!inputs.quotePath) {
|
||||
quotePathValue = 'off'
|
||||
if (!inputs.quotepath) {
|
||||
quotepathValue = 'off'
|
||||
}
|
||||
|
||||
await updateGitGlobalConfig({
|
||||
name: 'core.quotepath',
|
||||
value: quotePathValue
|
||||
value: quotepathValue
|
||||
})
|
||||
|
||||
if (inputs.diffRelative) {
|
||||
@@ -123,7 +124,7 @@ const getChangedFilesFromLocalGitHistory = async ({
|
||||
diffResult,
|
||||
submodulePaths,
|
||||
outputRenamedFilesAsDeletedAndAdded,
|
||||
fetchSubmoduleHistory: inputs.fetchSubmoduleHistory,
|
||||
fetchAdditionalSubmoduleHistory: inputs.fetchAdditionalSubmoduleHistory,
|
||||
failOnInitialDiffError: inputs.failOnInitialDiffError,
|
||||
failOnSubmoduleDiffError: inputs.failOnSubmoduleDiffError
|
||||
})
|
||||
@@ -224,7 +225,7 @@ export async function run(): Promise<void> {
|
||||
|
||||
const workingDirectory = path.resolve(
|
||||
env.GITHUB_WORKSPACE || process.cwd(),
|
||||
inputs.path
|
||||
inputs.useRestApi ? '.' : inputs.path
|
||||
)
|
||||
core.debug(`Working directory: ${workingDirectory}`)
|
||||
|
||||
@@ -243,35 +244,19 @@ export async function run(): Promise<void> {
|
||||
})
|
||||
core.debug(`Yaml file patterns: ${JSON.stringify(yamlFilePatterns)}`)
|
||||
|
||||
if (inputs.useRestApi && !github.context.payload.pull_request?.number) {
|
||||
throw new Error(
|
||||
"Only pull_request* events are supported when using GitHub's REST API."
|
||||
)
|
||||
}
|
||||
|
||||
if (
|
||||
inputs.token &&
|
||||
github.context.payload.pull_request?.number &&
|
||||
!hasGitDirectory
|
||||
(!hasGitDirectory || inputs.useRestApi)
|
||||
) {
|
||||
core.info("Using GitHub's REST API to get changed files")
|
||||
const unsupportedInputs: (keyof Inputs)[] = [
|
||||
'sha',
|
||||
'baseSha',
|
||||
'since',
|
||||
'until',
|
||||
'sinceLastRemoteCommit',
|
||||
'recoverDeletedFiles',
|
||||
'recoverDeletedFilesToDestination',
|
||||
'recoverFiles',
|
||||
'recoverFilesIgnore',
|
||||
'includeAllOldNewRenamedFiles',
|
||||
'skipInitialFetch',
|
||||
'fetchSubmoduleHistory',
|
||||
'dirNamesDeletedFilesIncludeOnlyDeletedDirs'
|
||||
]
|
||||
|
||||
for (const input of unsupportedInputs) {
|
||||
if (inputs[input]) {
|
||||
core.warning(
|
||||
`Input "${input}" is not supported when using GitHub's REST API to get changed files`
|
||||
)
|
||||
}
|
||||
}
|
||||
await warnUnsupportedRESTAPIInputs({inputs})
|
||||
await getChangedFilesFromRESTAPI({
|
||||
inputs,
|
||||
filePatterns,
|
||||
@@ -279,10 +264,9 @@ export async function run(): Promise<void> {
|
||||
})
|
||||
} else {
|
||||
if (!hasGitDirectory) {
|
||||
core.setFailed(
|
||||
"Can't find local .git directory. Please run actions/checkout before this action"
|
||||
throw new Error(
|
||||
`Unable to locate the git repository in the given path: ${workingDirectory}.\n Please run actions/checkout before this action (Make sure the 'path' input is correct).\n If you intend to use Github's REST API note that only pull_request* events are supported. Current event is "${github.context.eventName}".`
|
||||
)
|
||||
return
|
||||
}
|
||||
|
||||
core.info('Using local .git directory')
|
||||
@@ -301,5 +285,6 @@ if (!process.env.TESTING) {
|
||||
// eslint-disable-next-line github/no-then
|
||||
run().catch(e => {
|
||||
core.setFailed(e.message || e)
|
||||
process.exit(1)
|
||||
})
|
||||
}
|
||||
|
||||
70
src/utils.ts
70
src/utils.ts
@@ -3,14 +3,14 @@ import * as core from '@actions/core'
|
||||
import * as exec from '@actions/exec'
|
||||
import * as github from '@actions/github'
|
||||
import {createReadStream, promises as fs} from 'fs'
|
||||
import {readFile} from 'fs/promises'
|
||||
import {flattenDeep} from 'lodash'
|
||||
import {flattenDeep, snakeCase} from 'lodash'
|
||||
import mm from 'micromatch'
|
||||
import * as path from 'path'
|
||||
import {createInterface} from 'readline'
|
||||
import {parseDocument} from 'yaml'
|
||||
import {ChangedFiles, ChangeTypeEnum} from './changedFiles'
|
||||
import {DiffResult} from './commitSha'
|
||||
import {DEFAULT_VALUES_OF_UNSUPPORTED_API_INPUTS} from './constant'
|
||||
import {Inputs} from './inputs'
|
||||
|
||||
const MINIMUM_GIT_VERSION = '2.18.0'
|
||||
@@ -171,15 +171,16 @@ async function* lineOfFileGenerator({
|
||||
input: fileStream,
|
||||
crlfDelay: Infinity
|
||||
})
|
||||
for await (const line of rl) {
|
||||
for await (let line of rl) {
|
||||
if (!line.startsWith('#') && line !== '') {
|
||||
if (excludedFiles) {
|
||||
if (line.startsWith('!')) {
|
||||
yield line
|
||||
} else {
|
||||
yield `!${line}`
|
||||
line = line.startsWith('!') ? line : `!${line}`
|
||||
if (line.endsWith(path.sep)) {
|
||||
line = `${line}**`
|
||||
}
|
||||
yield line
|
||||
} else {
|
||||
line = line.endsWith(path.sep) ? `${line}**` : line
|
||||
yield line
|
||||
}
|
||||
}
|
||||
@@ -285,6 +286,7 @@ export const submoduleExists = async ({
|
||||
* Fetches the git repository
|
||||
* @param args - arguments for fetch command
|
||||
* @param cwd - working directory
|
||||
* @returns exit code
|
||||
*/
|
||||
export const gitFetch = async ({
|
||||
args,
|
||||
@@ -333,6 +335,7 @@ export const gitFetchSubmodules = async ({
|
||||
/**
|
||||
* Retrieves all the submodule paths
|
||||
* @param cwd - working directory
|
||||
* @returns submodule paths
|
||||
*/
|
||||
export const getSubmodulePath = async ({
|
||||
cwd
|
||||
@@ -367,6 +370,7 @@ export const getSubmodulePath = async ({
|
||||
* @param parentSha2 - parent commit sha
|
||||
* @param submodulePath - path of submodule
|
||||
* @param diff - diff type between parent commits (`..` or `...`)
|
||||
* @returns commit sha of submodule
|
||||
*/
|
||||
export const gitSubmoduleDiffSHA = async ({
|
||||
cwd,
|
||||
@@ -676,6 +680,12 @@ export const isInsideWorkTree = async ({
|
||||
}
|
||||
)
|
||||
|
||||
if (stdout.trim() !== 'true') {
|
||||
core.warning(
|
||||
`The current working directory is not inside a git repository: ${cwd}`
|
||||
)
|
||||
}
|
||||
|
||||
return stdout.trim() === 'true'
|
||||
}
|
||||
|
||||
@@ -898,7 +908,7 @@ export const canDiffCommits = async ({
|
||||
} else {
|
||||
const {exitCode, stderr} = await exec.getExecOutput(
|
||||
'git',
|
||||
['diff', '--quiet', sha1, sha2],
|
||||
['diff', '--no-patch', sha1, sha2],
|
||||
{
|
||||
cwd,
|
||||
ignoreReturnCode: true,
|
||||
@@ -995,6 +1005,7 @@ export const getFilePatterns = async ({
|
||||
if (inputs.files) {
|
||||
const filesPatterns = inputs.files
|
||||
.split(inputs.filesSeparator)
|
||||
.map(p => (p.endsWith(path.sep) ? `${p}**` : p))
|
||||
.filter(Boolean)
|
||||
|
||||
cleanedFilePatterns.push(...filesPatterns)
|
||||
@@ -1026,8 +1037,9 @@ export const getFilePatterns = async ({
|
||||
.split(inputs.filesIgnoreSeparator)
|
||||
.filter(Boolean)
|
||||
.map(p => {
|
||||
if (!p.startsWith('!')) {
|
||||
p = `!${p}`
|
||||
p = p.startsWith('!') ? p : `!${p}`
|
||||
if (p.endsWith(path.sep)) {
|
||||
p = `${p}**`
|
||||
}
|
||||
return p
|
||||
})
|
||||
@@ -1128,7 +1140,7 @@ const getYamlFilePatternsFromContents = async ({
|
||||
throw new Error(`File does not exist: ${filePath}`)
|
||||
}
|
||||
|
||||
source = await readFile(filePath, 'utf8')
|
||||
source = await fs.readFile(filePath, 'utf8')
|
||||
} else {
|
||||
source = content
|
||||
}
|
||||
@@ -1491,6 +1503,12 @@ export const recoverDeletedFiles = async ({
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Determines whether the specified working directory has a local Git directory.
|
||||
*
|
||||
* @param workingDirectory - The path of the working directory.
|
||||
* @returns A boolean value indicating whether the working directory has a local Git directory.
|
||||
*/
|
||||
export const hasLocalGitDirectory = async ({
|
||||
workingDirectory
|
||||
}: {
|
||||
@@ -1500,3 +1518,33 @@ export const hasLocalGitDirectory = async ({
|
||||
cwd: workingDirectory
|
||||
})
|
||||
}
|
||||
|
||||
/**
|
||||
* Warns about unsupported inputs when using the REST API.
|
||||
*
|
||||
* @param inputs - The inputs object.
|
||||
*/
|
||||
export const warnUnsupportedRESTAPIInputs = async ({
|
||||
inputs
|
||||
}: {
|
||||
inputs: Inputs
|
||||
}): Promise<void> => {
|
||||
for (const key of Object.keys(DEFAULT_VALUES_OF_UNSUPPORTED_API_INPUTS)) {
|
||||
const defaultValue = Object.hasOwnProperty.call(
|
||||
DEFAULT_VALUES_OF_UNSUPPORTED_API_INPUTS,
|
||||
key
|
||||
)
|
||||
? DEFAULT_VALUES_OF_UNSUPPORTED_API_INPUTS[
|
||||
key as keyof Inputs
|
||||
]?.toString()
|
||||
: ''
|
||||
|
||||
if (defaultValue !== inputs[key as keyof Inputs]?.toString()) {
|
||||
core.warning(
|
||||
`Input "${snakeCase(
|
||||
key
|
||||
)}" is not supported when using GitHub's REST API to get changed files`
|
||||
)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user