mirror of
https://github.com/flutter/flutter.git
synced 2025-06-03 00:51:18 +00:00
[github actions] change minimal example workflow to be manually dispatched (#140435)
This would allow easier testing of the minimal example. Might need Github Admin power to trigger the manual dispatches.
This commit is contained in:
parent
ea5b97286e
commit
62d699961f
7
.github/workflows/minimal.yml
vendored
7
.github/workflows/minimal.yml
vendored
@ -5,9 +5,7 @@
|
|||||||
name: Minimal workflow to test github action token
|
name: Minimal workflow to test github action token
|
||||||
|
|
||||||
on:
|
on:
|
||||||
pull_request:
|
workflow_dispatch
|
||||||
branches: master
|
|
||||||
types: [labeled]
|
|
||||||
|
|
||||||
permissions: write-all
|
permissions: write-all
|
||||||
|
|
||||||
@ -15,9 +13,6 @@ jobs:
|
|||||||
minimal_token_test:
|
minimal_token_test:
|
||||||
name: minimal_token_test
|
name: minimal_token_test
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
if: |
|
|
||||||
(github.event.label.name == format('cp{0} beta', ':') || github.event.label.name == format('cp{0} stable', ':')) &&
|
|
||||||
(github.event.pull_request.merged == true)
|
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout Flutter Repo
|
- name: Checkout Flutter Repo
|
||||||
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11
|
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11
|
||||||
|
Loading…
Reference in New Issue
Block a user