mirror of
https://github.com/flutter/flutter.git
synced 2026-02-20 02:29:02 +08:00
Update reviewer.
I didn't know this existed until I saw
https://github.com/flutter/flutter/pull/161001.
Introduced https://github.com/flutter/flutter/pull/140363. Tested
credentials are used in the cherry-pick bot:
3762f2e973/.github/workflows/easy-cp.yml (L69)
45 lines
1.2 KiB
YAML
45 lines
1.2 KiB
YAML
# Copyright 2023 The Flutter Authors. All rights reserved.
|
|
# Use of this source code is governed by a BSD-style license that can be
|
|
# found in the LICENSE file.
|
|
|
|
name: Minimal workflow to test github action token
|
|
|
|
on:
|
|
workflow_dispatch
|
|
|
|
permissions: write-all
|
|
|
|
jobs:
|
|
minimal_token_test:
|
|
name: minimal_token_test
|
|
runs-on: ubuntu-latest
|
|
permissions:
|
|
contents: write
|
|
pull-requests: write
|
|
steps:
|
|
- name: Checkout Flutter Repo
|
|
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683
|
|
with:
|
|
repository: flutter/flutter
|
|
token: ${{ github.token }}
|
|
path: flutter
|
|
ref: master
|
|
fetch-depth: 0
|
|
- name: Write a random file
|
|
run: |
|
|
cd flutter
|
|
touch empty.json
|
|
- name: Create Pull Request
|
|
uses: peter-evans/create-pull-request@67ccf781d68cd99b580ae25a5c18a1cc84ffff1f
|
|
with:
|
|
path: flutter
|
|
commit-message: blah
|
|
committer: GitHub <noreply@github.com>
|
|
token: ${{ secrets.FLUTTERACTIONSBOT_CP_TOKEN }}
|
|
labels: |
|
|
cp: review
|
|
title: '[github actions] testing purposes'
|
|
reviewers:
|
|
- christopherfujino
|
|
- jmagman
|