Merge pull request #6413 from turrisxyz/Pinned-Dependencies-GitHub

This commit is contained in:
Hugo van Kemenade 2022-07-08 17:39:57 +03:00 committed by GitHub
commit f3547d8507
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
9 changed files with 37 additions and 0 deletions

View File

@ -2,6 +2,9 @@ name: Lint
on: [push, pull_request, workflow_dispatch]
permissions:
contents: read
jobs:
build:

View File

@ -7,8 +7,14 @@ on:
- main
workflow_dispatch:
permissions:
contents: read
jobs:
update_release_draft:
permissions:
contents: write # for release-drafter/release-drafter to create a github release
pull-requests: write # for release-drafter/release-drafter to add label to PR
if: github.repository == 'python-pillow/Pillow'
runs-on: ubuntu-latest
steps:

View File

@ -99,6 +99,8 @@ jobs:
name: Cygwin Python 3.${{ matrix.python-minor-version }}
success:
permissions:
contents: none
needs: build
runs-on: ubuntu-latest
name: Cygwin Test Successful

View File

@ -2,6 +2,9 @@ name: Test Docker
on: [push, pull_request, workflow_dispatch]
permissions:
contents: read
jobs:
build:
@ -82,6 +85,8 @@ jobs:
name: ${{ matrix.docker }}
success:
permissions:
contents: none
needs: build
runs-on: ubuntu-latest
name: Docker Test Successful

View File

@ -2,6 +2,9 @@ name: Test MinGW
on: [push, pull_request, workflow_dispatch]
permissions:
contents: read
jobs:
build:
runs-on: windows-latest
@ -77,6 +80,8 @@ jobs:
CODECOV_NAME: ${{ matrix.name }}
success:
permissions:
contents: none
needs: build
runs-on: ubuntu-latest
name: MinGW Test Successful

View File

@ -13,6 +13,9 @@ on:
- "**.h"
workflow_dispatch:
permissions:
contents: read
jobs:
build:

View File

@ -2,6 +2,9 @@ name: Test Windows
on: [push, pull_request, workflow_dispatch]
permissions:
contents: read
jobs:
build:
runs-on: windows-latest
@ -189,6 +192,8 @@ jobs:
path: dist\*.whl
success:
permissions:
contents: none
needs: build
runs-on: ubuntu-latest
name: Windows Test Successful

View File

@ -2,6 +2,9 @@ name: Test
on: [push, pull_request, workflow_dispatch]
permissions:
contents: read
jobs:
build:
@ -109,6 +112,8 @@ jobs:
CODECOV_NAME: ${{ matrix.os }} Python ${{ matrix.python-version }}
success:
permissions:
contents: none
needs: build
runs-on: ubuntu-latest
name: Test Successful

View File

@ -12,6 +12,9 @@ on:
- ".github/workflows/tidelift.yml"
workflow_dispatch:
permissions:
contents: read
jobs:
build:
if: github.repository_owner == 'python-pillow'