Skip to content

Commit 77d9e54

Browse files
comments addressed and removed steps dependent on tj-actions in test
1 parent b15cc8d commit 77d9e54

File tree

2 files changed

+19
-59
lines changed

2 files changed

+19
-59
lines changed

.github/workflows/test.yml

+19-19
Original file line numberDiff line numberDiff line change
@@ -59,28 +59,28 @@ jobs:
5959
run: |
6060
yarn install
6161
62-
- name: Run eslint on changed files
63-
uses: tj-actions/eslint-changed-files@v25
64-
if: github.event_name == 'pull_request'
65-
with:
66-
token: ${{ secrets.PAT_TOKEN }}
67-
config_path: ".eslintrc.json"
68-
ignore_path: ".eslintignore"
62+
# - name: Run eslint on changed files
63+
# uses: tj-actions/eslint-changed-files@v25
64+
# if: github.event_name == 'pull_request'
65+
# with:
66+
# token: ${{ secrets.PAT_TOKEN }}
67+
# config_path: ".eslintrc.json"
68+
# ignore_path: ".eslintignore"
6969

7070
- name: Run build and test
7171
run: |
7272
yarn all
7373
env:
7474
GITHUB_EVENT_PULL_REQUEST_HEAD_REPO_FORK: ${{ github.event.pull_request.head.repo.fork }}
7575

76-
- name: Verify Changed files
77-
uses: tj-actions/verify-changed-files@v20
78-
if: github.actor != 'dependabot[bot]'
79-
id: changed_files
80-
with:
81-
files: |
82-
src
83-
dist
76+
# - name: Verify Changed files
77+
# uses: tj-actions/verify-changed-files@v20
78+
# if: github.actor != 'dependabot[bot]'
79+
# id: changed_files
80+
# with:
81+
# files: |
82+
# src
83+
# dist
8484

8585
- name: Commit files
8686
if: steps.changed_files.outputs.files_changed == 'true' && github.event_name == 'pull_request'
@@ -2161,10 +2161,10 @@ jobs:
21612161
fi
21622162
shell:
21632163
bash
2164-
- name: Get branch name
2165-
id: branch-name
2166-
uses: tj-actions/branch-names@v8
2167-
if: github.event_name == 'pull_request' && matrix.fetch-depth == 0
2164+
# - name: Get branch name
2165+
# id: branch-name
2166+
# uses: tj-actions/branch-names@v8
2167+
# if: github.event_name == 'pull_request' && matrix.fetch-depth == 0
21682168
- uses: nrwl/nx-set-shas@v4
21692169
id: last_successful_commit
21702170
if: github.event_name == 'pull_request' && github.event.action != 'closed' && matrix.fetch-depth == 0

README.md

-40
Original file line numberDiff line numberDiff line change
@@ -1,28 +1,7 @@
1-
[![Ubuntu](https://img.shields.io/badge/Ubuntu-E95420?style=for-the-badge\&logo=ubuntu\&logoColor=white)](https://docs.github.com/en/actions/reference/workflow-syntax-for-github-actions#jobsjob_idruns-on)
2-
[![Mac OS](https://img.shields.io/badge/mac%20os-000000?style=for-the-badge\&logo=macos\&logoColor=F0F0F0)](https://docs.github.com/en/actions/reference/workflow-syntax-for-github-actions#jobsjob_idruns-on)
3-
[![Windows](https://img.shields.io/badge/Windows-0078D6?style=for-the-badge\&logo=windows\&logoColor=white)](https://docs.github.com/en/actions/reference/workflow-syntax-for-github-actions#jobsjob_idruns-on)
4-
[![Public workflows that use this action.](https://img.shields.io/endpoint?style=for-the-badge\&url=https%3A%2F%2Fused-by.vercel.app%2Fapi%2Fgithub-actions%2Fused-by%3Faction%3Dstep-security%2Fchanged-files%26package_id%3DUGFja2FnZS0yOTQyNTU4MDk5%26badge%3Dtrue)](https://github.com/search?o=desc\&q=step-security+changed-files+language%3AYAML\&s=\&type=Code)
5-
6-
[![Codacy Badge](https://app.codacy.com/project/badge/Grade/4fe2f49c3ab144b0bbe4effc85a061a0)](https://app.codacy.com/gh/step-security/changed-files/dashboard?utm_source=gh\&utm_medium=referral\&utm_content=\&utm_campaign=Badge_grade)
7-
[![CI](https://github.com/step-security/changed-files/actions/workflows/test.yml/badge.svg)](https://github.com/step-security/changed-files/actions/workflows/test.yml)
8-
[![Update release version.](https://github.com/step-security/changed-files/actions/workflows/sync-release-version.yml/badge.svg)](https://github.com/step-security/changed-files/actions/workflows/sync-release-version.yml)
9-
10-
<!-- ALL-CONTRIBUTORS-BADGE:START - Do not remove or modify this section -->
11-
12-
[![All Contributors](https://img.shields.io/badge/all_contributors-27-orange.svg?style=flat-square)](#contributors-)
13-
14-
<!-- ALL-CONTRIBUTORS-BADGE:END -->
15-
161
## changed-files
172

183
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.
194

20-
> \[!NOTE]
21-
>
22-
> * 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.
23-
>
24-
> See: https://github.com/step-security/verify-changed-files instead.
25-
265
## Table of contents
276

287
* [Features 🚀](#features-)
@@ -306,15 +285,7 @@ jobs:
306285

307286
To access more examples, navigate to the [Examples](#examples-) section.
308287

309-
If you feel generous and want to show some extra appreciation:
310-
311-
Support this project with a :star:
312-
313-
[![Buy me a coffee][buymeacoffee-shield]][buymeacoffee]
314-
315-
[buymeacoffee]: https://www.buymeacoffee.com/jackton1
316288

317-
[buymeacoffee-shield]: https://www.buymeacoffee.com/assets/img/custom_images/orange_img.png
318289

319290
> \[!IMPORTANT]
320291
>
@@ -1319,14 +1290,3 @@ See [inputs](#inputs) for more information.
13191290
</details>
13201291

13211292
* Free software: [MIT license](LICENSE)
1322-
1323-
## Credits 👏
1324-
1325-
This package was created with [cookiecutter-action](https://github.com/tj-actions/cookiecutter-action).
1326-
1327-
* [tj-actions/auto-doc](https://github.com/tj-actions//auto-doc)
1328-
* [tj-actions/verify-changed-files](https://github.com/tj-actions/verify-changed-files)
1329-
* [tj-actions/demo](https://github.com/tj-actions/demo)
1330-
* [tj-actions/demo2](https://github.com/tj-actions/demo2)
1331-
* [tj-actions/demo3](https://github.com/tj-actions/demo3)
1332-
* [tj-actions/release-tagger](https://github.com/step-security/release-tagger)

0 commit comments

Comments
 (0)