Skip to content

Commit

Permalink
feat: migration of minty configuration (#415)
Browse files Browse the repository at this point in the history
  • Loading branch information
bradegler authored Sep 30, 2024
1 parent 2b97389 commit d5336df
Showing 1 changed file with 32 additions and 0 deletions.
32 changes: 32 additions & 0 deletions .github/minty.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
version: 'minty.abcxyz.dev/v2'

rule:
if: |-
assertion.iss == 'https://token.actions.githubusercontent.com' &&
assertion.repository_owner_id == '93787867' &&
assertion.repository_id == '479173136' &&
assertion.ref == 'refs/heads/main' &&
assertion.workflow_ref == assertion.job_workflow_ref
scope:
draft-release:
rule:
if: |-
assertion.workflow_ref.startsWith("abcxyz/jvs/.github/workflows/draft-release.yml") &&
assertion.event_name == 'workflow_dispatch'
repositories:
- 'jvs'
permissions:
contents: 'write'
pull_requests: 'write'

release:
rule:
if: |-
assertion.workflow_ref.startsWith("abcxyz/jvs/.github/workflows/release.yml") &&
assertion.event_name == 'push'
repositories:
- 'jvs'
permissions:
contents: 'write'
workflows: 'write'

0 comments on commit d5336df

Please sign in to comment.