Skip to content

Commit 25f7917

Browse files
authored
Change name of environment variable (#20)
1 parent 8a21b2e commit 25f7917

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

.env

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,4 +19,4 @@ APP_SECRET=15078edafb89d34aa3a47296a484ac03
1919
#TRUSTED_PROXIES=127.0.0.0/8,10.0.0.0/8,172.16.0.0/12,192.168.0.0/16
2020
#TRUSTED_HOSTS='^(localhost|example\.com)$'
2121
###< symfony/framework-bundle ###
22-
GITHUB_TOKEN=null
22+
CUSTOM_GITHUB_TOKEN=null

.github/workflows/issues.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -24,5 +24,5 @@ jobs:
2424

2525
- name: Open issues
2626
env:
27-
GITHUB_TOKEN: ${{ secrets.CUSTOM_GITHUB_TOKEN }}
27+
CUSTOM_GITHUB_TOKEN: ${{ secrets.CUSTOM_GITHUB_TOKEN }}
2828
run: bin/console app:open-issues

.github/workflows/website.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ jobs:
6868
6969
- name: Build website
7070
env:
71-
GITHUB_TOKEN: ${{ secrets.CUSTOM_GITHUB_TOKEN }}
71+
CUSTOM_GITHUB_TOKEN: ${{ secrets.CUSTOM_GITHUB_TOKEN }}
7272
run: |
7373
cd source
7474
bin/console app:build-website

config/packages/github_api.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ services:
33
arguments:
44
- '@Github\HttpClient\Builder'
55
calls:
6-
- ['authenticate', ['%env(GITHUB_TOKEN)%', null, 'access_token_header']]
6+
- ['authenticate', ['%env(CUSTOM_GITHUB_TOKEN)%', null, 'access_token_header']]
77

88
Github\HttpClient\Builder:
99
arguments:

0 commit comments

Comments
 (0)