Skip to content

Commit

Permalink
Bring in changes from upstream branch
Browse files Browse the repository at this point in the history
  • Loading branch information
oxve committed Feb 8, 2025
1 parent 01eb100 commit 12bf8b2
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/main.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,8 @@ on:
required: false

concurrency:
group: ${{ github.workflow }}-${{ inputs.platform }} @ ${{ github.head_ref || github.sha }}
# Cancel existing jobs on the same workflow, platform, and PR (or sha if merged).
group: ${{ github.workflow }}-${{ inputs.platform }} @ ${{ github.event.number || github.sha }}
cancel-in-progress: true

jobs:
Expand All @@ -32,6 +33,7 @@ jobs:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GITHUB_PR_REPO_URL: ${{ github.event.pull_request.base.repo.url }}
GITHUB_EVENT_NUMBER: ${{ github.event.number }}
# Don't run jobs on 'runtest' or 'on_device' label event if the change is merged.
if: |
github.event.action != 'labeled' || github.event.pull_request.merged == false &&
(github.event.label.name == 'runtest' || github.event.label.name == 'on_device')
Expand Down
10 changes: 10 additions & 0 deletions .github/workflows/workflow_debug.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,16 @@ on:
- main
- experimental/*
- feature/*
schedule:
# GMT timezone.
- cron: '0 9 * * *'
workflow_dispatch:
inputs:
nightly:
description: 'Nightly workflow.'
required: true
type: boolean
default: false

permissions: {}

Expand Down

0 comments on commit 12bf8b2

Please sign in to comment.