Skip to content

Does this best practice? #108

Does this best practice?

Does this best practice? #108

name: Auto Assign to Project(s)
on:
issues:
types: [opened, labeled]
pull_request:
types: [opened, labeled]
env:
GITHUB_TOKEN: ${{ secrets.MY_GITHUB_TOKEN }}
jobs:
assign_one_project:
runs-on: ubuntu-latest
name: Assign to One Project
steps:
- name: Assign NEW issues project 4
uses: srggrs/[email protected]
if: github.event.action == 'opened' || contains(github.event.issue.labels.*.name, 'java-fundamentals')
with:
project: 'https://github.com/bobocode-projects/java-fundamentals-exercises/projects/4'