October DealsAmazon USOctober deal check: compare before you payAmazon US: current deals, useful picks and tech finds.Check DealsClean PCRecommendedOne scan can reveal what keeps slowing WindowsLook for cleanup and repair opportunities.Run ScanOctober DealsAmazon USDeal season is back - check today's better picksAmazon US: current deals, useful picks and tech finds.See Picks×
Skip to content
World desk4 min

Can a Read-Only GitHub Action Build Changelogs from Ordinary Commits?

GitHub documents that contents: read lets an Action list commits, making read-only changelog generation possible. The exact scopes and support for ordinary commit messages depend on the Action’s implementation.
Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Yes: a GitHub Action can read commit history and generate changelog content without repository write permission. GitHub documents contents: read as sufficient for an action to list commits; contents: write is needed for actions that create releases. Whether a particular changelog Action accepts unstructured commit messages, and what it does with the generated text, depends on that Action’s implementation.

What “read-only” means for a changelog workflow

GitHub Actions permissions control what the workflow’s GITHUB_TOKEN can do. GitHub allows permissions to be set for an entire workflow or for an individual job. When you specify a permissions map, any permission you leave out is set to none, so an explicit, minimal map is a practical way to limit access. GitHub recommends granting only the access a workflow needs. See GitHub’s workflow syntax documentation.

As an Amazon Associate I earn from qualifying purchases.

For a job that only needs to list commits, GitHub says contents: read permits that operation. By contrast, contents: write allows an action to create a release. A changelog generator can therefore read repository history and produce content without being authorized to modify repository contents or create a release—provided its implementation does not need additional capabilities.

What’s actually slowing this PC down?

Pick the symptom - the matching free tool is one click away.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

How to scope permissions in a workflow

A minimal job-level example for a workflow whose job only needs repository contents read access is:

permissions: {}

jobs:
  changelog:
    permissions:
      contents: read
    runs-on: ubuntu-latest
    steps:
      # Add the changelog Action and its documented inputs here.

This is a permissions example, not a complete working changelog workflow. The Action’s name, version, inputs, and output handling must come from its own documentation; those details cannot be inferred from the fact that it generates changelogs. The empty workflow-level map denies permissions by default, while the job-level map grants only contents read access to that job.

If the workflow needs other capabilities, grant only the corresponding documented scopes. For example, a tool that reads pull-request information may need a pull-request permission. Do not add write access simply because a workflow produces text: generating text and committing or publishing it are separate operations.

What the token can—and cannot—do

GITHUB_TOKEN is an installation access token created for workflow jobs and scoped to the repository that contains the workflow. GitHub states that its permissions are limited to that repository. This bounds the token’s reach, but least-privilege permissions still matter: repository-scoped write access is broader than read access. Details are in GitHub’s GITHUB_TOKEN documentation.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Events caused by GITHUB_TOKEN generally do not start another workflow run. GitHub documents exceptions, so workflows that depend on downstream event triggers should check the current rules rather than assume that a token-created change will trigger another workflow. This behavior is distinct from whether the original job has permission to write.

Do ordinary commits require Conventional Commits?

Not necessarily. “Ordinary commits” only describes commits without establishing that their subjects follow a particular format. Conventional Commits is a published convention for structuring commit messages, not a GitHub Actions requirement. Its specification is version 1.0.0, dated February 1, 2019: Conventional Commits 1.0.0.

Whether a specific Action can turn arbitrary commit subjects into useful changelog entries depends on its parser and rules. The available evidence does not establish how the Action in this topic parses messages, groups entries, handles tags or ranges, or formats its output. Check its own documentation or source before relying on unstructured messages. If you want consistent categories and predictable parsing, adopting a commit convention is an optional team workflow choice, not a proven prerequisite for this Action.

Independent reader supportYour contribution helps us test, update, and keep practical guides available for everyone.Support on Ko-Fi

How this differs from a comparable changelog Action

The Marketplace listing for Release Changelog Builder is a separate tool, not evidence of the implementation described by the title. Its listing says the Action does not modify the repository and identifies contents: read and pull-requests: read as permissions that may be needed. Those scopes reflect that tool’s documented use case; they should not be copied automatically into another workflow. See the Release Changelog Builder Marketplace listing.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
Question Read-only design described here Release Changelog Builder listing
Permission evidence GitHub documents contents: read for listing commits. The Action’s exact minimum scopes are not established. The listing identifies contents: read and pull-requests: read as potentially needed.
Commit-message format Not established. Not established by the cited listing information.
Output destination and release creation Not established. Read-only permissions would prevent repository writes through that token. The listing says it does not modify the repository; release-creation behavior is not established here.

What to verify before relying on an Action

  • Confirm the precise permissions it requests and whether it needs commit history only or also pull-request data.
  • Check whether commit subjects must follow a format, and how tags or commit ranges are selected.
  • Identify where generated content goes: a workflow artifact, a job output, a pull-request comment, or a repository change are different behaviors with different permission needs.
  • Verify whether creating a release is an optional separate step or part of the Action’s behavior; release creation requires write capability.
  • Review its documented triggers and any trigger-specific permission implications. In particular, GitHub warns that pull_request_target runs with read/write repository permission even when triggered from a public fork; it is not a default choice for a read-only design.

Product prices and availability are accurate as of the date/time indicated and are subject to change. Any price and availability information displayed on Amazon at the time of purchase will apply.

Leave a Reply

Your email address will not be published. Required fields are marked *

Free tools Windows power users keep installed

One-click scans. No signup required.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

More from the Wire

  1. World desk4 min
    How to Spot an AI Voice Scam Before Sending MoneyDon’t rely on how a caller sounds. Pause, call back through a known number, and verify the emergency with another trusted person before sending money.
  2. Mountain View desk4 min
    Google’s SynthID Detector: How to Check AI-Generated Images, Video and AudioGoogle’s SynthID Detector looks for an embedded watermark in supported images, video and audio. Here is what its results do—and do not—show.
  3. Redmond desk20 min
    How to create a link to File or Folder in Windows 11Windows 11 gives you several ways to point to a file or folder without moving or duplicating it. You can create a desktop shortcut,…
Recommended PC Tool
Recommended PC Tool
Crashes, No Sound, or Screen Glitches?Free driver scan
Windows Errors? Fix Them Before They SpreadFree repair scan

Two free Windows tools

One Free Minute Could Fix That PC

Before you go - each of these free tools takes about a minute and tackles what quietly slows a Windows PC down.

Special offer. View Outbyte info, uninstall instructions, EULA, and Privacy Policy.