Skip to content

Commit

Permalink
Use new glob pattern feature of [email protected] (#44)
Browse files Browse the repository at this point in the history
  • Loading branch information
reakaleek authored Jun 6, 2024
1 parent fdc908e commit 2406ca1
Show file tree
Hide file tree
Showing 19 changed files with 22 additions and 21 deletions.
3 changes: 2 additions & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,9 @@ repos:
- id: trailing-whitespace
exclude: dist/index.js
- repo: https://github.com/reakaleek/gh-action-readme
rev: v0.3.1
rev: v0.4.0
hooks:
- id: action-readme
verbose: true
args:
- --env=VERSION=v1
2 changes: 1 addition & 1 deletion buildkite/download-artifact/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ A GitHub Action for downloading artifacts from a Buildkite build.

## Usage

<!--usage action="elastic/oblt-actions/buildkite/download-artifact" version="env:VERSION"-->
<!--usage action="elastic/oblt-actions/**" version="env:VERSION"-->
```yaml
jobs:
run-buildkite:
Expand Down
2 changes: 1 addition & 1 deletion buildkite/run/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ A GitHub Action for triggering a build on a Buildkite pipeline.
<!--/outputs-->

## Usage
<!--usage action="elastic/oblt-actions/buildkite/run" version="env:VERSION"-->
<!--usage action="elastic/oblt-actions/**" version="env:VERSION"-->
```yaml
jobs:
run-buildkite:
Expand Down
2 changes: 1 addition & 1 deletion check-dependent-jobs/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ Evaluates the combined the status results of the provided needs context.

## Usage

<!--usage action="elastic/oblt-actions/check-dependent-jobs" version="env:VERSION"-->
<!--usage action="elastic/oblt-actions/**" version="env:VERSION"-->
```yaml
jobs:
job-a:
Expand Down
2 changes: 1 addition & 1 deletion git/setup/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ after this action.

## Usage

<!--usage action="elastic/oblt-actions/git/setup" version="env:VERSION"-->
<!--usage action="elastic/oblt-actions/**" version="env:VERSION"-->
```yaml
---
name: deploy
Expand Down
4 changes: 2 additions & 2 deletions google/auth/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ GCP Workload Identity Pool Provider ID we use for Elastic Observability reposito

## Usage

<!--usage action="elastic/oblt-actions/google/auth" version="env:VERSION"-->
<!--usage action="elastic/oblt-actions/**" version="env:VERSION"-->
```yaml
jobs:
job_id:
Expand All @@ -37,4 +37,4 @@ jobs:
- uses: 'actions/checkout@v4' # Checkout needs to happen before using this action
- uses: 'elastic/oblt-actions/google/auth@v1'
```
<--/usage-->
<!--/usage-->
2 changes: 1 addition & 1 deletion oblt-cli/cluster-create-ccs/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ Run the oblt-cli wrapper to create a CCS cluster.
<!--/inputs-->

## Usage
<!--usage action="elastic/oblt-actions/oblt-cli/cluster-create-ccs" version="env:VERSION"-->
<!--usage action="elastic/oblt-actions/**" version="env:VERSION"-->
```yaml
jobs:
run-oblt-cli:
Expand Down
2 changes: 1 addition & 1 deletion oblt-cli/cluster-create-custom/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ Run the oblt-cli wrapper to create a custom cluster.
<!--/inputs-->

## Usage
<!--usage action="elastic/oblt-actions/oblt-cli/cluster-create-custom" version="env:VERSION"-->
<!--usage action="elastic/oblt-actions/**" version="env:VERSION"-->
```yaml
---
name: Create custom cluster using the oblt-cli
Expand Down
2 changes: 1 addition & 1 deletion oblt-cli/cluster-create-serverless/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ Run the oblt-cli wrapper to create a serverless cluster.

## Usage

<!--usage action="elastic/oblt-actions/oblt-cli/create-serverless" version="env:VERSION"-->
<!--usage action="elastic/oblt-actions/**" version="env:VERSION"-->
```yaml
jobs:
create-serverless:
Expand Down
2 changes: 1 addition & 1 deletion oblt-cli/cluster-credentials/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ Masked environment variables that are available:

## Usage

<!--usage action="elastic/oblt-actions/oblt-cli/cluster-credentials" version="env:VERSION"-->
<!--usage action="elastic/oblt-actions/**" version="env:VERSION"-->
```yaml
jobs:
cat-indices:
Expand Down
2 changes: 1 addition & 1 deletion oblt-cli/cluster-name-validation/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ Get the cluster name based on the parameters
<!--/outputs-->

## Usage
<!--usage action="elastic/oblt-actions/oblt-cli/cluster-name-validation" version="env:VERSION"-->
<!--usage action="elastic/oblt-actions/**" version="env:VERSION"-->
```yaml
jobs:
get-cluster-name:
Expand Down
2 changes: 1 addition & 1 deletion oblt-cli/run/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ Run the oblt-cli wrapper.
<!--/inputs-->

## Usage
<!--usage action="elastic/oblt-actions/oblt-cli/run" version="env:VERSION"-->
<!--usage action="elastic/oblt-actions/**" version="env:VERSION"-->
```yaml
jobs:
run-oblt-cli:
Expand Down
2 changes: 1 addition & 1 deletion oblt-cli/setup/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ Setup oblt-cli for use in GitHub Actions workflows.
<!--/inputs-->

## Usage
<!--usage action="elastic/oblt-actions/oblt-cli/setup" version="env:VERSION"-->
<!--usage action="elastic/oblt-actions/**" version="env:VERSION"-->
```yaml
jobs:
run-oblt-cli:
Expand Down
2 changes: 1 addition & 1 deletion slack/notify-result/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ This is an opinionated GitHub Action to send a message in slack with the build r

## Usage

<!--usage action="elastic/oblt-actions/slack/notify-result" version="env:VERSION"-->
<!--usage action="elastic/oblt-actions/**" version="env:VERSION"-->
```yaml
name: slack

Expand Down
2 changes: 1 addition & 1 deletion slack/send/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@

## Usage

<!--usage action="elastic/oblt-actions/slack/send" version="env:VERSION"-->
<!--usage action="elastic/oblt-actions/**" version="env:VERSION"-->
```yaml
name: slack

Expand Down
2 changes: 1 addition & 1 deletion snapshoty/run/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ of the variable will be passed.

## Usage

<!--usage action="elastic/oblt-actions/snapshoty/run" version="env:VERSION"-->
<!--usage action="elastic/oblt-actions/**" version="env:VERSION"-->
```yaml
steps:
- uses: elastic/oblt-actions/snapshoty/run@v1
Expand Down
2 changes: 1 addition & 1 deletion updatecli/install/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ This is an opinionated GitHub Action to install the updatecli

## Usage

<!--usage action="elastic/oblt-actions/updatecli/install" version="env:VERSION"-->
<!--usage action="elastic/oblt-actions/**" version="env:VERSION"-->
```yaml
name: updatecli

Expand Down
4 changes: 2 additions & 2 deletions updatecli/run-and-notify/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ notifications.
<!--/inputs-->

## Usage
<!--usage action="elastic/oblt-actions/updatecli/run-and-notify" version="env:VERSION"-->
<!--usage action="elastic/oblt-actions/**" version="env:VERSION"-->
```yaml
jobs:
updatecli:
Expand All @@ -37,4 +37,4 @@ jobs:
slack-message: "Automation failed"
slack-send-when: 'failure'
```
<--/usage-->
<!--/usage-->
2 changes: 1 addition & 1 deletion updatecli/run/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@

## Usage

<!--usage action="elastic/oblt-actions/updatecli/run" version="env:VERSION"-->
<!--usage action="elastic/oblt-actions/**" version="env:VERSION"-->
```yaml
name: updatecli

Expand Down

0 comments on commit 2406ca1

Please sign in to comment.