diff --git a/.github/workflows/semantic-release.yaml b/.github/workflows/semantic-release.yaml index c800350..e9da6e3 100644 --- a/.github/workflows/semantic-release.yaml +++ b/.github/workflows/semantic-release.yaml @@ -6,7 +6,7 @@ on: - main workflow_call: inputs: - GH_APP_ID: + GH_SEM_REL_APP_ID: type: string required: false semantic_release_plugins: @@ -15,7 +15,7 @@ on: default: '' description: Space-separated list of additional semantic-release plugins to install. secrets: - GH_APP_PEM_FILE: + GH_SEM_REL_APP_PEM_FILE: required: false concurrency: @@ -34,10 +34,10 @@ jobs: - name: Create GitHub App token uses: actions/create-github-app-token@v3 id: gh-app-token - if: ${{ inputs.GH_APP_ID != '' }} + if: ${{ inputs.GH_SEM_REL_APP_ID != '' }} with: - app-id: ${{ inputs.GH_APP_ID }} - private-key: ${{ secrets.GH_APP_PEM_FILE }} + app-id: ${{ inputs.GH_SEM_REL_APP_ID }} + private-key: ${{ secrets.GH_SEM_REL_APP_PEM_FILE }} - name: Checkout repository uses: actions/checkout@v6 with: diff --git a/README.md b/README.md index a221887..c0321c5 100644 --- a/README.md +++ b/README.md @@ -35,10 +35,10 @@ jobs: issues: write pull-requests: write with: - GH_APP_ID: ${{ vars.GH_APP_ID }} + GH_SEM_REL_APP_ID: ${{ vars.GH_SEM_REL_APP_ID }} semantic_release_plugins: "@semantic-release/exec" # OPTIONAL Space-separated list of additional semantic-release plugins to install. secrets: - GH_APP_PEM_FILE: ${{ secrets.GH_APP_PEM_FILE }} + GH_SEM_REL_APP_PEM_FILE: ${{ secrets.GH_SEM_REL_APP_PEM_FILE }} ``` To create a GitHub App and a GitHub App Installation: @@ -67,12 +67,12 @@ To create a GitHub App and a GitHub App Installation: - _Repository_ / Settings / Secrets and variables / Actions - Secrets - Repository secrets / **New repository secret** - - Name: `GH_APP_PEM_FILE` + - Name: `GH_SEM_REL_APP_PEM_FILE` - Secret: _content of the PEM file_ - **Add secret** - Variables - Repository variables / **New repository variable** - - Name: `GH_APP_ID` + - Name: `GH_SEM_REL_APP_ID` - Value: _GitHub App ID_ - **Add variable**