From e8c577f20af01d05a7ef4f6ff16342d8bc5cd8d7 Mon Sep 17 00:00:00 2001 From: Andres Malagon <71788224+Ang-m4@users.noreply.github.com> Date: Tue, 11 Mar 2025 17:14:00 -0500 Subject: [PATCH] refactor: move reusable workflows directory (#6) --- .../workflows/mfe-s3-bucket-deployment.yml | 0 .../workflows/strain-repo-dispatch.yml | 0 README.md | 10 +++++----- 3 files changed, 5 insertions(+), 5 deletions(-) rename mfe-s3-bucket-deployment/action.yml => .github/workflows/mfe-s3-bucket-deployment.yml (100%) rename strain-repo-dispatch/action.yml => .github/workflows/strain-repo-dispatch.yml (100%) diff --git a/mfe-s3-bucket-deployment/action.yml b/.github/workflows/mfe-s3-bucket-deployment.yml similarity index 100% rename from mfe-s3-bucket-deployment/action.yml rename to .github/workflows/mfe-s3-bucket-deployment.yml diff --git a/strain-repo-dispatch/action.yml b/.github/workflows/strain-repo-dispatch.yml similarity index 100% rename from strain-repo-dispatch/action.yml rename to .github/workflows/strain-repo-dispatch.yml diff --git a/README.md b/README.md index 27150bf..1a678ba 100644 --- a/README.md +++ b/README.md @@ -6,8 +6,8 @@ A centralized spot for all your reusable GitHub Actions workflows and custom act | Name | Description | File Path | |------------------------------|----------------------------------------------------------------------|-----------------------------------------------------------------| -| **Strain Repo Dispatch** | Kicks off strain updates whenever certain repository events happen. | [strain-repo-dispatch/action.yml](strain-repo-dispatch/action.yml) | -| **MFE S3 Bucket Deployment** | Builds and deploys Micro-Frontend apps to AWS S3 with ease. | [mfe-s3-bucket-deployment/action.yml](mfe-s3-bucket-deployment/action.yml) | +| **Strain Repo Dispatch** | Kicks off strain updates whenever certain repository events happen. | [.github/workflows/strain-repo-dispatch.yml](./.github/workflows/strain-repo-dispatch.yml) | +| **MFE S3 Bucket Deployment** | Builds and deploys Micro-Frontend apps to AWS S3 with ease. | [.github/workflows/mfe-s3-bucket-deployment.yml](./.github/workflows/mfe-s3-bucket-deployment.yml) | ## Using Actions from Organization Repositories @@ -17,7 +17,7 @@ If you’d like to use these actions in your own workflows within the same organ ```yaml - name: Run an Action from Actions Hub - uses: nelc/actions-hub//action.yml@v1.0.0 + uses: nelc/actions-hub/.github/workflows/.yml@1.0.0 ``` ### Referencing Specific Versions @@ -26,10 +26,10 @@ You can point to a reusable action or workflow by tag, branch, or commit SHA: ```yaml # Using a version tag -uses: nelc/actions-hub//action.yml@v1.0.0 +uses: nelc/actions-hub/.github/workflows/.yml@v1.0.0 # Using a commit SHA -uses: nelc/actions-hub//action.yml@7a6bcc1234f +uses: nelc/actions-hub/.github/workflows/.yml@7a6bcc1234f ``` ### Authentication Considerations