mirror of
https://github.com/revanced/revanced-api.git
synced 2025-04-29 22:24:31 +02:00
ci: Use permissions and regular GitHub token instead of PAT
This commit is contained in:
parent
fde2857915
commit
87174eadd6
4
.github/workflows/release.yml
vendored
4
.github/workflows/release.yml
vendored
@ -12,7 +12,7 @@ jobs:
|
|||||||
name: Release
|
name: Release
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
permissions:
|
permissions:
|
||||||
contents: read
|
contents: write
|
||||||
packages: write
|
packages: write
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
@ -60,7 +60,7 @@ jobs:
|
|||||||
DOCKER_REGISTRY_USER: ${{ github.actor }}
|
DOCKER_REGISTRY_USER: ${{ github.actor }}
|
||||||
DOCKER_REGISTRY_PASSWORD: ${{ secrets.GITHUB_TOKEN }}
|
DOCKER_REGISTRY_PASSWORD: ${{ secrets.GITHUB_TOKEN }}
|
||||||
GITHUB_ACTOR: ${{ github.actor }}
|
GITHUB_ACTOR: ${{ github.actor }}
|
||||||
GITHUB_TOKEN: ${{ secrets.REPOSITORY_PUSH_ACCESS }}
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
run: npm exec semantic-release
|
run: npm exec semantic-release
|
||||||
|
|
||||||
- name: Set Portainer stack webhook URL based on branch
|
- name: Set Portainer stack webhook URL based on branch
|
||||||
|
Loading…
x
Reference in New Issue
Block a user