diff --git a/README.md b/README.md index 33701de..3c3e1ce 100644 --- a/README.md +++ b/README.md @@ -5,7 +5,8 @@ This repository serves as a library for storing common automation workflows and ## How to Use This Repository 1. **Copy Workflow Templates** - Copy the contents of the `workflow-templates` directory into the `.github/workflows` directory of the repository you want to automate. Edit any necessary variables to customize the workflows to your needs (details TBD). + Copy the contents of the `workflow-templates` directory into the `.github/workflows` directory of the repository you want to automate. Edit any necessary variables to customize the workflows to your needs. (details TBD). + **NOTE:** manifest name is mandatory! 2. **Copy Common Files** Copy files such as `.gitignore` into the root directory of the target repository to ensure consistency in configuration and file management. \ No newline at end of file diff --git a/workflow_templates/build-artifacts.yml b/workflow_templates/build-artifacts.yml index c37ca3a..9c4a0fc 100644 --- a/workflow_templates/build-artifacts.yml +++ b/workflow_templates/build-artifacts.yml @@ -6,16 +6,11 @@ on: - master - main workflow_call: - -env: - MANIFEST_FILENAME: "name.manifest.manifest.yaml" + workflow_dispatch: jobs: - install-dependencies: - uses: RetroDECK/components-template/.github/workflows/install_dependencies.yml@main build-project: - needs: install-dependencies # Ensures this job only runs after install-dependencies uses: RetroDECK/components-template/.github/workflows/build_artifacts.yml@main with: - MANIFEST_FILENAME: ${{ env.MANIFEST_FILENAME }} \ No newline at end of file + MANIFEST_FILENAME: "put.something.else.yaml" \ No newline at end of file diff --git a/workflow_templates/pr-from-upstream.yml b/workflow_templates/pr-from-upstream.yml index 2eccbdf..7eaa9b4 100644 --- a/workflow_templates/pr-from-upstream.yml +++ b/workflow_templates/pr-from-upstream.yml @@ -2,14 +2,10 @@ name: "Sync with Upstream and Create PR" on: workflow_call: + workflow_dispatch: schedule: - cron: "30 0 * * *" # Run every day at 00:30 UTC (9:30 JST) jobs: - Upstream-sync: - runs-on: ubuntu-latest - - steps: - - - name: "Sync with upstream" - uses: RetroDECK/components-template/.github/workflows/pr_from_upstream.yml@main \ No newline at end of file + upstream-sync: + uses: RetroDECK/components-template/.github/workflows/pr_from_upstream.yml@main \ No newline at end of file