Skip to content

Commit

Permalink
feat: add suzuki-shunsuke/deny-self-approve (#30904)
Browse files Browse the repository at this point in the history
* feat(suzuki-shunsuke/deny-self-approve): scaffold suzuki-shunsuke/deny-self-approve

* fix(suzuki-shunsuke/deny-self-approve): configure slsa_provenance and cosign
  • Loading branch information
suzuki-shunsuke authored Jan 14, 2025
1 parent 859d6a9 commit 4d382dd
Show file tree
Hide file tree
Showing 3 changed files with 62 additions and 0 deletions.
2 changes: 2 additions & 0 deletions pkgs/suzuki-shunsuke/deny-self-approve/pkg.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
packages:
- name: suzuki-shunsuke/[email protected]
31 changes: 31 additions & 0 deletions pkgs/suzuki-shunsuke/deny-self-approve/registry.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
# yaml-language-server: $schema=https://raw.githubusercontent.com/aquaproj/aqua/main/json-schema/registry.json
packages:
- type: github_release
repo_owner: suzuki-shunsuke
repo_name: deny-self-approve
description: CLI to deny self-approved GitHub Pull Requests
version_constraint: "false"
version_overrides:
- version_constraint: "true"
asset: deny-self-approve_{{.OS}}_{{.Arch}}.{{.Format}}
format: tar.gz
slsa_provenance:
type: github_release
asset: multiple.intoto.jsonl
checksum:
type: github_release
asset: deny-self-approve_{{trimV .Version}}_checksums.txt
algorithm: sha256
cosign:
opts:
- --certificate-identity-regexp
- "https://github\\.com/suzuki-shunsuke/go-release-workflow/\\.github/workflows/release\\.yaml@.*"
- --certificate-oidc-issuer
- "https://token.actions.githubusercontent.com"
- --signature
- https://github.com/suzuki-shunsuke/deny-self-approve/releases/download/{{.Version}}/deny-self-approve_{{trimV .Version}}_checksums.txt.sig
- --certificate
- https://github.com/suzuki-shunsuke/deny-self-approve/releases/download/{{.Version}}/deny-self-approve_{{trimV .Version}}_checksums.txt.pem
overrides:
- goos: windows
format: zip
29 changes: 29 additions & 0 deletions registry.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 4d382dd

Please sign in to comment.