Skip to content

Commit

Permalink
feat: refactored project based on preferences
Browse files Browse the repository at this point in the history
  • Loading branch information
SayakMukhopadhyay committed Jun 4, 2024
1 parent 37a5787 commit 817f477
Show file tree
Hide file tree
Showing 14 changed files with 126 additions and 224 deletions.
2 changes: 0 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,4 @@ Thumbs.db
__tests__/runner/*

# IDE files
.idea
.vscode
*.code-workspace
8 changes: 8 additions & 0 deletions .idea/.gitignore

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

62 changes: 62 additions & 0 deletions .idea/codeStyles/Project.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 5 additions & 0 deletions .idea/codeStyles/codeStyleConfig.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 6 additions & 0 deletions .idea/inspectionProfiles/Project_Default.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

12 changes: 12 additions & 0 deletions .idea/is-file-changed.iml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 8 additions & 0 deletions .idea/modules.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 6 additions & 0 deletions .idea/vcs.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion .prettierrc.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{

Check warning on line 1 in .prettierrc.json

View workflow job for this annotation

GitHub Actions / Lint Codebase

File ignored by default.
"printWidth": 80,
"printWidth": 120,
"tabWidth": 2,
"useTabs": false,
"semi": false,
Expand Down
21 changes: 0 additions & 21 deletions LICENSE

This file was deleted.

24 changes: 11 additions & 13 deletions action.yml
Original file line number Diff line number Diff line change
@@ -1,23 +1,21 @@
name: 'The name of your action here'
description: 'Provide a description here'
author: 'Your name or organization here'

# Add your action's branding here. This will appear on the GitHub Marketplace.
branding:
icon: 'heart'
color: 'red'
name: Is File Changed in commit
description: Check if a file is changed in the commits and return a response
author: Beez Innovation Labs

# Define your inputs here.
inputs:
milliseconds:
description: 'Your input description here'
pattern:
required: true
description: JavaScript regular expression matching filenames (including path) of files which must be checked
token:
required: true
default: '1000'
description: Token to access the repository
default: ${{ github.token }}

# Define your outputs here.
outputs:
time:
description: 'Your output description here'
changed:
description: A true/false output whether the check passes or not

runs:
using: node20
Expand Down
120 changes: 0 additions & 120 deletions dist/licenses.txt

This file was deleted.

15 changes: 7 additions & 8 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
{
"name": "typescript-action",
"description": "GitHub Actions TypeScript template",
"version": "0.0.0",
"author": "",
"name": "is-file-changed",
"description": "Check if a file is changed in the commits and return a response",
"version": "1.0.0",
"author": "Sayak Mukhopadhyay <[email protected]>",
"private": true,
"homepage": "https://github.com/actions/typescript-action",
"homepage": "https://github.com/beezlabs-org/is-file-changed",
"repository": {
"type": "git",
"url": "git+https://github.com/actions/typescript-action.git"
"url": "git+https://github.com/beezlabs-org/is-file-changed.git"
},
"bugs": {
"url": "https://github.com/actions/typescript-action/issues"
"url": "https://github.com/beezlabs-org/is-file-changed/issues"
},
"keywords": [
"actions",
Expand All @@ -35,7 +35,6 @@
"test": "npx jest",
"all": "npm run format:write && npm run lint && npm run test && npm run coverage && npm run package"
},
"license": "MIT",
"jest": {
"preset": "ts-jest",
"verbose": true,
Expand Down
Loading

0 comments on commit 817f477

Please sign in to comment.