Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

HttpError: Resource not accessible by integration #156

Open
rotoni opened this issue Aug 30, 2023 · 1 comment
Open

HttpError: Resource not accessible by integration #156

rotoni opened this issue Aug 30, 2023 · 1 comment

Comments

@rotoni
Copy link

rotoni commented Aug 30, 2023

When using v1, I encountered the following error.

Run bobheadxi/deployments@v1
initializing new deployment for production @ refs/heads/main
unexpected error encountered: HttpError: Resource not accessible by integration
Error: unexpected error encountered: HttpError: Resource not accessible by integration - see logs for more information

However, changing to v1.4.0 did not improve the issue.

Github Actions setting:

 - name: Start Deployment
   uses: bobheadxi/deployments@v1
   id: deployment
   with:
     step: start
     token: ${{ secrets.GITHUB_TOKEN }}
     env: production
@LoicFerrot
Copy link

Adding the following solved the "issue" for me 👍

jobs:
  job-name:
    permissions: 
      deployments: write

It would be nice if the added permission were specified in the example in the doc.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants
@rotoni @LoicFerrot and others