fjogeleit / yaml-update-action

Update YAML property with dynamic values

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

github action unable to pull integration

guy4boombox opened this issue · comments

- name: update values.yaml uses: fjogeleit/yaml-update-action@v0.12.3 ... etc ...
results in
Error: HttpError: Resource not accessible by integration

Ensure your GitHub token has the right permissions to execute the configurated operations.

Something I found with a quick search was:

permissions:
  id-token: write
  contents: read
  issues: write
  pull-requests: write

in this article https://sjramblings.io/github-actions-resource-not-accessible-by-integration/

In any case comes this error from the github api and is related to the token permission. You can also define an dedicated token with the necessary permissions and use it as secret.

I can’t really say what the concrete issue is without knowing the detailed configuration of your workflow

You're welcome. Let me know if you need additional help or if you have further questions.

Can I close this issue or do you still have issues?