Skip to content

Commit ac9aec2

Browse files
authored
Merge pull request #6475 from github/jc/issue
update issue copy token in workflow
2 parents 133d385 + 640a6e3 commit ac9aec2

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

.github/workflows/copy-documentation-issue.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ jobs:
4040
new_issue_url="$(gh issue create --title "$ISSUE_TITLE" --body "$ISSUE_BODY" --repo github/api-platform --label "REST,openapi")"
4141
echo 'NEW_ISSUE='$new_issue_url >> $GITHUB_ENV
4242
env:
43-
GITHUB_TOKEN: ${{secrets.ISSUE_TRANSFER_TOKEN}}
43+
GITHUB_TOKEN: ${{secrets.REST_PUBLIC_ISSUE_COPY_TOKEN}}
4444
ISSUE_TITLE: ${{ github.event.issue.title }}
4545
ISSUE_BODY: ${{ github.event.issue.body }}
4646

@@ -50,7 +50,7 @@ jobs:
5050
:exclamation: When you close this issue, also comment on and close the original issue.
5151
:question: Was this issue something that could have been caught by a linter? If so, suggest a new rule in [#api-platform](https://github.slack.com/archives/C1042T6MS)."
5252
env:
53-
GITHUB_TOKEN: ${{secrets.ISSUE_TRANSFER_TOKEN}}
53+
GITHUB_TOKEN: ${{secrets.REST_PUBLIC_ISSUE_COPY_TOKEN}}
5454
NEW_ISSUE: ${{ env.NEW_ISSUE }}
5555
OLD_ISSUE: ${{ github.event.issue.html_url }}
5656
PRIORITY: ${{ steps.priority.outputs.result }}

.github/workflows/copy-feature-issue.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ jobs:
3535
new_issue_url="$(gh issue create --title "$ISSUE_TITLE" --body "$ISSUE_BODY" --repo github/api-platform)"
3636
echo 'NEW_ISSUE='$new_issue_url >> $GITHUB_ENV
3737
env:
38-
GITHUB_TOKEN: ${{secrets.ISSUE_TRANSFER_TOKEN}}
38+
GITHUB_TOKEN: ${{secrets.REST_PUBLIC_ISSUE_COPY_TOKEN}}
3939
ISSUE_TITLE: ${{ github.event.issue.title }}
4040
ISSUE_BODY: ${{ github.event.issue.body }}
4141

@@ -45,7 +45,7 @@ jobs:
4545
4646
:exclamation: When you close this issue, please also comment on and close the original issue."
4747
env:
48-
GITHUB_TOKEN: ${{secrets.ISSUE_TRANSFER_TOKEN}}
48+
GITHUB_TOKEN: ${{secrets.REST_PUBLIC_ISSUE_COPY_TOKEN}}
4949
NEW_ISSUE: ${{ env.NEW_ISSUE }}
5050
OLD_ISSUE: ${{ github.event.issue.html_url }}
5151
PRIORITY: ${{ steps.priority.outputs.result }}

0 commit comments

Comments
 (0)