Generoidaan pyhäpäivät sen sijaan että pidettäisiin niitä tietokannassa #228
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
# SPDX-FileCopyrightText: 2017-2024 City of Espoo | |
# | |
# SPDX-License-Identifier: LGPL-2.1-or-later | |
name: 'Validate PR labels' | |
on: | |
pull_request: | |
types: | |
- labeled | |
- unlabeled | |
- opened | |
- reopened | |
- ready_for_review | |
- synchronize | |
jobs: | |
validate-labels: | |
if: ${{ github.event.pull_request.state == 'open' && !github.event.pull_request.draft }} | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- run: | | |
echo '${{ toJSON(github.event.pull_request.labels[*].name) }}' | bin/validate-labels.js |