From d2d4d601781d7ca4d09517fc1252afdc9675543f Mon Sep 17 00:00:00 2001 From: Martin Hjelmare Date: Tue, 13 Sep 2022 08:50:57 +0200 Subject: [PATCH] Pin github actions (#7) --- .github/workflows/publish-to-pypi.yml | 4 ++-- .github/workflows/release-drafter.yml | 2 +- .github/workflows/test.yml | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/publish-to-pypi.yml b/.github/workflows/publish-to-pypi.yml index 41a8e9e..cbac5cd 100644 --- a/.github/workflows/publish-to-pypi.yml +++ b/.github/workflows/publish-to-pypi.yml @@ -11,7 +11,7 @@ jobs: steps: - uses: actions/checkout@v3.0.2 - name: Set up Python 3.9 - uses: actions/setup-python@v4.0.0 + uses: actions/setup-python@v4.2.0 with: python-version: 3.9 - name: Install build @@ -21,7 +21,7 @@ jobs: run: >- python3 -m build - name: Publish release to PyPI - uses: pypa/gh-action-pypi-publish@release/v1 + uses: pypa/gh-action-pypi-publish@v1.5.1 with: user: __token__ password: ${{ secrets.PYPI_TOKEN }} diff --git a/.github/workflows/release-drafter.yml b/.github/workflows/release-drafter.yml index c3eb58f..07b9b26 100644 --- a/.github/workflows/release-drafter.yml +++ b/.github/workflows/release-drafter.yml @@ -10,6 +10,6 @@ jobs: runs-on: ubuntu-latest steps: # Drafts your next Release notes as Pull Requests are merged into "master" - - uses: release-drafter/release-drafter@v5 + - uses: release-drafter/release-drafter@v5.20.1 env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index c8de5ac..7fac7bb 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -23,7 +23,7 @@ jobs: with: fetch-depth: 2 - name: Set up Python ${{ matrix.python-version }} - uses: actions/setup-python@v4.0.0 + uses: actions/setup-python@v4.2.0 with: python-version: ${{ matrix.python-version }} - name: Install dependencies