Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 0d45102

Browse files
committed
environments don't need to make a deployment now
1 parent 23b9ebe commit 0d45102

3 files changed

Lines changed: 7 additions & 5 deletions

File tree

.github/workflows/publish.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ jobs:
4949
runs-on: ubuntu-latest
5050
environment:
5151
name: pypi
52-
#url: <URL TO YOUR PROJECT HERE>
52+
deployment: false
5353
permissions:
5454
id-token: write # needed for publishing to PyPI
5555

.github/workflows/tests.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,7 @@ jobs:
7373
runs-on: ubuntu-latest
7474
environment:
7575
name: coverage
76+
deployment: false
7677

7778
steps:
7879
- name: "Check out the repo"

.pre-commit-config.yaml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -24,10 +24,11 @@ repos:
2424
hooks:
2525
- id: check-github-workflows
2626

27-
- repo: https://github.com/rhysd/actionlint
28-
rev: v1.7.11
29-
hooks:
30-
- id: actionlint
27+
# This doesn't understand environment/deployment yet:
28+
#- repo: https://github.com/rhysd/actionlint
29+
# rev: v1.7.11
30+
# hooks:
31+
# - id: actionlint
3132

3233
- repo: https://github.com/abravalheri/validate-pyproject
3334
rev: v0.25

0 commit comments

Comments
 (0)