Skip to content

Commit

Permalink
Merge pull request #35 from portefaix/feat/cicd-drafts
Browse files Browse the repository at this point in the history
Manage drafts PR
  • Loading branch information
nlamirault committed May 28, 2021
2 parents d9019b6 + adc48cd commit 2902c7f
Showing 1 changed file with 30 additions and 0 deletions.
30 changes: 30 additions & 0 deletions .github/workflows/draft-labels.yml
Original file line number Diff line number Diff line change
@@ -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 2902c7f

Please sign in to comment.