Visitar URL original
Adds github action to reset cicd when new branches come by gaaclarke · Pull Request #183675 · flutter/flutter · GitHub
Skip to content
Merged
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
23 changes: 23 additions & 0 deletions .github/workflows/cicd.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
# Copyright 2024 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: Remove outdated CICD Label

on:
pull_request_target:
types: [synchronize]

permissions:
pull-requests: write

jobs:
remove_label:
Comment thread
gaaclarke marked this conversation as resolved.
Resolved
if: contains(github.event.pull_request.labels.*.name, 'CICD')
runs-on: ubuntu-latest
steps:
- name: Remove outdated CICD label
run: |
gh pr edit ${{ github.event.pull_request.number }} -R flutter/flutter --remove-label "CICD"
env:
GITHUB_TOKEN: ${{ github.token }}