Skip to content

.github/workflows/assign-to-project.yml #3637

.github/workflows/assign-to-project.yml

.github/workflows/assign-to-project.yml #3637

name: Auto Assign to Project(s)
on:
issues:
types: [opened, labeled]
pull_request:
types: [opened, labeled]
issue_comment:
types: [created]
jobs:
assign_high_priority:
runs-on: ubuntu-latest
name: Assign to High Priority project
steps:
- name: Assign issues and pull requests with `priority: high` label to project 25

Check failure on line 16 in .github/workflows/assign-to-project.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/assign-to-project.yml

Invalid workflow file

You have an error in your yaml syntax on line 16
uses: srggrs/[email protected]
if: |
contains(github.event.issue.labels.*.name, 'priority: high') ||
contains(github.event.pull_request.labels.*.name, 'priority: high')
with:
project: 'https://github.com/ESCOMP/CTSM/projects/25'
column_name: 'Needs triage'