Skip to content

Commit 9b7ef12

Browse files
authored
Merge pull request #1077 from actions/pallavx-patch-1
Introduce add-to-project step for new issues/PRs & rename workflow files
2 parents 4791017 + 3c08cab commit 9b7ef12

File tree

2 files changed

+12
-0
lines changed

2 files changed

+12
-0
lines changed

.github/workflows/assign-issue.yml renamed to .github/workflows/issue-opened-workflow.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,3 +14,9 @@ jobs:
1414
- name: add_assignees
1515
run: |
1616
curl -X POST -H "Accept: application/vnd.github+json" -H "Authorization: Bearer ${{ secrets.GITHUB_TOKEN}}" https://api.github.com/repos/${{github.repository}}/issues/${{ github.event.issue.number}}/assignees -d '{"assignees":["${{steps.oncall.outputs.CURRENT}}"]}'
17+
18+
- uses: actions/[email protected]
19+
name: Add to Project Board
20+
with:
21+
project-url: https://github.com/orgs/actions/projects/12
22+
github-token: ${{ secrets.CACHE_BOARD_TOKEN }}
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,3 +18,9 @@ jobs:
1818
- name: Add Assignee
1919
run: |
2020
curl -X POST -H "Accept: application/vnd.github+json" -H "Authorization: Bearer ${{ secrets.GITHUB_TOKEN}}" https://api.github.com/repos/${{github.repository}}/issues/${{ github.event.pull_request.number}}/assignees -d '{"assignees":["${{steps.oncall.outputs.CURRENT}}"]}'
21+
22+
- uses: actions/[email protected]
23+
name: Add to Project Board
24+
with:
25+
project-url: https://github.com/orgs/actions/projects/12
26+
github-token: ${{ secrets.CACHE_BOARD_TOKEN }}

0 commit comments

Comments
 (0)