Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions .github/workflows/semantic-release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ on:
- main
workflow_call:
inputs:
GH_APP_ID:
GH_SEM_REL_APP_ID:
type: string
required: false
semantic_release_plugins:
Expand All @@ -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:
Expand All @@ -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:
Expand Down
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down Expand Up @@ -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**

Expand Down