Skip to content

[Feature] Support non pull_request event trigger #30

[Feature] Support non pull_request event trigger

[Feature] Support non pull_request event trigger #30

name: Auto Assign to Project(s)
on:
issues:
types: [opened]
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
jobs:
assign_one_project:
runs-on: ubuntu-latest
name: Assign to One Project
steps:
- name: Assign NEW issues and NEW pull requests to project 2
uses: srggrs/[email protected]
if: github.event.action == 'opened'
with:
project: 'https://github.com/cla-assistant/github-action/projects/2'