print github token

Signed-off-by: Shakar <5h4k4r.b4kr@gmail.com>
This commit is contained in:
Shakar 2023-09-18 15:02:30 +03:00
parent dea55b985d
commit 35faf1fbb8
No known key found for this signature in database
GPG Key ID: DA55A26823AE3C28
2 changed files with 5 additions and 2 deletions

View File

@ -22,6 +22,9 @@ jobs:
- name: Install dependencies
run: npm install
- name: Print GitHub token
run: echo ${{ secrets.GITHUB_TOKEN }}
- name: Hello world action step
uses: ./
id: hello

View File

@ -99,8 +99,8 @@ async function commitChanges(filePath) {
},
{
headers: {
Accept: 'application/vnd.github.v3+json',
Authorization: `Bearer ${githubToken}`,
'Accept': 'application/vnd.github.v3+json',
'Authorization': `Bearer ${githubToken}`,
},
}
);