Skip to content

Commit

Permalink
ci: ensure promote command works on openvino branch
Browse files Browse the repository at this point in the history
  • Loading branch information
jnsgruk committed Jan 21, 2025
1 parent 0b2d2bb commit d7204ad
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions .github/workflows/promote-to-stable.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,3 +43,21 @@ jobs:
channel: preview/stable
github-token: ${{ secrets.GITHUB_TOKEN }}
store-token: ${{ secrets.SNAP_STORE_STABLE }}

promote-openvino:
name: ⬆️ Promote to 2.99-openvino/stable
environment: "2.99 OpenVino Candidate Branch"
runs-on: ubuntu-latest
if: |
( !github.event.issue.pull_request )
&& contains(github.event.comment.body, '/promote ')
&& contains(github.event.comment.body, '2.99-openvino/stable')
&& contains(github.event.issue.body, '2.99-openvino/stable')
&& contains(github.event.*.labels.*.name, 'testing')
steps:
- name: ⬆️ Promote to 2.99-openvino/stable
uses: snapcrafters/ci/promote-to-stable@main
with:
channel: 2.99-openvino/stable
github-token: ${{ secrets.GITHUB_TOKEN }}
store-token: ${{ secrets.SNAP_STORE_STABLE }}

0 comments on commit d7204ad

Please sign in to comment.