1
0
mirror of synced 2026-01-08 12:01:53 -05:00

use GH_REPO instead of --repo and REPO (#29826)

Co-authored-by: hubwriter <hubwriter@github.com>
This commit is contained in:
Jacob Hummer
2023-11-27 07:03:27 -06:00
committed by GitHub
parent 7acce4d01d
commit 4067d9b5ca

View File

@@ -43,11 +43,11 @@ In the tutorial, you will first make a workflow file that uses the `gh issue com
issues: write
steps:
- name: Add comment
run: gh issue comment "$NUMBER" --repo "$REPO" --body "$BODY"
run: gh issue comment "$NUMBER" --body "$BODY"
env:
GITHUB_TOKEN: {% raw %}${{ secrets.GITHUB_TOKEN }}{% endraw %}
GH_REPO: {% raw %}${{ github.repository }}{% endraw %}
NUMBER: {% raw %}${{ github.event.issue.number }}{% endraw %}
REPO: {% raw %}${{ github.repository }}{% endraw %}
BODY: >
This issue is available for anyone to work on.
**Make sure to reference this issue in your pull request.**