Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: actions/create-github-app-token
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v2.0.3
Choose a base ref
Loading
...
head repository: actions/create-github-app-token
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v2.0.4
Choose a head ref
Loading
  • 2 commits
  • 9 files changed
  • 3 contributors

Commits on May 2, 2025

  1. fix: permission input handling (#243)

    This pull request fixes the handling of permissions inputs.
    
    - Updated `getPermissionsFromInputs` in
    `lib/get-permissions-from-inputs.js` to use hyphens
    (`INPUT_PERMISSION-`) instead of underscores (`INPUT_PERMISSION_`) in
    input keys, added a check to skip empty values, and clarified behavior
    when no permissions are set.
    - Added a `shouldRetry` function to retry requests when server errors
    (HTTP status 500 or higher) occur in the `main` function in
    `lib/main.js` to prevent unnecessary retries.
    - Updated test cases in `tests/main-token-permissions-set.test.js` to
    match the new input key format with hyphens.
    - Added a default empty string for unset inputs (e.g.,
    `INPUT_PERMISSION-ADMINISTRATION`) in `tests/main.js` to simulate the
    behavior of the Actions runner.
    - Updated snapshots in `tests/snapshots/index.js.md` to reflect the
    updated hyphenated input keys in permissions.
    
    ---------
    
    Co-authored-by: Gregor Martynus <39992+gr2m@users.noreply.github.com>
    parkerbxyz and gr2m authored May 2, 2025
    Configuration menu
    Copy the full SHA
    2950cbc View commit details
    Browse the repository at this point in the history
  2. build(release): 2.0.4 [skip ci]

    ## [2.0.4](v2.0.3...v2.0.4) (2025-05-02)
    
    ### Bug Fixes
    
    * permission input handling ([#243](#243)) ([2950cbc](2950cbc))
    semantic-release-bot committed May 2, 2025
    Configuration menu
    Copy the full SHA
    4821f52 View commit details
    Browse the repository at this point in the history
Loading
Morty Proxy This is a proxified and sanitized view of the page, visit original site.