github-action icon indicating copy to clipboard operation
github-action copied to clipboard

Speed bumps along the way to getting this action working

Open davewsmith opened this issue 1 year ago • 1 comments

Users who've found the blog post that introduces GitHub actions but who've yet to encounter a need to tag devices may find themselves frustrated when trying to use this action. Failure messages along the way are cryptic, and the README doesn't offer guidance.

A naive attempt with a completely de-fanged Oauth client will produce

"user does not have access to this operation"

which means, without saying so directly, that the oath client needs to have granted write permission to Devices. Then

"requested tags [tag:ci] are invalid or not permitted"

means, without saying so directly, that the policy file hasn't included tags:ci in tagOwners:.

Mentioning these in the README may save future users frustration.

davewsmith avatar Mar 07 '24 03:03 davewsmith

Another potential for "requested tags [tag:ci] are invalid or not permitted" is when you don't include all of the tags on your oauth client (ie. tags: tag:foo,tag:bar for an oauth client with foo and bar tags)

dwo avatar Aug 13 '25 19:08 dwo