File tree Expand file tree Collapse file tree 1 file changed +6
-17
lines changed Expand file tree Collapse file tree 1 file changed +6
-17
lines changed Original file line number Diff line number Diff line change @@ -16,20 +16,9 @@ permissions:
16
16
17
17
jobs :
18
18
add-to-project :
19
- name : Add to project
20
- runs-on : ubuntu-latest
21
- steps :
22
- - name : Add issue or PR to project board
23
- uses : actions/add-to-project@v1.0.2
24
- with :
25
- project-url : https://github.com/orgs/seedcase-project/projects/18
26
- github-token : ${{ secrets.ADD_TO_BOARD }}
27
-
28
- - name : Assign PR to creator
29
- if : ${{ github.event_name == 'pull_request' }}
30
- run : |
31
- gh pr edit $PR --add-assignee $AUTHOR
32
- env :
33
- AUTHOR : ${{ github.event.pull_request.user.login }}
34
- PR : ${{ github.event.pull_request.html_url }}
35
- GH_TOKEN : ${{ secrets.GITHUB_TOKEN }}
19
+ uses : seedcase-project/.github/.github/workflows/reusable-add-to-project.yml@main
20
+ with :
21
+ board-number : 18
22
+ secrets :
23
+ add-to-board-token : ${{ secrets.ADD_TO_BOARD }}
24
+ gh-token : ${{ secrets.GITHUB_TOKEN }}
You can’t perform that action at this time.
0 commit comments