Skip to content

Commit

Permalink
Third time's the charm (#93)
Browse files Browse the repository at this point in the history
  • Loading branch information
TAGraves authored Jun 24, 2024
1 parent c04539a commit e80a9d7
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
3 changes: 2 additions & 1 deletion .mint/continuous_integration.yml
Original file line number Diff line number Diff line change
@@ -1,12 +1,13 @@
on:
github:
push:
if: ${{ event.git.branch != 'main' }}
init:
commit-sha: ${{ event.git.sha }}
ref: ${{ event.git.ref }}

concurrency-pools:
- id: rwx-research/mint-cli:pr-${{ init.ref }}
- id: rwx-research/mint-cli:ci-${{ init.ref }}
capacity: 1
on-overflow: cancel-running

Expand Down
4 changes: 3 additions & 1 deletion .mint/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ on:
if: ${{event.git.branch == 'main' }}
init:
commit-sha: ${{ event.git.sha }}
ref: ${{ event.git.ref }}

concurrency-pools:
- id: rwx-research/mint-cli:main
Expand All @@ -14,7 +15,8 @@ tasks:
- key: ci
call: ${{ run.mint-dir }}/continuous_integration.yml
init:
commit: ${{ init.commit-sha }}
commit-sha: ${{ init.commit-sha }}
ref: ${{ init.ref }}

- key: release-unstable
after: [ci]
Expand Down

0 comments on commit e80a9d7

Please sign in to comment.