Skip to content

Commit 6bae801

Browse files
Update remote_release.yml
1 parent b16b6b7 commit 6bae801

1 file changed

Lines changed: 7 additions & 6 deletions

File tree

.github/workflows/remote_release.yml

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,10 @@ name: Remote Tagging
33
on:
44
repository_dispatch:
55
types: [update-tag]
6+
7+
permissions:
8+
contents: write
9+
repository-projects: write
610

711
jobs:
812
submodule:
@@ -14,12 +18,9 @@ jobs:
1418
with:
1519
fetch-depth: 0 # otherwise, there would be errors pushing refs to the destination repository.
1620

17-
- name: Update submodule and push with tag
18-
run: |
19-
git config --local user.email "41898282+github-actions[bot]@users.noreply.github.com"
20-
git config --local user.name "github-actions[bot]"
21-
git tag ${{ github.event.client_payload.tag }}
22-
21+
- name: Create tag
22+
run: git tag ${{ github.event.client_payload.tag }}
23+
2324
- name: GitHub Push
2425
uses: ad-m/github-push-action@v0.6.0
2526
with:

0 commit comments

Comments
 (0)