Skip to content

Commit

Permalink
Update assign-project.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
Alfagun74 authored Jul 8, 2023
1 parent 21c0445 commit 34d77fa
Showing 1 changed file with 8 additions and 12 deletions.
20 changes: 8 additions & 12 deletions .github/workflows/assign-project.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,20 +2,16 @@ name: Auto Assign to Project(s)

on:
issues:
types: [opened]
types: [opened,reopened]
pull_request:
types: [opened]
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
MY_GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
types: [opened,reopened]

jobs:
assign_one_project:
add-to-project:
name: Add issue to project
runs-on: ubuntu-latest
name: Assign to Project
steps:
- name: Assign new issues and pull requests to project
uses: srggrs/[email protected]
with:
project: 'https://github.com/orgs/Phalcode/projects/2'
column_name: 'Todo Frontend'
- uses: actions/add-to-project@RELEASE_VERSION
with:
project-url: https://github.com/orgs/Phalcode/projects/2
github-token: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit 34d77fa

Please sign in to comment.