Skip to content

An opinionated GitHub Action for outputting globbing result for use in matrix or similar as part of your CI flow.

License

Notifications You must be signed in to change notification settings

codebeltnet/shell-globbing

Use this GitHub action with your project
Add this Action to an existing workflow or create a new one
View on Marketplace

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Shell Globbing

Uses the Shopt Builtin shopt -s globstar extglob command to create a comma separated list of files matching the specified pattern.

This action is part of the Codebelt umbrella and ensures a consistent way of:

  • Defining your CI/CD pipeline
  • Structuring your repository
  • Keeping your codebase small and feasible
  • Writing clean and maintainable code
  • Deploying your code to different environments
  • Automating as much as possible

A paved path to excel as a DevSecOps Engineer.

Usage

To use this action in your GitHub repository, you can follow these steps:

uses: codebeltnet/shell-globbing@v1

Inputs

with:
  # Defines the path to one or more files that will be globbed.
  pattern:

Outputs

with:
  # A comma separated list of files matching the specified pattern.
  result:

Examples

Get list of files

steps:
  - name: Fetch list of files
    uses: codebeltnet/shell-globbing@v1
    with:
      pattern: test/**/*.csproj

Contributing to Shell Globbing

Contributions are welcome! Feel free to submit issues, feature requests, or pull requests to help improve this action.

License

This project is licensed under the MIT License - see the LICENSE file for details.

Other Actions

🔖 Analyze with Codecov
🔖 Analyze with CodeQL
🔖 Finalyze with CodeQL
🔖 Docker Compose
🔖 .NET Build
🔖 .NET Pack
🔖 .NET Restore
🔖 .NET Test
🔖 Install .NET SDK
🔖 Install .NET Tool - MinVer
🔖 Install .NET Tool - Report Generator
🔖 Install .NET Tool - Sonar Scanner
🔖 GCP Download File
🔖 Git Checkout
🔖 MinVer Calculate
🔖 NuGet Push
🔖 Shell Globbing
🔖 Analyze with SonarCloud
🔖 Finalyze with SonarCloud

About

An opinionated GitHub Action for outputting globbing result for use in matrix or similar as part of your CI flow.

Resources

License

Stars

Watchers

Forks

Packages

No packages published