Skip to content

Commit

Permalink
Merge pull request #40 from portefaix/feat/cicd-draft-stale
Browse files Browse the repository at this point in the history
Manage Draft PR and state labels
  • Loading branch information
nlamirault committed May 17, 2021
2 parents 17f2aff + 6b177b4 commit f4d837f
Showing 1 changed file with 30 additions and 0 deletions.
30 changes: 30 additions & 0 deletions .github/workflows/draft-labels.yml
@@ -0,0 +1,30 @@
# Copyright (C) 2021 Nicolas Lamirault <nicolas.lamirault@gmail.com>
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.

name: Project / Draft PR Labels

on:
pull_request:
types: [opened, ready_for_review]

jobs:
triage:
runs-on: ubuntu-latest
steps:
- name: label swapping
uses: jinmayamashita/ready-for-review@1.0.0
with:
in-progress-label: 'status/in_progress'
ready-for-review-label: 'status/review_needed'
repo-token: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit f4d837f

Please sign in to comment.