Skip to content

Commit 09c417c

Browse files
committed
ci: fix token
1 parent 841ed71 commit 09c417c

File tree

2 files changed

+8
-7
lines changed

2 files changed

+8
-7
lines changed

.github/workflows/nightly.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -53,14 +53,14 @@ jobs:
5353
tag: "latest"
5454
message: "Automated tag for HEAD commit"
5555
force_push_tag: true
56-
github_token: ${{ secrets.PAT }}
56+
github_token: ${{ github.token }}
5757
tag_exists_error: false
5858

5959
- name: Generate Changelog
6060
id: changelog
6161
uses: requarks/changelog-action@v1
6262
with:
63-
token: ${{ secrets.PAT }}
63+
token: ${{ github.token }}
6464
toTag: "nightly"
6565
fromTag: "latest"
6666
writeToFile: false
@@ -84,7 +84,7 @@ jobs:
8484
tag_name: "nightly"
8585
delete_release: true
8686
env:
87-
GITHUB_TOKEN: ${{ secrets.PAT }}
87+
GITHUB_TOKEN: ${{ github.token }}
8888

8989
- name: Get checksum
9090
id: checksum
@@ -124,4 +124,4 @@ jobs:
124124
files: |
125125
${{ github.workspace }}/temp/**/*.apk
126126
env:
127-
GITHUB_TOKEN: ${{ secrets.PAT }}
127+
GITHUB_TOKEN: ${{ github.token }}

.github/workflows/publish.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -86,8 +86,9 @@ jobs:
8686
tag: "latest"
8787
message: "Automated tag for HEAD commit"
8888
force_push_tag: true
89-
github_token: ${{ secrets.PAT }}
89+
github_token: ${{ github.token }}
9090
tag_exists_error: false
91+
9192
- name: Get latest release
9293
id: latest_release
9394
uses: kaliber5/action-get-release@v1
@@ -99,7 +100,7 @@ jobs:
99100
id: changelog
100101
uses: requarks/changelog-action@v1
101102
with:
102-
token: ${{ secrets.PAT }}
103+
token: ${{ github.token }}
103104
toTag: ${{ steps.latest_release.outputs.tag_name }}
104105
fromTag: "latest"
105106
writeToFile: false
@@ -161,7 +162,7 @@ jobs:
161162
files: |
162163
${{ github.workspace }}/temp/**/*.apk
163164
env:
164-
GITHUB_TOKEN: ${{ secrets.PAT }}
165+
GITHUB_TOKEN: ${{ github.token }}
165166

166167
publish-fdroid-public:
167168
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)