From 167ed3f31310f01407b7b98f67df977be85bf4cf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Zolt=C3=A1n=20M=C3=A1t=C3=A9?= Date: Tue, 5 Jul 2022 15:37:51 +0200 Subject: [PATCH 1/2] Renaming workflows --- .github/workflows/{publish.yml => publish-nuget.yml} | 0 .../workflows/{verify.yml => verify-submodule-pull-request.yml} | 0 2 files changed, 0 insertions(+), 0 deletions(-) rename .github/workflows/{publish.yml => publish-nuget.yml} (100%) rename .github/workflows/{verify.yml => verify-submodule-pull-request.yml} (100%) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish-nuget.yml similarity index 100% rename from .github/workflows/publish.yml rename to .github/workflows/publish-nuget.yml diff --git a/.github/workflows/verify.yml b/.github/workflows/verify-submodule-pull-request.yml similarity index 100% rename from .github/workflows/verify.yml rename to .github/workflows/verify-submodule-pull-request.yml From 3b894872c8e31a336d0e68e089c6f42708a8b390 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Zolt=C3=A1n=20M=C3=A1t=C3=A9?= Date: Tue, 5 Jul 2022 16:15:00 +0200 Subject: [PATCH 2/2] Updating docs --- .github/workflows/verify-this-repo.yml | 2 +- Docs/Workflows.md | 10 +++++----- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/verify-this-repo.yml b/.github/workflows/verify-this-repo.yml index d48d05587..4821ef32f 100644 --- a/.github/workflows/verify-this-repo.yml +++ b/.github/workflows/verify-this-repo.yml @@ -7,4 +7,4 @@ on: jobs: call-verify-workflow: - uses: Lombiq/GitHub-Actions/.github/workflows/verify.yml@dev + uses: Lombiq/GitHub-Actions/.github/workflows/verify-submodule-pull-request.yml@dev diff --git a/Docs/Workflows.md b/Docs/Workflows.md index d1b9b550e..2caeb518d 100644 --- a/Docs/Workflows.md +++ b/Docs/Workflows.md @@ -1,4 +1,4 @@ -# Reusable GitHub Actions workflows +# Reusable GitHub Actions workflows @@ -58,7 +58,7 @@ on: jobs: call-publish-workflow: - uses: Lombiq/GitHub-Actions/.github/workflows/publish.yml@dev + uses: Lombiq/GitHub-Actions/.github/workflows/publish-nuget.yml@dev secrets: apikey: ${{ secrets.DEFAULT_NUGET_PUBLISH_API_KEY }} ``` @@ -72,7 +72,7 @@ It takes one non-optional secret parameter, `apikey`, the organization API key f ```yaml jobs: call-publish-workflow: - uses: Lombiq/GitHub-Actions/.github/workflows/publish.yml@dev + uses: Lombiq/GitHub-Actions/.github/workflows/publish-nuget.yml@dev with: source: https://nuget.cloudsmith.io/lombiq/open-source-orchard-core-extensions/v3/index.json verbosity: detailed @@ -96,11 +96,11 @@ on: jobs: call-verify-workflow: - uses: Lombiq/GitHub-Actions/.github/workflows/verify.yml@dev + uses: Lombiq/GitHub-Actions/.github/workflows/verify-submodule-pull-request.yml@dev with: repo: Lombiq/Open-Source-Orchard-Core-Extensions ``` If this is for a submodule of [Lombiq's Open-Source Orchard Core Extensions](https://github.com/Lombiq/Open-Source-Orchard-Core-Extensions/), the `repo` input can be omitted, because the above is its default value. Otherwise, use your parent repository's address in the `{owner}/{repo_name}` format. -Refer to [Github Actions reusable workflows](https://docs.github.com/en/actions/learn-github-actions/reusing-workflows#overview) for more information. \ No newline at end of file +Refer to [Github Actions reusable workflows](https://docs.github.com/en/actions/learn-github-actions/reusing-workflows#overview) for more information.