diff --git a/.github/workflows/Auto-Release.yml b/.github/workflows/Release-GHRepository.yml similarity index 71% rename from .github/workflows/Auto-Release.yml rename to .github/workflows/Release-GHRepository.yml index daeed4c..b1fc836 100644 --- a/.github/workflows/Auto-Release.yml +++ b/.github/workflows/Release-GHRepository.yml @@ -1,6 +1,6 @@ -name: Auto-Release +name: Release-GHRepository -run-name: "Auto-Release - [${{ github.event.pull_request.title }} #${{ github.event.pull_request.number }}] by @${{ github.actor }}" +run-name: "Release-GHRepository - [${{ github.event.pull_request.title }} #${{ github.event.pull_request.number }}] by @${{ github.actor }}" on: pull_request: @@ -22,7 +22,7 @@ permissions: pull-requests: write jobs: - Auto-Release: + Release-GHRepository: runs-on: ubuntu-latest steps: - name: Checkout Code @@ -30,7 +30,7 @@ jobs: with: persist-credentials: false - - name: Auto-Release + - name: Release-GHRepository uses: ./ with: IncrementalPrerelease: false diff --git a/README.md b/README.md index 7118218..eb54727 100644 --- a/README.md +++ b/README.md @@ -1,11 +1,11 @@ -# Auto-Release +# Release-GHRepository Automatically creates releases based on pull requests and labels. ## Specifications and practices -Auto-Release follows: +Release-GHRepository follows: - [SemVer 2.0.0 specifications](https://semver.org) - [GitHub Flow specifications](https://docs.github.com/en/get-started/using-github/github-flow) @@ -80,7 +80,7 @@ This example uses the date format for the prerelease, disables the incremental p Add a workflow in you repository using the following example: ```yaml -name: Auto-Release +name: Release-GHRepository on: pull_request_target: @@ -97,14 +97,14 @@ concurrency: group: ${{ github.workflow }}-${{ github.ref }} jobs: - Auto-Release: + Release-GHRepository: runs-on: ubuntu-latest steps: - name: Checkout Code uses: actions/checkout@v4 - - name: Auto-Release - uses: PSModule/Auto-Release@v1 + - name: Release-GHRepository + uses: PSModule/Release-GHRepository@v1 ``` ## Permissions diff --git a/action.yml b/action.yml index cc1538a..d6eb2a0 100644 --- a/action.yml +++ b/action.yml @@ -1,4 +1,4 @@ -name: Auto Release (by PSModule) +name: Release GHRepository (by PSModule) description: Automatically creates releases based on pull requests and labels. author: PSModule branding: @@ -93,7 +93,7 @@ inputs: runs: using: composite steps: - - name: Auto-Release + - name: Release-GHRepository uses: PSModule/GitHub-Script@e827bea46d70eebc668bdd59e4654e0846177da4 # v1.7.9 env: PSMODULE_AUTO_RELEASE_INPUT_AutoCleanup: ${{ inputs.AutoCleanup }} @@ -117,8 +117,8 @@ runs: Prerelease: ${{ inputs.Prerelease }} Verbose: ${{ inputs.Verbose }} Version: ${{ inputs.Version }} - Name: Auto-Release + Name: Release-GHRepository WorkingDirectory: ${{ inputs.WorkingDirectory }} Script: | - # Auto-Release + # Release-GHRepository ${{ github.action_path }}/scripts/main.ps1