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
15 changes: 15 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,3 +41,18 @@ jobs:
## Outputs
None
<!--doc_end-->


## Troubleshooting

### A ruleset is blocking the release

You have 2 options:

1. Create a Github App (**recommended**)
2. Create a Personal Access Token (PAT)

A PAT is associated to your personal account, while the Github App is like a bot.
Whichever you choose, you'll have to add it to the exemption list in the ruleset.

For the Github App, you can find the instructions to create one in [Registering a Github App](https://docs.github.com/en/apps/creating-github-apps/registering-a-github-app/registering-a-github-app) and a detail tutorial in [this discussion](https://github.com/orgs/community/discussions/25305#discussioncomment-8256560)
12 changes: 10 additions & 2 deletions action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,14 @@ inputs:
description: "Set git config"
required: false
default: "true"
git-user-name:
description: "Git user name"
required: false
default: "github-actions[bot]"
git-user-email:
description: "Git user email"
required: false
default: "41898282+github-actions[bot]@users.noreply.github.com"

branding:
icon: "anchor"
Expand All @@ -30,8 +38,8 @@ runs:
- if: ${{ inputs.set-git-config == 'true' }}
shell: bash
run: |
git config --global user.name "github-actions[bot]"
git config --global user.email "41898282+github-actions[bot]@users.noreply.github.com"
git config --global user.name "${{ inputs.git-user-name }}"
git config --global user.email "${{ inputs.git-user-email }}"
- id: set-vars
uses: actions/github-script@v8
env:
Expand Down
Loading