Html2Markdown icon indicating copy to clipboard operation
Html2Markdown copied to clipboard

Grant GitHub App workflows permission

Open Copilot opened this issue 3 months ago • 0 comments

Pull Request

Please add description for changes you are making

GitHub Actions workflows that push tags were failing with permission errors when using a GitHub App token. The error occurred when step-tag-release.yml attempted to push tags:

refusing to allow a GitHub App to create or update workflow `.github/workflows/branch-hotfix.yml` without `workflows` permission

Added explicit workflow permissions to three branch workflows:

  • branch-develop.yml - Pushes beta release tags
  • branch-master.yml - Pushes production release tags
  • branch-hotfix.yml - Commits version bumps

Each now includes:

permissions:
  contents: write
  workflows: write

If there is an issue related to this PR, please add the reference

Resolves the workflow failure described in the issue where the GitHub App lacks permission to modify workflows during tag operations.

Original prompt

This section details on the original issue you should resolve

<issue_title>Grant GitHub App Workflows Permission</issue_title> <issue_description>## Description The recent workflow run (see: Workflow Run) failed because the GitHub App used does not have the required workflows permission. The error reads: refusing to allow a GitHub App to create or update workflow .github/workflows/branch-hotfix.yml without workflows permission.

Steps to Fix:

  1. Update permissions in your workflow (e.g. .github/workflows/branch-develop.yml) by adding:
   permissions:
     contents: write
     workflows: write
```</issue_description>

## Comments on the Issue (you are @copilot in this section)

<comments>
</comments>

  • Fixes baynezy/Html2Markdown#683

💬 We'd love your input! Share your thoughts on Copilot coding agent in our 2 minute survey.

Copilot avatar Dec 06 '25 12:12 Copilot