Spaces:
Running
Running
build: give write access to create tag (#112)
Browse files
.github/workflows/cicd.yaml
CHANGED
@@ -102,7 +102,7 @@ jobs:
|
|
102 |
|
103 |
permissions:
|
104 |
id-token: write
|
105 |
-
contents:
|
106 |
|
107 |
steps:
|
108 |
- uses: actions/checkout@v4
|
@@ -160,8 +160,6 @@ jobs:
|
|
160 |
echo "NEW_TAG=${NEW_TAG}" >> $GITHUB_ENV
|
161 |
|
162 |
- name: Push new tag
|
163 |
-
env:
|
164 |
-
GH_TOKEN: ${{ secrets.REPO_ACCESS_TOKEN }}
|
165 |
run: |
|
166 |
git tag $NEW_TAG
|
167 |
git push origin $NEW_TAG
|
|
|
102 |
|
103 |
permissions:
|
104 |
id-token: write
|
105 |
+
contents: write
|
106 |
|
107 |
steps:
|
108 |
- uses: actions/checkout@v4
|
|
|
160 |
echo "NEW_TAG=${NEW_TAG}" >> $GITHUB_ENV
|
161 |
|
162 |
- name: Push new tag
|
|
|
|
|
163 |
run: |
|
164 |
git tag $NEW_TAG
|
165 |
git push origin $NEW_TAG
|
.github/workflows/prod-deploy.yml
CHANGED
@@ -54,7 +54,7 @@ jobs:
|
|
54 |
|
55 |
permissions:
|
56 |
id-token: write
|
57 |
-
contents:
|
58 |
|
59 |
steps:
|
60 |
- uses: actions/checkout@v4
|
@@ -120,8 +120,6 @@ jobs:
|
|
120 |
echo "NEW_TAG=${NEW_TAG}" >> $GITHUB_ENV
|
121 |
|
122 |
- name: Push new tag
|
123 |
-
env:
|
124 |
-
GH_TOKEN: ${{ secrets.REPO_ACCESS_TOKEN }}
|
125 |
run: |
|
126 |
git tag $NEW_TAG
|
127 |
git push origin $NEW_TAG
|
|
|
54 |
|
55 |
permissions:
|
56 |
id-token: write
|
57 |
+
contents: write
|
58 |
|
59 |
steps:
|
60 |
- uses: actions/checkout@v4
|
|
|
120 |
echo "NEW_TAG=${NEW_TAG}" >> $GITHUB_ENV
|
121 |
|
122 |
- name: Push new tag
|
|
|
|
|
123 |
run: |
|
124 |
git tag $NEW_TAG
|
125 |
git push origin $NEW_TAG
|