Skip to content

Commit 4907886

Browse files
authored
Update tox.yml
1 parent 65b9423 commit 4907886

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

.github/workflows/tox.yml

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -115,6 +115,7 @@ jobs:
115115
if: always()
116116
permissions:
117117
pull-requests: write # allow codenotify to comment on pull-request
118+
deployments: write # allow for cleanup
118119

119120
needs:
120121
- build
@@ -136,11 +137,7 @@ jobs:
136137
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
137138
# https://github.com/sourcegraph/codenotify/issues/19
138139
continue-on-error: true
139-
delete_github_deployments:
140-
runs-on: ubuntu-latest
141-
needs: check
142-
if: ${{ always() }}
143-
steps:
140+
144141
- name: Delete Previous deployments
145142
uses: actions/github-script@v6
146143
env:

0 commit comments

Comments
 (0)