Skip to content

Commit

Permalink
Merge pull request #192 from esamson/attestations-permission
Browse files Browse the repository at this point in the history
Add attestations permission scope
  • Loading branch information
eed3si9n authored Nov 25, 2024
2 parents cfc2472 + f8565cc commit 84e74ec
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/main/scala/sbtghactions/GenerativePlugin.scala
Original file line number Diff line number Diff line change
Expand Up @@ -203,6 +203,7 @@ ${indent(rendered.mkString("\n"), 1)}"""

def compilePermissionScope(permissionScope: PermissionScope): String = permissionScope match {
case PermissionScope.Actions => "actions"
case PermissionScope.Attestations => "attestations"
case PermissionScope.Checks => "checks"
case PermissionScope.Contents => "contents"
case PermissionScope.Deployments => "deployments"
Expand Down
1 change: 1 addition & 0 deletions src/main/scala/sbtghactions/PermissionScope.scala
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ sealed trait PermissionScope extends Product with Serializable

object PermissionScope {
case object Actions extends PermissionScope
case object Attestations extends PermissionScope
case object Checks extends PermissionScope
case object Contents extends PermissionScope
case object Deployments extends PermissionScope
Expand Down

0 comments on commit 84e74ec

Please sign in to comment.