Skip to content

Commit 8d2f340

Browse files
feat: use a pat to push tags (#31)
* feat: change interval to daily Signed-off-by: Oliver Bähler <oliverbaehler@hotmail.com> * feat: use pat Signed-off-by: Oliver Bähler <oliverbaehler@hotmail.com> --------- Signed-off-by: Oliver Bähler <oliverbaehler@hotmail.com>
1 parent 8826467 commit 8d2f340

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

.github/workflows/daily-release.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,13 +9,16 @@ jobs:
99
runs-on: ubuntu-latest
1010
permissions:
1111
contents: write
12+
actions: write
1213
steps:
1314
- name: Checkout
1415
uses: actions/checkout@v4
1516
with:
1617
fetch-tags: true
1718
fetch-depth: 0
18-
19+
# Fine-grained PAT with contents:write and workflows:write
20+
# scopes
21+
token: ${{ secrets.WORKFLOW_TOKEN }}
1922
- name: Get latest tag from the repository
2023
id: repository
2124
run: echo "version=$(git describe --tags --abbrev=0)" >> $GITHUB_OUTPUT

0 commit comments

Comments
 (0)