We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 65b9423 commit 4907886Copy full SHA for 4907886
.github/workflows/tox.yml
@@ -115,6 +115,7 @@ jobs:
115
if: always()
116
permissions:
117
pull-requests: write # allow codenotify to comment on pull-request
118
+ deployments: write # allow for cleanup
119
120
needs:
121
- build
@@ -136,11 +137,7 @@ jobs:
136
137
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
138
# https://github.com/sourcegraph/codenotify/issues/19
139
continue-on-error: true
- delete_github_deployments:
140
- runs-on: ubuntu-latest
141
- needs: check
142
- if: ${{ always() }}
143
- steps:
+
144
- name: Delete Previous deployments
145
uses: actions/github-script@v6
146
env:
0 commit comments