Skip to content

Commit

Permalink
[github actions] change minimal example workflow to be manually dispa…
Browse files Browse the repository at this point in the history
…tched (#140435)

This would allow easier testing of the minimal example.

Might need Github Admin power to trigger the manual dispatches.
  • Loading branch information
XilaiZhang committed Dec 20, 2023
1 parent ea5b972 commit 62d6999
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions .github/workflows/minimal.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,19 +5,14 @@
name: Minimal workflow to test github action token

on:
pull_request:
branches: master
types: [labeled]
workflow_dispatch

permissions: write-all

jobs:
minimal_token_test:
name: minimal_token_test
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:
- name: Checkout Flutter Repo
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11
Expand Down

0 comments on commit 62d6999

Please sign in to comment.