File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -100,6 +100,8 @@ jobs:
100100
101101 argocd :
102102 if : github.event_name == 'release' || (github.event_name == 'push' && github.ref == 'refs/heads/main')
103+ permissions :
104+ contents : write
103105 runs-on : ubuntu-latest
104106 needs : build
105107 steps :
@@ -115,20 +117,20 @@ jobs:
115117 - name : Trigger workflow in tibiadata-argocd-app-of-apps repo
116118 uses : peter-evans/repository-dispatch@v3
117119 with :
118- token : ${{ secrets.REPO_ACCESS_TOKEN }}
119120 repository : TibiaData/tibiadata-argocd-app-of-apps
120121 event-type : bump-tibiadata-api-go-image-sha
121122 client-payload : ' {"docker_digest": "${{ needs.build.outputs.docker_build_digest }}", "subdomain": "${{ steps.determine_deployment.outputs.subdomain }}"}'
122123
123124 helm-chart :
124125 if : github.event_name == 'release'
126+ permissions :
127+ contents : write
125128 runs-on : ubuntu-latest
126129 needs : build
127130 steps :
128131 - name : Trigger workflow in tibiadata-helm-charts repo
129132 uses : peter-evans/repository-dispatch@v3
130133 with :
131- token : ${{ secrets.REPO_ACCESS_TOKEN }}
132134 repository : TibiaData/tibiadata-helm-charts
133135 event-type : bump-helm-chart-release
134136 client-payload : ' {"chart_name": "${{ github.event.repository.name }}", "release_version": "${{ needs.build.outputs.docker_meta_version }}"}'
You can’t perform that action at this time.
0 commit comments