Skip to content

Commit 7d337d7

Browse files
authored
Update documentation issue workflow
* rename file * copy to api-platform instead of docs-content * update comments
1 parent 50df97e commit 7d337d7

File tree

1 file changed

+9
-8
lines changed

1 file changed

+9
-8
lines changed

.github/workflows/copy-to-docs.yml renamed to .github/workflows/copy-documentation-issue.yml

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,10 @@
1-
# For issues that should be fixed by the docs team,
2-
# this workflow copies the issue to the docs-content repo
3-
# when the `documentation` label is added
4-
# (we do not transfer so that the issue does not disappear for the contributor)
1+
# When the `documentation` label is added for documentation issues,
2+
# this workflow copies the issue to the API team repo which can then
3+
# be transferred to the feature team that owns the problem endpoint
4+
# so they can resolve the documentation problem
5+
# (we do not transfer the original issue so that the issue does not disappear for the contributor)
56

6-
name: Copy to docs-content
7+
name: Copy documentation issue
78

89
on:
910
issues:
@@ -12,7 +13,7 @@ on:
1213

1314
jobs:
1415
copy-issue:
15-
name: Copy issue
16+
name: Copy documentation issue
1617
runs-on: ubuntu-latest
1718
if: github.event.label.name == 'documentation'
1819
steps:
@@ -32,9 +33,9 @@ jobs:
3233
}
3334
return priority
3435
35-
- name: Create an issue in the docs-content repo
36+
- name: Create an issue in the api-platform repo
3637
run: |
37-
new_issue_url="$(gh issue create --title "$ISSUE_TITLE" --body "$ISSUE_BODY" --repo github/docs-content --label "REST,OpenAPI")"
38+
new_issue_url="$(gh issue create --title "$ISSUE_TITLE" --body "$ISSUE_BODY" --repo github/api-platform --label "REST,OpenAPI")"
3839
echo 'NEW_ISSUE='$new_issue_url >> $GITHUB_ENV
3940
env:
4041
GITHUB_TOKEN: ${{secrets.ISSUE_TRANSFER_TOKEN}}

0 commit comments

Comments
 (0)