Add issues to project backlog #3696
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) 2023 Contributors to the Eclipse Foundation | |
# | |
# This program and the accompanying materials are made available under the | |
# terms of the Apache License, Version 2.0 which is available at | |
# https://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. | |
# | |
# SPDX-License-Identifier: Apache-2.0 | |
name: Add issues to project backlog | |
on: | |
workflow_dispatch: | |
schedule: | |
- cron: '0 5-20 * * *' # At minute 0 past every hour from 5 through 20. | |
jobs: | |
add-issues: | |
runs-on: ubuntu-22.04 | |
env: | |
GITHUB_TOKEN: ${{ secrets.VELOCITAS_PROJECT_TOKEN }} | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v3 | |
- name: Install GH CLI | |
uses: sersoft-gmbh/setup-gh-cli-action@v1 | |
with: | |
version: latest | |
- name: execute add issue python script | |
run: python src/project-issues.py --owner eclipse-velocitas --project "Velocitas Backlog" --allowed-labels bug question enhancement | |