Skip to content

Commit

Permalink
hotfix/use correct github token env var (#10)
Browse files Browse the repository at this point in the history
# Fixed
- use correct github token env var

---------

Signed-off-by: Nicolas Drebenstedt <[email protected]>
  • Loading branch information
cutoffthetop authored Mar 13, 2024
1 parent a3eb747 commit 373c139
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/reviewing.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
steps:
- name: Add assignee
env:
GITHUB_TOKEN: ${{ secrets.WORKFLOW_TOKEN }}
GH_TOKEN: ${{ secrets.WORKFLOW_TOKEN }}
run: |
user_name="${{ github.event.pull_request.user.login }}"
user_type=$(gh api "users/${user_name}" --jq ".type")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ jobs:
- name: Update template
env:
{% raw %}GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}{% endraw %}
{% raw %}GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}{% endraw %}
run: |
{% raw -%}
if cruft check; then
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
steps:
- name: Add assignee
env:
{% raw %}GITHUB_TOKEN: ${{ secrets.WORKFLOW_TOKEN }}{% endraw %}
{% raw %}GH_TOKEN: ${{ secrets.WORKFLOW_TOKEN }}{% endraw %}
run: |
{% raw -%}
user_name="${{ github.event.pull_request.user.login }}"
Expand Down

0 comments on commit 373c139

Please sign in to comment.