Skip to content

Commit c1ea9dd

Browse files
committed
fix(github-actions): publish workflow permissions
1 parent 2eaca01 commit c1ea9dd

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

.github/workflows/auto-tag.yml

+2
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,8 @@ jobs:
1717
steps:
1818
- name: Checkout repository
1919
uses: actions/checkout@v4
20+
with:
21+
token: ${{ secrets.CR_PAT }}
2022

2123
- name: Get version from deno.json
2224
id: get_version

.github/workflows/publish.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ jobs:
2929
with:
3030
registry: ${{ env.REGISTRY }}
3131
username: ${{ github.actor }}
32-
password: ${{ secrets.GITHUB_TOKEN }}
32+
password: ${{ secrets.CR_PAT }}
3333

3434
- name: Extract metadata (tags, labels) for Docker
3535
id: meta

0 commit comments

Comments
 (0)