question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Action without permissions

See original GitHub issue

I was testing an action that was triggered on tag creation that updated the package version.

However, I am getting a Permission to afonsojramos/parrot.git denied to github-actions[bot]., do you have any idea why?

You can checkout the workflow here.

image

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:7 (3 by maintainers)

github_iconTop GitHub Comments

3reactions
EndBugcommented, Jan 11, 2022

Oh, ok, then I think you would need to use a PAT if you’re planning on using administrator privileges. Otherwise, if the branch protection rules do not prevent pushing (like if, for example, they just prevent you from deleting the branch) then the default token should work fine. In general, I try not to use PATs if they’re not necesssary

1reaction
afonsojramoscommented, Jan 11, 2022

My thoughts exactly, thanks!

Read more comments on GitHub >

github_iconTop Results From Across the Web

Django REST Framework viewset per-action permissions
Let's suppose I defined some permissions classes such as 'IsAdmin', 'IsRole1', 'IsRole2', ..., and I want to grant different permissions to the ...
Read more >
Permissions - Django REST framework
Permissions are used to grant or deny access for different classes of users to different parts of the API. The simplest style of...
Read more >
Allow separate permissions per View in ViewSet #1067 - GitHub
Hi guys, I've just updated to the latest version(2.3.7) and was exited! It is awesome! My question is: Can I specify permission_classes per ......
Read more >
Actions, resources, and condition keys for AWS services
Lists all of the available actions, resources, and condition context keys that can be used in IAM policies to control access to AWS...
Read more >
Permissions on Android - Android Developers
Overview · <action> · <activity> · <activity-alias> · <application> · <category> · <compatible-screens> · <data> · <grant-uri-permission> · <instrumentation> ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found