We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 21fec75 commit c0a09bdCopy full SHA for c0a09bd
1 file changed
.github/workflows/remote_release.yml
@@ -0,0 +1,30 @@
1
+name: Remote Tagging
2
+
3
+on:
4
+ repository_dispatch:
5
+ types: [update-tag]
6
7
+permissions:
8
+ contents: write
9
+ repository-projects: write
10
11
+jobs:
12
+ submodule:
13
+ name: Update submodule and create tag
14
+ runs-on: Ubuntu-latest
15
+ steps:
16
+ - name: Checkout
17
+ uses: actions/checkout@v3
18
+ with:
19
+ fetch-depth: 0 # otherwise, there would be errors pushing refs to the destination repository.
20
21
+ - name: Create tag
22
+ run: git tag ${{ github.event.client_payload.tag }}
23
24
+ - name: GitHub Push
25
+ uses: ad-m/github-push-action@v0.6.0
26
27
+ # Token for the repo. Can be passed in using $\{{ secrets.GITHUB_TOKEN }}
28
+ github_token: ${{ secrets.MACHINE_USER_PAT }}
29
+ # Determines if --tags is used
30
+ tags: true
0 commit comments