Skip to content

fix: update almost all workflows. #1

fix: update almost all workflows.

fix: update almost all workflows. #1

---
# SPDX-FileCopyrightText: Jürgen Mülbert
#
# SPDX-License-Identifier: MIT
# This script assigns pull requests to projects
# based on their status and labels
name: "Auto Assign to Project(s)"
on: # yamllint disable-line rule:truthy
pull_request_target:
types: [opened, labeled]
on:

Check failure on line 15 in .github/workflows/assigned-pulls-todo.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/assigned-pulls-todo.yml

Invalid workflow file

You have an error in your yaml syntax on line 15
pull_request_target:
types: [opened, labeled]
permissions:
pull-requests: write
jobs:
assign_one_project:
runs-on: ubuntu-latest
name: Assign to One Project
steps:
- name: Assign NEW issues and NEW pull requests to project 11
uses: srggrs/assign-one-project-github-action@65a8ddab497df42ef268001e67bbf976f8fd39e1 # v1.3.1
if: github.event.action == 'opened'
with:
project: "11"
- name: Assign issues and pull requests with `bug` label to project 11
uses: srggrs/assign-one-project-github-action@65a8ddab497df42ef268001e67bbf976f8fd39e1 # v1.3.1
if: contains(github.event.pull_request.labels.*.name, 'bug')
with:
project: "11"
column_name: "Labeled"