forge icon indicating copy to clipboard operation
forge copied to clipboard

Update publisher-github readme to provide required permissions

Open steveoh opened this issue 1 year ago • 0 comments

Pre-flight checklist

  • [X] I have read the contribution documentation for this project.
  • [X] I agree to follow the code of conduct that this project uses.
  • [X] I have searched the issue tracker for a feature request that matches the one I want to file, without success.

Problem description

The npm package does not document the required permissions it needs to function leading to errors in deployments

✖ [publisher-github] Running the publish command [FAILED: Resource not accessible by integration]
✖ Publishing distributables [FAILED: Resource not accessible by integration]

Proposed solution

update the readme to include the following permissions. I believe these are the minimum requirements.

permissions:
  id-token: write
  deployments: write
  contents: write

Alternatives considered

none

Additional information

I'm happy to contribute the doc change if you can verify the correct permissions.

steveoh avatar Oct 02 '24 00:10 steveoh