https://github.com/andstor/file-existence-action
:file_folder: :octocat: GitHub Action to check for file existence
Science Score: 13.0%
This score indicates how likely this project is to be science-related based on various indicators:
-
○CITATION.cff file
-
✓codemeta.json file
Found codemeta.json file -
○.zenodo.json file
-
○DOI references
-
○Academic publication links
-
○Committers with academic emails
-
○Institutional organization owner
-
○JOSS paper metadata
-
○Scientific vocabulary similarity
Low similarity (9.1%) to scientific vocabulary
Keywords
Keywords from Contributors
Repository
:file_folder: :octocat: GitHub Action to check for file existence
Basic Info
- Host: GitHub
- Owner: andstor
- License: mit
- Language: TypeScript
- Default Branch: main
- Homepage: https://github.com/marketplace/actions/file-existence
- Size: 404 KB
Statistics
- Stars: 122
- Watchers: 4
- Forks: 35
- Open Issues: 16
- Releases: 5
Topics
Metadata Files
README.md
file-existence-action
GitHub Action to check for file existence
This is a GitHub Action to check for the existence of files. It can be used for conditionally running workflow steps based on file(s) existence.
Usage
The following example workflow step will check for existence of the files: package.json, LICENSE, README.md, foo bar
yml
- name: "Check file existence"
uses: andstor/file-existence-action@v3
with:
files: "package.json, LICENSE, README.md, foo, *.txt"
Options ⚙️
The following input variables options can/must be configured:
|Input variable|Necessity|Description|Default|
|----|----|----|----|
|files|Required|Comma separated string with paths to files and directories to check for existence. Supports glob paterns.||
|ignore_case|Optional|Ignore if a file name has upper or lower cases.|true|
|follow_symbolic_links|Optional|Indicates whether to follow symbolic links.|true|
|fail|Optional|Makes the Action fail on missing files.|false|
Outputs
files_exists: Outputstrueif the file(s) exists, otherwisefalse.
Example
```yml name: "File existence check"
on: [push, pull_request]
jobs: file_existence: runs-on: ubuntu-latest steps: - name: Checkout code uses: actions/checkout@v4
- name: Check file existence
id: check_files
uses: andstor/file-existence-action@v3
with:
files: "package.json, LICENSE, README.md"
- name: File exists
if: steps.check_files.outputs.files_exists == 'true'
# Only runs if all of the files exists
run: echo All files exists!
```
License
Copyright © 2020 André Storhaug
file-existence-action is licensed under the MIT License.
Owner
- Name: André Storhaug
- Login: andstor
- Kind: user
- Location: Trondheim 🇳🇴
- Company: NTNU
- Website: https://andre.storhaug.no
- Repositories: 87
- Profile: https://github.com/andstor
🎓 CS PhD student @ Norwegian University of Science and Technology (NTNU)
GitHub Events
Total
- Watch event: 2
- Fork event: 1
- Commit comment event: 1
Last Year
- Watch event: 2
- Fork event: 1
- Commit comment event: 1
Committers
Last synced: about 1 year ago
Top Committers
| Name | Commits | |
|---|---|---|
| André Storhaug | a****g@g****m | 22 |
| Ramin Gharib | r****b@g****m | 5 |
| Victor B | 3****l | 1 |
| HBiede | 6****e | 1 |
| Daniel Schuba | d****a@f****e | 1 |
| Anton Khitrenovich | k****h@g****m | 1 |
Committer Domains (Top 20 + Academic)
Issues and Pull Requests
Last synced: about 1 year ago
All Time
- Total issues: 16
- Total pull requests: 130
- Average time to close issues: over 1 year
- Average time to close pull requests: 20 days
- Total issue authors: 11
- Total pull request authors: 7
- Average comments per issue: 2.13
- Average comments per pull request: 1.97
- Merged pull requests: 3
- Bot issues: 0
- Bot pull requests: 125
Past Year
- Issues: 0
- Pull requests: 0
- Average time to close issues: N/A
- Average time to close pull requests: N/A
- Issue authors: 0
- Pull request authors: 0
- Average comments per issue: 0
- Average comments per pull request: 0
- Merged pull requests: 0
- Bot issues: 0
- Bot pull requests: 0
Top Authors
Issue Authors
- joergi (3)
- nterbogt (1)
- cardil (1)
- jchang-iabbb (1)
- jfoley15 (1)
- kuhnroyal (1)
- SamBobBarnes (1)
- Julian88Tex (1)
- raminqaf (1)
- goffinf (1)
- juls858 (1)
Pull Request Authors
- dependabot[bot] (130)
- raminqaf (2)
- DaSchTour (1)
- hbiede (1)
- naorpeled (1)
- lgtm-com[bot] (1)
- joergi (1)
Top Labels
Issue Labels
Pull Request Labels
Packages
- Total packages: 1
- Total downloads: unknown
- Total docker downloads: 5
- Total dependent packages: 0
- Total dependent repositories: 3,242
- Total versions: 9
github actions: andstor/file-existence-action
GitHub Action to check for file existence
- Homepage: https://github.com/marketplace/actions/file-existence
- License: mit
- Status: removed
-
Latest release: v3.0.0
published over 2 years ago
Rankings
Dependencies
- 305 dependencies
- @types/chai ^4.3.0 development
- @types/glob ^7.2.0 development
- @types/mocha ^9.1.0 development
- @types/node ^16.10.5 development
- @types/tmp ^0.2.3 development
- @typescript-eslint/parser ^5.8.1 development
- @vercel/ncc ^0.31.1 development
- @zeit/ncc ^0.20.5 development
- chai ^4.3.6 development
- eslint ^7.32.0 development
- eslint-plugin-github ^4.3.5 development
- eslint-plugin-jest ^26.1.1 development
- js-yaml ^4.1.0 development
- mocha ^9.2.1 development
- prettier 2.5.1 development
- ts-node ^10.5.0 development
- typescript ^4.4.4 development
- @actions/core ^1.6.0
- glob ^7.2.0
- tmp ^0.2.1
- actions/checkout v1 composite
- Actions-R-Us/actions-tagger latest composite
- dist/index.js node16 javascript