Update config
This commit is contained in:
parent
36d89a69e8
commit
5bccda1102
11
.github/workflows/deploy.yml
vendored
11
.github/workflows/deploy.yml
vendored
|
@ -30,12 +30,14 @@ jobs:
|
||||||
# Upload to Test PyPI on every commit on main.
|
# Upload to Test PyPI on every commit on main.
|
||||||
release-test-pypi:
|
release-test-pypi:
|
||||||
name: Publish in-dev package to test.pypi.org
|
name: Publish in-dev package to test.pypi.org
|
||||||
if: github.event_name == 'push' && github.ref == 'refs/heads/main'
|
if: |
|
||||||
|
github.repository_owner == 'pylast'
|
||||||
|
&& github.event_name == 'push'
|
||||||
|
&& github.ref == 'refs/heads/main'
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
needs: build-package
|
needs: build-package
|
||||||
|
|
||||||
permissions:
|
permissions:
|
||||||
# IMPORTANT: this permission is mandatory for trusted publishing
|
|
||||||
id-token: write
|
id-token: write
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
|
@ -53,12 +55,13 @@ jobs:
|
||||||
# Upload to real PyPI on GitHub Releases.
|
# Upload to real PyPI on GitHub Releases.
|
||||||
release-pypi:
|
release-pypi:
|
||||||
name: Publish released package to pypi.org
|
name: Publish released package to pypi.org
|
||||||
if: github.event.action == 'published'
|
if: |
|
||||||
|
github.repository_owner == 'pylast'
|
||||||
|
&& github.event.action == 'published'
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
needs: build-package
|
needs: build-package
|
||||||
|
|
||||||
permissions:
|
permissions:
|
||||||
# IMPORTANT: this permission is mandatory for trusted publishing
|
|
||||||
id-token: write
|
id-token: write
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
|
|
3
.github/workflows/labels.yml
vendored
3
.github/workflows/labels.yml
vendored
|
@ -1,5 +1,8 @@
|
||||||
name: Sync labels
|
name: Sync labels
|
||||||
|
|
||||||
|
permissions:
|
||||||
|
pull-requests: write
|
||||||
|
|
||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
branches:
|
branches:
|
||||||
|
|
3
.github/workflows/lint.yml
vendored
3
.github/workflows/lint.yml
vendored
|
@ -2,6 +2,9 @@ name: Lint
|
||||||
|
|
||||||
on: [push, pull_request, workflow_dispatch]
|
on: [push, pull_request, workflow_dispatch]
|
||||||
|
|
||||||
|
env:
|
||||||
|
FORCE_COLOR: 1
|
||||||
|
|
||||||
permissions:
|
permissions:
|
||||||
contents: read
|
contents: read
|
||||||
|
|
||||||
|
|
1
.github/workflows/require-pr-label.yml
vendored
1
.github/workflows/require-pr-label.yml
vendored
|
@ -10,6 +10,7 @@ jobs:
|
||||||
|
|
||||||
permissions:
|
permissions:
|
||||||
issues: write
|
issues: write
|
||||||
|
pull-requests: write
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: mheap/github-action-required-labels@v5
|
- uses: mheap/github-action-required-labels@v5
|
||||||
|
|
Loading…
Reference in a new issue