Update release-drafter/release-drafter action to v6 #92
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Copyright (C) Nicolas Lamirault <[email protected]> | |
# | |
# This Source Code Form is subject to the terms of the Mozilla Public | |
# License, v. 2.0. If a copy of the MPL was not distributed with this | |
# file, You can obtain one at https://mozilla.org/MPL/2.0/. | |
# | |
# SPDX-License-Identifier: MPL-2.0 | |
name: Project / Size PR | |
on: | |
pull_request: | |
types: [opened, synchronize] | |
jobs: | |
update_labels: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions-ecosystem/action-size@v2 | |
id: size | |
- uses: actions-ecosystem/action-remove-labels@v1 | |
with: | |
github_token: ${{ secrets.github_token }} | |
labels: ${{ steps.size.outputs.stale_labels }} | |
- uses: actions-ecosystem/action-add-labels@v1 | |
with: | |
github_token: ${{ secrets.github_token }} | |
labels: ${{ steps.size.outputs.new_label }} |