mirror of
https://github.com/espressif/openthread.git
synced 2026-08-08 11:47:46 +00:00
[github-actions] fix branch filter in OTNS workflow (#7382)
Also pin ubuntu image to 20.04.
This commit is contained in:
@@ -41,12 +41,12 @@ env:
|
||||
jobs:
|
||||
|
||||
cancel-previous-runs:
|
||||
runs-on: ubuntu-latest
|
||||
runs-on: ubuntu-20.04
|
||||
steps:
|
||||
- uses: rokroskar/workflow-run-cleanup-action@master
|
||||
env:
|
||||
GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}"
|
||||
if: "github.ref != 'refs/heads/master'"
|
||||
if: "github.ref != 'refs/heads/main'"
|
||||
|
||||
unittests:
|
||||
name: Unittests
|
||||
|
||||
Reference in New Issue
Block a user