File tree Expand file tree Collapse file tree 1 file changed +4
-0
lines changed Expand file tree Collapse file tree 1 file changed +4
-0
lines changed Original file line number Diff line number Diff line change 43
43
- name : Definition of build arguments
44
44
run : |
45
45
echo MANGOS_SHA1="$(curl -sSL https://api.github.com/repos/cmangos/mangos-${{ inputs.expansion }}/commits/master \
46
+ -H 'Authorization: Bearer ${{ secrets.GITHUB_TOKEN }}' \
46
47
-H "Accept: application/vnd.github.VERSION.sha")" >> "${GITHUB_ENV}" && \
47
48
echo DATABASE_SHA1="$(curl -sSL https://api.github.com/repos/cmangos/${{ inputs.expansion }}-db/commits/master \
49
+ -H 'Authorization: Bearer ${{ secrets.GITHUB_TOKEN }}' \
48
50
-H "Accept: application/vnd.github.VERSION.sha")" >> "${GITHUB_ENV}" && \
49
51
\
50
52
echo TIMESTAMP="$(date -u +"%Y-%m-%dT%H:%M:%SZ")" >> "${GITHUB_ENV}" && \
@@ -122,8 +124,10 @@ jobs:
122
124
- name : Definition of build arguments
123
125
run : |
124
126
echo MANGOS_SHA1="$(curl -sSL https://api.github.com/repos/cmangos/mangos-${{ inputs.expansion }}/commits/master \
127
+ -H 'Authorization: Bearer ${{ secrets.GITHUB_TOKEN }}' \
125
128
-H "Accept: application/vnd.github.VERSION.sha")" >> "${GITHUB_ENV}" && \
126
129
echo DATABASE_SHA1="$(curl -sSL https://api.github.com/repos/cmangos/${{ inputs.expansion }}-db/commits/master \
130
+ -H 'Authorization: Bearer ${{ secrets.GITHUB_TOKEN }}' \
127
131
-H "Accept: application/vnd.github.VERSION.sha")" >> "${GITHUB_ENV}" && \
128
132
\
129
133
echo TIMESTAMP="$(date -u +"%Y-%m-%dT%H:%M:%SZ")" >> "${GITHUB_ENV}" && \
You can’t perform that action at this time.
0 commit comments