mirror of
https://github.com/joaquinjsb/gitea-release-please-action
synced 2026-05-13 15:31:40 +02:00
ci: update permissions for release-please workflow
This commit is contained in:
5
.github/workflows/release-please.yaml
vendored
5
.github/workflows/release-please.yaml
vendored
@@ -3,6 +3,9 @@ on:
|
|||||||
branches:
|
branches:
|
||||||
- main
|
- main
|
||||||
workflow_dispatch:
|
workflow_dispatch:
|
||||||
|
permissions:
|
||||||
|
contents: write
|
||||||
|
pull-requests: write
|
||||||
name: release-please
|
name: release-please
|
||||||
env:
|
env:
|
||||||
ACTION_NAME: gitea-release-please-action
|
ACTION_NAME: gitea-release-please-action
|
||||||
@@ -49,7 +52,7 @@ jobs:
|
|||||||
run: |
|
run: |
|
||||||
git config user.name github-actions[bot]
|
git config user.name github-actions[bot]
|
||||||
git config user.email 41898282+github-actions[bot]@users.noreply.github.com
|
git config user.email 41898282+github-actions[bot]@users.noreply.github.com
|
||||||
git remote add gh-token "https://${{ secrets.GITHUB_TOKEN}}@github.com/joaquinjsb/release-please-action.git"
|
git remote add gh-token "https://${{ secrets.GITHUB_TOKEN}}@github.com/joaquinjsb/gitea-release-please-action.git"
|
||||||
git tag -d v${{ steps.release.outputs.major }} || true
|
git tag -d v${{ steps.release.outputs.major }} || true
|
||||||
git tag -d v${{ steps.release.outputs.major }}.${{ steps.release.outputs.minor }} || true
|
git tag -d v${{ steps.release.outputs.major }}.${{ steps.release.outputs.minor }} || true
|
||||||
git push origin :v${{ steps.release.outputs.major }} || true
|
git push origin :v${{ steps.release.outputs.major }} || true
|
||||||
|
|||||||
Reference in New Issue
Block a user