Skip to content

Commit aa1fa0b

Browse files
authored
Fix environement variable name for gh cli (JabRef#12029)
1 parent bbea664 commit aa1fa0b

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

.github/workflows/automerge.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -10,13 +10,13 @@ jobs:
1010
runs-on: ubuntu-latest
1111
# Run only if PR is inside JabRef's main repository and created by dependabot or by an update workflow
1212
if: >
13-
(github.repository == 'JabRef/jabref') &&
13+
(github.repository == 'JabRef/jabref') &&
1414
(github.event.pull_request.head.repo.full_name == 'JabRef/jabref') &&
1515
(
1616
(github.actor == 'dependabot[bot]') ||
1717
(
18-
startsWith(github.event.pull_request.title, '[Bot] ') ||
19-
startsWith(github.event.pull_request.title, 'Bump ') ||
18+
startsWith(github.event.pull_request.title, '[Bot] ') ||
19+
startsWith(github.event.pull_request.title, 'Bump ') ||
2020
startsWith(github.event.pull_request.title, 'New Crowdin updates') ||
2121
startsWith(github.event.pull_request.title, 'Update Gradle Wrapper from')
2222
)
@@ -26,9 +26,9 @@ jobs:
2626
run: gh pr review --approve "$PR_URL"
2727
env:
2828
PR_URL: ${{github.event.pull_request.html_url}}
29-
GITHUB_TOKEN: ${{secrets.GH_TOKEN_JABREF_MACHINE_PR_APPROVE}}
29+
GH_TOKEN: ${{secrets.GH_TOKEN_JABREF_MACHINE_PR_APPROVE}}
3030
- name: Merge PR
3131
run: gh pr merge --auto --squash "$PR_URL"
3232
env:
3333
PR_URL: ${{github.event.pull_request.html_url}}
34-
GITHUB_TOKEN: ${{secrets.GH_TOKEN_UPDATE_GRADLE_WRAPPER}}
34+
GH_TOKEN: ${{secrets.GH_TOKEN_UPDATE_GRADLE_WRAPPER}}

.github/workflows/on-review-submitted.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,4 +14,4 @@ jobs:
1414
gh pr edit "$PR_URL" --add-label "status: changes required"
1515
env:
1616
PR_URL: ${{github.event.pull_request.html_url}}
17-
GITHUB_TOKEN: ${{secrets.GH_TOKEN_UPDATE_GRADLE_WRAPPER}}
17+
GH_TOKEN: ${{secrets.GH_TOKEN_UPDATE_GRADLE_WRAPPER}}

0 commit comments

Comments
 (0)